recipes / property
recipe · 9 fields

rent / leave and licence agreement
extraction api.

A stamped agreement between the property owner (licensor / lessor) and the user (licensee / lessee). Often long; the parties, premises, rent and term are usually on the first pages.

try this recipeall recipesno sign-up to try · 1¢₹1 a page
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
Agreement dateagreement_dateDate—
Owners of propertyownersTableOne row each: Owner name
User of property — nameuser_nameNameLicensee / lessee
Address line 1property_address_line_1Address—
Address line 2optionalproperty_address_line_2Address—
Area codeoptionalproperty_area_codePIN codePIN code
Monthly rentalmonthly_rentAmount (₹)—
Duration start datestart_dateDate—
Duration end dateend_dateDate—
the api

a rent / leave and licence agreement 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_YOUR_WORKFLOW_ID/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F [email protected]
{
  "object": "extraction",
  "id": "ext_…",
  "status": "succeeded",
  "document_type": "rent_agreement",
  "pages": …,
  "credits": …,
  "fields": {
    "agreement_date": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "user_name": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "property_address_line_1": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    "property_address_line_2": { "value": …, "normalized": …, "status": "present", "page": …, "source_text": …, "bbox": … },
    … 5 more
  }
}
questions

asked often.

What does the Rent / leave and licence agreement API extract?

9 fields: Agreement date, Owners of property (a table of Owner name), User of property — name, Address line 1, Address line 2, Area code, Monthly rental, Duration start date and Duration end date. You can rename them, drop the ones you don't need or add your own before publishing.

What comes back for each field?

A JSON object with value, normalized, status, page, source_text and bbox. The status is one of present, not_present, unreadable, redacted and conflicting, so a value that is not on the document comes back as null instead of a guess.

Which Rent / leave and licence agreement fields are optional?

Address line 2 and Area code. When the document doesn't carry one, the field comes back with the status not_present and a null value.

How much does Rent / leave and licence agreement extraction cost?

1¢ a page (₹1 in India), and every page counts. Failed documents and repeats of the same file are free.

Can I test Rent / leave and licence agreement extraction for free?

Yes. You can try it without an account: 15 test runs on documents of up to 15 pages. A new account starts with 200 free pages, and the first 25 test and assistant runs on each workflow cost nothing (up to 100 a month per account).

more in property