IRS Form W-9

Finance

Extract critical tax identification and payee information from IRS Form W-9 (Request for Taxpayer Identification Number and Certification).

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

Structured fields extracted by this preset

namestringrequired

Legal name of the payee as shown on line 1.

business_namestring

Business name if different from legal name, as shown on line 2.

federal_tax_classificationstringrequired

Federal tax classification selected on line 3.

llc_tax_classificationstring

If entity is LLC, the tax classification elected (C, S, or P corporation treatment).

other_classification_textstring

Free-form text if federal_tax_classification is 'other'.

addressobjectrequired

Mailing address of the payee.

streetstringrequired

Street address line.

citystringrequired

City name.

statestringrequired

State or territory abbreviation (two characters).

postal_codestringrequired

ZIP or postal code.

countrystring

Country name if outside the United States.

tinobjectrequired

Taxpayer Identification Number (SSN or IN).

typestringrequired

Type of identification number: SSN (Social Security Number) or IN (Employer Identification Number).

valuestringrequired

Nine-digit TIN without dashes or hyphens, exactly as printed.

requester_name_addressstring

Name and address of the requester entity requesting the W-9.

account_numbersarray

Optional account or reference numbers supplied by requester.

payee_codesarray

Exemption codes from payee pool (if applicable).

fatca_codestring

FATCA code selected by the payee (if applicable).

signatureobject

Signature attestation and date.

signedboolean

Whether the form is signed.

datestring

Date of signature in ISO-8601 format (YYYY-MM-DD).

certification_acknowledgedboolean

Whether the payee certifies under penalty of perjury that the information provided is correct.

Configuration

Call Mode

vision_only

Citations

Enabled

Version

v1

Tags

taxw9formirstinpayee
+System Prompt
You are extracting tax identification data from an IRS Form W-9. Extract all fields exactly as printed on the form. Preserve the legal name, business name (if different), and federal tax classification selection. For the TIN (Taxpayer Identification Number), extract the nine digits exactly as shown, without dashes or hyphens — indicate whether it is an SSN or IN based on context. Include the complete mailing address. If the form is signed, note the signature date in ISO-8601 format (YYYY-MM-DD). Currency is not applicable to W-9 extraction. Dates must be literal and ISO-formatted. Ensure all required fields are present: name, federal_tax_classification, tin (with type and value), and address. If any field is illegible or missing, set it to null. Provide citations for all extracted values.

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.