Tax documents

Extract taxpayer and authority data from tax documents.

document_type value

Use tax_doc in the Extract request when you want InfraRed to validate and extract a tax document.

When to use it

Use the Tax flow when your workflow needs structured tax registration or taxpayer data for compliance, underwriting, or business verification.

What InfraRed checks first

InfraRed verifies that the uploaded file is a tax document before extraction runs. If the submitted file is not of that type, the request fails before any fields are extracted.

Key extracted fields

  • date_of_issue
  • issuing_authority
  • issuing_authority_country
  • reference_number
  • tax_number
  • taxpayer_name
  • taxpayer_address

Supported validations

  • Field matching for tax_number
  • Field matching for taxpayer_name
  • Field matching for taxpayer_address
  • Recency validation using maximum_age_months

Use the API reference

For exact request and response details, use the API section.