indigenous machinery purchase bill
extraction api.
A GST tax invoice for machinery bought by the firm from an Indian supplier.
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.
| field | key | type | notes |
|---|---|---|---|
| Invoice number | invoice_number | Text | — |
| Invoice date | invoice_date | Date | — |
| Seller firm name | seller_firm_name | Name | — |
| Seller address | seller_address | Address | — |
| Seller GST number | seller_gstin | GSTIN | — |
| Buyer firm name | buyer_firm_name | Name | — |
| Description of goods | description_of_goods | Text | — |
| Amount of invoice without GST | amount_without_gst | Amount (₹) | Taxable value |
| Amount of invoice with GST | amount_with_gst | Amount (₹) | Grand total |
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_YOUR_WORKFLOW_ID/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F [email protected]{
"object": "extraction",
"id": "ext_…",
"status": "succeeded",
"document_type": "machinery_bill",
"pages": …,
"credits": …,
"fields": {
"invoice_number": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
"invoice_date": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
"seller_firm_name": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
"seller_address": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
… 5 more
}
}asked often.
What does the Indigenous machinery purchase bill API extract?
9 fields: Invoice number, Invoice date, Seller firm name, Seller address, Seller GST number, Buyer firm name, Description of goods, Amount of invoice without GST and Amount of invoice with GST. 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.
How much does Indigenous machinery purchase bill 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 Indigenous machinery purchase bill 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).