Tax Form 1040

Finance

Extract structured data from US IRS Form 1040 individual income tax returns, including filing status, income, deductions, and tax liability.

curl -X POST $XBERG_ENTERPRISE_URL/v1/extract \
  -H "Authorization: Bearer $XBERG_API_KEY" \
  -F file=@your-tax_form_1040.pdf \
  -F 'preset=tax_form_1040'
Sample Tax Form 1040 document

Structured fields extracted by this preset

tax_yearintegerrequired

The tax year this form covers (e.g., 2023).

filing_statusstringrequired

Tax filing status of the taxpayer.

taxpayer_namestringrequired

Full legal name of the taxpayer (primary filer).

taxpayer_ssnstringrequired

Social Security Number of the taxpayer in format XXX-XX-XXXX.

spouse_namestring

Full legal name of the spouse, if filing jointly.

spouse_ssnstring

Social Security Number of the spouse in format XXX-XX-XXXX.

addressstring

Full mailing address including street, city, state, and ZIP code.

total_income_usd_centsintegerrequired

Total income reported on the form, in cents (e.g., $50,000.00 = 5000000).

agi_usd_centsinteger

Adjusted Gross Income (AGI), in cents.

taxable_income_usd_centsinteger

Taxable income after deductions, in cents.

total_tax_usd_centsinteger

Total tax liability computed or reported, in cents.

refund_or_owed_usd_centsinteger

Amount refunded (positive) or owed (negative), in cents.

Configuration

Call Mode

text_only

Citations

Enabled

Version

v1

Tags

taxirsform-1040incomededuction
+System Prompt
You are a precise structured-data extractor for US IRS Form 1040 tax returns. 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. Social Security Numbers must be in XXX-XX-XXXX format. All monetary amounts are in cents as integers. For married filing jointly, include both taxpayer and spouse information. Dates and income figures must match the document exactly.

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

Cookies

We value your privacy

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