recipes / finance
recipe · 5 fields

cancelled cheque
extraction api.

A cheque leaf marked cancelled; the account number and IFSC are printed on it, the account name usually above the signature.

use this recipeall recipesfrom ₹5 a document · 50 free credits
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
Name of accountaccount_nameName—
Account numberaccount_numberBank account number—
Name of bankbank_nameText—
BranchbranchText—
IFSCifscIFSC—
the api

a cancelled cheque 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_cancelled/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@cancelled-cheque.pdf
{ "status": "completed",
  "document_type": "cancelled_cheque",
  "fields": {
    "account_name": { "value": …, "status": "present", "page": 1 },
    "account_number": { "value": …, "status": "present", "page": 1 },
    "bank_name": { "value": …, "status": "present", "page": 1 },
    "branch": { "value": …, "status": "present", "page": 1 },
    "ifsc": { "value": …, "status": "present", "page": 1 }
  } }
more in finance