recipe · 10 fieldsgeda certificate
geda certificate
extraction api.
Registration or commissioning certificate from the Gujarat Energy Development Agency for a solar installation.
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 |
|---|---|---|---|
| Registration no. | registration_number | Text | — |
| Firm name | firm_name | Name | — |
| Date of registration | date_of_registration | Date | — |
| Consumer no. | consumer_number | Text | — |
| Sanctioned load in kW | sanctioned_load_kw | Number | — |
| Solar capacity (AC) | solar_capacity_ac_kw | Number | kW |
| Solar capacity (DC) | solar_capacity_dc_kw | Number | kW |
| Address line 1 | address_line_1 | Address | — |
| Address line 2optional | address_line_2 | Address | — |
| Area code | area_code | PIN code | PIN code |
the apia geda certificate in,
a geda 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_geda/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@geda-certificate.pdf{ "status": "completed",
"document_type": "geda_certificate",
"fields": {
"registration_number": { "value": …, "status": "present", "page": 1 },
"firm_name": { "value": …, "status": "present", "page": 1 },
"date_of_registration": { "value": …, "status": "present", "page": 1 },
"consumer_number": { "value": …, "status": "present", "page": 1 },
"sanctioned_load_kw": { "value": …, "status": "present", "page": 1 },
… 5 more
} }