recipes / power & utilities
recipe · 7 fields

proforma-15
extraction api.

A discom form for a new or changed electricity connection, often scanned. Gujarat distribution companies are DGVCL, MGVCL, PGVCL, UGVCL; Torrent Power in some cities.

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
Service providerservice_providerText—
Sub division namesub_division_nameText—
Date of proforma-15dateDate—
Consumer / firm nameconsumer_nameName—
Consumer numberconsumer_numberText—
Meter numbermeter_numberText—
Connected load in kWconnected_load_kwNumber—
the api

a proforma-15 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_proforma/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@proforma-15.pdf
{ "status": "completed",
  "document_type": "proforma_15",
  "fields": {
    "service_provider": { "value": …, "status": "present", "page": 1 },
    "sub_division_name": { "value": …, "status": "present", "page": 1 },
    "date": { "value": …, "status": "present", "page": 1 },
    "consumer_name": { "value": …, "status": "present", "page": 1 },
    "consumer_number": { "value": …, "status": "present", "page": 1 },
    … 2 more
  } }
more in power & utilities