API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Parse invoice from file uploadpostParse invoice from textpost
Schemas
powered by Zudoku
Invoice Parser API
Invoice Parser API

Schemas


Error

error
​string

Error message

VendorInfo

name
​string · required

Name of the vendor/supplier

Example: ACME SUPPLIES LTD
address
​string | null

Complete address of the vendor

Example: 456 Business Ave, Suite 100, Industry City, NY 10001
phone
​string | null

Phone number of the vendor

Example: (555) 987-6543
email
​string | null

Email address of the vendor

Example: billing@acmesupplies.example
website
​string | null

Website of the vendor

Example: www.acmesupplies.example
tax_id
​string | null

Tax ID or VAT number of the vendor

Example: US123456789
registration_number
​string | null

Business registration number

Example: BRN-987654321

InvoiceDetails

invoice_number
​string · required

Invoice identifier

Example: INV-2025-0042
issue_date
​string · required

Date the invoice was issued

Example: 2025-05-01
purchase_order
​string | null

Reference to customer's purchase order

Example: PO-2025-1234
due_date
​string | null

Date payment is due

Example: 2025-05-31
payment_terms
​string | null

Payment terms (e.g., Net 30)

Example: Net 30
currency
​string | null

Currency used

Example: USD
language
​string | null

Language of the invoice

Example: en-US

LineItem

description
​string · required

Description of the item or service

Example: Premium Office Desk Chair
total_amount
​number · required

Total amount for this line item

Example: 899.96
product_code
​string | null

Product or service code/SKU

Example: FRN-CH-001
quantity
​number | null

Quantity of items

Example: 5
unit_of_measure
​string | null

Unit of measurement (e.g., hours, pieces)

Example: pcs
unit_price
​number | null

Price per unit

Example: 199.99
discount
​number | null

Discount amount or percentage

Example: 10
tax_rate
​number | null

Tax rate applied to this item

Example: 8.25
tax_amount
​number | null

Tax amount for this item

Example: 74.99

CustomerInfo

name
​string · required

Name of the customer/client

Example: GLOBAL ENTERPRISES INC
address
​string | null

Billing address

Example: 789 Corporate Park, Downtown, CA 90210
shipping_address
​string | null

Shipping address if different from billing

Example: 789 Corporate Park, Warehouse 3, Downtown, CA 90210
attention
​string | null

Contact person

Example: John Smith
phone
​string | null

Phone number

Example: (555) 123-4567
email
​string | null

Email address

Example: accounts@globalenterprises.example
customer_id
​string | null

Customer ID or account number

Example: CUST-1234
tax_id
​string | null

Customer tax ID or VAT number

Example: CA987654321

TotalsInfo

total_amount
​number · required

Final invoice amount

Example: 2348.83
subtotal
​number | null

Sum of line items before tax and discounts

Example: 2199.85
discount_total
​number | null

Total discount amount

Example: 100
tax_total
​number | null

Total tax amount

Example: 173.98
shipping_cost
​number | null

Shipping or delivery charges

Example: 75
amount_paid
​number | null

Amount already paid if any

Example: 500
amount_due
​number | null

Remaining amount to be paid

Example: 1848.83

TaxBreakdown

tax_type
​string · required

Type of tax (e.g., VAT, GST, Sales Tax)

Example: Sales Tax
tax_amount
​number · required

Tax amount

Example: 173.98
tax_rate
​number | null

Rate of the tax

Example: 8.25
taxable_amount
​number | null

Amount on which tax is calculated

Example: 2099.85

PaymentInfo

payment_method
​string | null

Accepted payment methods

Example: Bank Transfer
bank_name
​string | null

Bank name

Example: First National Bank
account_number
​string | null

Bank account number

Example: ACCT-12345678
routing_number
​string | null

Bank routing number

Example: RTG-987654321
swift_code
​string | null

SWIFT/BIC code for international transfers

Example: FNBKUS12
iban
​string | null

International Bank Account Number

Example: null

AdditionalInfo

notes
​string | null

Additional notes or comments

Example: Please reference invoice number on all payments.
terms_conditions
​string | null

Terms and conditions

Example: Payment due within 30 days from the invoice date.
reference
​string | null

Reference number or code

Example: REF-2025-Q2-OFFICE
attachments
​array | null

References to attachments

Example: null

ParsedInvoice

​VendorInfo · required
​CustomerInfo · required
​InvoiceDetails · required
​LineItem[] · required
​TotalsInfo · required
​TaxBreakdown[]
​PaymentInfo
​AdditionalInfo

ParsedInvoiceResponse

success
​boolean · required

Indicates if the parsing was successful

Example: true
parsed_at
​string · date-time · required

Timestamp when the invoice was parsed

Example: 2025-05-13T08:15:32.000Z
​ParsedInvoice · required
On this page
  • Error
  • VendorInfo
  • InvoiceDetails
  • LineItem
  • CustomerInfo
  • TotalsInfo
  • TaxBreakdown
  • PaymentInfo
  • AdditionalInfo
  • ParsedInvoice
  • ParsedInvoiceResponse