recipe · 11 fieldselectricity connection quotation
electricity connection quotation
extraction api.
A discom's quotation / demand note for a new connection or load increase. Gujarat distribution companies are DGVCL, MGVCL, PGVCL, UGVCL; Torrent Power in some cities.
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 |
|---|---|---|---|
| Service provider name | service_provider | Text | — |
| Firm name | firm_name | Name | — |
| Address line 1 | address_line_1 | Address | — |
| Address line 2optional | address_line_2 | Address | — |
| Area code | area_code | PIN code | PIN code |
| Consumer numberoptional | consumer_number | Text | — |
| Application date | application_date | Date | — |
| Connection type | connection_type | Text | e.g. LT / HT, new connection / load extension |
| Agreement fees | agreement_fees | Amount (₹) | — |
| Fixed charges | fixed_charges | Amount (₹) | — |
| Security deposit | security_deposit | Amount (₹) | — |
the apia electricity connection quotation in,
a electricity connection quotation 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_power/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@power-quotation.pdf{ "status": "completed",
"document_type": "power_quotation",
"fields": {
"service_provider": { "value": …, "status": "present", "page": 1 },
"firm_name": { "value": …, "status": "present", "page": 1 },
"address_line_1": { "value": …, "status": "present", "page": 1 },
"address_line_2": { "value": …, "status": "present", "page": 1 },
"area_code": { "value": …, "status": "present", "page": 1 },
… 6 more
} }