recipes / finance
recipe · 7 fields

loan account statement
extraction api.

A term-loan account statement showing disbursements and repayments.

try this recipeall recipesno sign-up to try · 1¢₹1 a page
what it reads

the fields.

Rename any of them, drop the ones you don't need, or add the one your form asks for. Each comes back with the text it was read from.

fieldkeytypenotes
Firm namefirm_nameNameBorrower
Loan account numberloan_account_numberBank account number—
Date of 1st disbursementfirst_disbursement_dateDate—
Amount of 1st disbursementfirst_disbursement_amountAmount (₹)—
Name of bankbank_nameText—
Branch namebranch_nameText—
Receipt amountoptionalreceipt_amountAmount (₹)—
the api

a loan account statement in,
json back.

Publish the recipe as a workflow and send it files. Each field returns its value, a clean normalised version, its status, the page and the source text.

curl https://api.patrapi.com/v1/workflows/wf_YOUR_WORKFLOW_ID/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F [email protected]
{
  "object": "extraction",
  "id": "ext_…",
  "status": "succeeded",
  "document_type": "loan_statement",
  "pages": …,
  "credits": …,
  "fields": {
    "firm_name": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "loan_account_number": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "first_disbursement_date": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "first_disbursement_amount": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    … 3 more
  }
}
questions

asked often.

What does the Loan account statement API extract?

7 fields: Firm name, Loan account number, Date of 1st disbursement, Amount of 1st disbursement, Name of bank, Branch name and Receipt amount. You can rename them, drop the ones you don't need or add your own before publishing.

What comes back for each field?

A JSON object with value, normalized, status, page, source_text and bbox. The status is one of present, not_present, unreadable, redacted and conflicting, so a value that is not on the document comes back as null instead of a guess.

Which Loan account statement fields are optional?

Receipt amount. When the document doesn't carry it, the field comes back with the status not_present and a null value.

How much does Loan account statement extraction cost?

1¢ a page (₹1 in India), and every page counts. Failed documents and repeats of the same file are free.

Can I test Loan account statement extraction for free?

Yes. You can try it without an account: 15 test runs on documents of up to 15 pages. A new account starts with 200 free pages, and the first 25 test and assistant runs on each workflow cost nothing (up to 100 a month per account).

more in finance