recipe · 6 fieldspartnership deed
partnership deed
extraction api.
A stamped agreement constituting a partnership firm; lists each partner, the capital or profit-sharing ratio, the firm's address and the date.
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 |
|---|---|---|---|
| Number of partners | number_of_partners | Whole number | — |
| Partners | partners | Table | One row each: Name of partner, PAN number of partner, Equity share ratio in percentage |
| Address line 1 | address_line_1 | Address | — |
| Address line 2optional | address_line_2 | Address | — |
| Area code | area_code | PIN code | PIN code |
| Date of registration | date_of_registration | Date | Date the deed was executed or registered |
the apia partnership deed in,
a partnership deed 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_partnership/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@partnership-deed.pdf{ "status": "completed",
"document_type": "partnership_deed",
"fields": {
"number_of_partners": { "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 },
"date_of_registration": { "value": …, "status": "present", "page": 1 },
… 1 more
} }