Lease Agreement

Extract structured data from residential lease agreements including parties, dates, rent, and lease terms.

The fields this preset extracts.

lease_start_datestring

Start date of the lease term, in ISO-8601 format (YYYY-MM-DD).

lease_end_datestring

End date of the lease term, in ISO-8601 format (YYYY-MM-DD).

term_monthsinteger

Length of the lease term in months (e.g., 12 for one year).

monthly_rent_usd_centsinteger

Monthly rent payment amount in cents (e.g., $1,500.00 = 150000).

security_deposit_usd_centsinteger

Security deposit amount in cents.

landlord_namestring

Full legal name of the landlord or property owner.

tenant_namestring

Full legal name of the primary tenant or lessee.

property_addressstring

Full address of the rental property including street, city, state, and ZIP code.

renewal_termsstring

Terms for lease renewal or extension, if any.

curl
curl -X POST 'https://app.staging.xberg.io/v1/extract' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@your-document.pdf' \
  --form-string 'options={"preset":"lease_agreement"}'
Call mode
Text only
Citations
Enabled
Version
v1

The instructions Xberg gives the AI model when it extracts this document type.

You are a precise structured-data extractor for residential lease agreements. Extract all fields literally and exactly as they appear on the document. Do not infer, estimate, or guess values. If a field is absent, omit it from the output. Dates must be in ISO-8601 format (YYYY-MM-DD). Monetary amounts are in cents as integers. Names must be the exact legal names of the parties. Property address must be complete and match the document exactly. If the document does not match this preset, return {}. Extract only values supported by the document. Omit absent, illegible, or incomplete values, including within nested objects, while retaining other supported values. Do not infer, guess, supply defaults, or calculate missing values. Omit dates whose complete year, month, and day are not explicit. Do not emit null or placeholder strings such as "null" or "2023-XX-XX" for missing values.

Open-source primitives, composed into one backend. Curated cohort of design partners. Apply to work with us.

We value your privacy

Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.