recipes / power & utilities
recipe · 6 fields

tri-party agreement for solar installation
extraction api.

Agreement between the consumer, the discom and the solar installer.

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
Customer / firm namecustomer_nameName—
Consumer numberconsumer_numberText—
Address line 1installed_address_line_1Address—
Address line 2optionalinstalled_address_line_2Address—
Area codeinstalled_area_codePIN codePIN code
Installed capacity in kWinstalled_capacity_kwNumber—
the api

a tri-party agreement for solar installation 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_triparty/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@triparty-agreement-solar.pdf
{ "status": "completed",
  "document_type": "triparty_agreement_solar",
  "fields": {
    "customer_name": { "value": …, "status": "present", "page": 1 },
    "consumer_number": { "value": …, "status": "present", "page": 1 },
    "installed_address_line_1": { "value": …, "status": "present", "page": 1 },
    "installed_address_line_2": { "value": …, "status": "present", "page": 1 },
    "installed_area_code": { "value": …, "status": "present", "page": 1 },
    … 1 more
  } }
more in power & utilities