recipes / power & utilities
recipe · 6 fields

electrical inspector report
extraction api.

Report or approval from the electrical inspectorate for an installation.

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
Firm namefirm_nameName—
Consumer numberconsumer_numberText—
Total capacity in kWtotal_capacity_kwNumber—
Address line 1address_line_1Address—
Address line 2optionaladdress_line_2Address—
Area codearea_codePIN codePIN code
the api

a electrical inspector report 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_electrical/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@electrical-inspector-report.pdf
{ "status": "completed",
  "document_type": "electrical_inspector_report",
  "fields": {
    "firm_name": { "value": …, "status": "present", "page": 1 },
    "consumer_number": { "value": …, "status": "present", "page": 1 },
    "total_capacity_kw": { "value": …, "status": "present", "page": 1 },
    "address_line_1": { "value": …, "status": "present", "page": 1 },
    "address_line_2": { "value": …, "status": "present", "page": 1 },
    … 1 more
  } }
more in power & utilities