recipes / finance
recipe · 9 fields

indigenous machinery purchase bill
extraction api.

A GST tax invoice for machinery bought by the firm from an Indian supplier.

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
Invoice numberinvoice_numberText—
Invoice dateinvoice_dateDate—
Seller firm nameseller_firm_nameName—
Seller addressseller_addressAddress—
Seller GST numberseller_gstinGSTIN—
Buyer firm namebuyer_firm_nameName—
Description of goodsdescription_of_goodsText—
Amount of invoice without GSTamount_without_gstAmount (₹)Taxable value
Amount of invoice with GSTamount_with_gstAmount (₹)Grand total
the api

a indigenous machinery purchase bill 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_machinery/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@machinery-bill.pdf
{ "status": "completed",
  "document_type": "machinery_bill",
  "fields": {
    "invoice_number": { "value": …, "status": "present", "page": 1 },
    "invoice_date": { "value": …, "status": "present", "page": 1 },
    "seller_firm_name": { "value": …, "status": "present", "page": 1 },
    "seller_address": { "value": …, "status": "present", "page": 1 },
    "seller_gstin": { "value": …, "status": "present", "page": 1 },
    … 4 more
  } }
more in finance