Extract Invoice Data
POST
/document-ai/{model-id}
Extracted Data Types
null
.Parameter Name | Variable Type |
---|---|
document_title | string | null |
vendor_name | string | null |
vendor_address | string | null |
sst_number | string | null |
invoice_number | string | null |
invoice_date | string | null |
invoice_currency | string | null |
purchase_order_number | string | null |
salesperson | string | null |
payment_terms | string | null |
vendor_registration_number | string | null |
billing | Array of Objects |
billing[].billing_address | string | null |
billing[].billing_phone | string | null |
billing[].billing_fax | string | null |
billing[].billing_attention | string | null |
shipping | Array of Objects |
shipping[].shipping_address | string | null |
shipping[].shipping_phone | string | null |
shipping[].shipping_fax | string | null |
shipping[].shipping_date | string | null |
shipping[].shipping_attention | string | null |
item | Array of Objects |
item[].item_code | string | null |
item[].item_description | string | null |
item[].item_quantity | string | null |
item[].item_unit_of_measurement | string | null |
item[].item_unit_price | string | null |
item[].item_tax_rate | string | null |
item[].item_tax_amount | string | null |
item[].item_tax_code | string | null |
item[].item_subtotal | string | null |
item[].item_discount | string | null |
item[].item_total_amount | string | null |
invoice_memo | string | null |
invoice_subtotal | string | null |
invoice_sst_rate | string | null |
invoice_sst_amount | string | null |
invoice_total | string | null |
Notes
data
array will always have the specified type, with the possibility of being null
.null
.Request
Path Params
model-id
string
required
model-
followed by a 12-characters numbers and alphabet. This ID identifies the specific AI model you want to use for document processing.Example:
model-a1b2c3d4e5f6
Body Params multipart/form-data
file
file
optional
fileBase64
string
optional
Example:
JVBERi0xLjMNCiXi48/....
mimeType
string
optional
Example:
application/pdf
Request samples
Responses
Modified at 2025-05-13 03:40:43