recipe · 9 fieldsgst registration certificate
gst registration certificate
extraction api.
Issued by the GST department. The first page has the registration number, legal and trade name, constitution, address and dates; an annexure lists additional places of business and partners. Also used for a property owner's GST certificate.
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.
| field | key | type | notes |
|---|---|---|---|
| GST Registration Number | gstin | GSTIN | — |
| Legal name | legal_name | Name | — |
| Trade nameoptional | trade_name | Name | — |
| Constitution of business | constitution | Text | e.g. Proprietorship, Partnership, Private Limited Company |
| Address line 1 | address_line_1 | Address | — |
| Address line 2optional | address_line_2 | Address | — |
| Area code | area_code | PIN code | PIN code |
| Date of Liability | date_of_liability | Date | — |
| Date of issue of Certificate | date_of_issue | Date | — |
the apia gst registration certificate in,
a gst registration certificate 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_gst/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@gst-certificate.pdf{ "status": "completed",
"document_type": "gst_certificate",
"fields": {
"gstin": { "value": …, "status": "present", "page": 1 },
"legal_name": { "value": …, "status": "present", "page": 1 },
"trade_name": { "value": …, "status": "present", "page": 1 },
"constitution": { "value": …, "status": "present", "page": 1 },
"address_line_1": { "value": …, "status": "present", "page": 1 },
… 4 more
} }