$ curl -F pdf=@senior-facilities-agreement.pdf $HEREIN_API/api/credit-agreement/
{
"facilities": [
{ "id": "facility-1",
"total_commitment": { "amount": "250000000", "currency": "EUR" },
"commitments": [
{ "lender_name": "Bank A",
"amount": { "amount": "60000000", "currency": "EUR" },
"share_pct": null },
…
] }
],
"extraction": {
"schema_version": "1.3",
"evidence": [
{ "path": "facilities[0]", "page": 214,
"snippet": "Schedule 1 | Commitment (EUR)", "read_by": "rules" }
],
"warnings": [],
"ledger": {
"gaps": [ { "page": 6, "section": 0, "kind": "percentage", "text": "1%" } ],
"complete": false
}
}
}
- evidence
- The page and passage a value was read from, and whether it was read by the parser
(
rules) or by a model.
- null
- Not found in the agreement. Missing values are never set to zero.
- warnings, ledger
- Problems found while reading, such as commitments that do not add up to
the stated total, and figures in the document that were not read into a field.