InvoiceDetailResponse
email objectnullable
invoice object
Invoice header data with mapped fields
status_info object
Human-friendly metadata for the numeric invoice status
Numeric status code (e.g., 90, 91, 92, 93, 95, 96, 97, 98, 100)
Stable machine key (e.g., PENDING_INTEGRATION_FIRST)
Short label (human-readable)
Longer description, if available
fields object[]required
Captured header fields (non-null by default; includeNull=true to force nulls)
Stable machine key (field_name)
Human-readable label (ui_name)
Field value (string/number/date/etc.)
lines object[]
Invoice line items with mapped fields
invoice_line_number object
- integer
- string
- null
fields object[]required
Stable machine key (field_name)
Human-readable label (ui_name)
Field value (string/number/date/etc.)
addresses object[]
taxes object[]
tax_rate objectnullable
- number
- string
tax_base_amount objectnullable
- number
- string
tax_amount objectnullable
- number
- string
charges object[]
charge_amount objectnullable
- number
- string
discounts object[]
discount_rate objectnullable
- number
- string
discount_amount objectnullable
- number
- string
attachments object[]
MIME type
Possible values: [INVOICE_IMAGE, EMAIL_ATTACHMENT, EMAIL]
Public token of the parent attachment if derived
matchAI object[]
quantity objectnullable
- number
- string
unit_price objectnullable
- number
- string
net_amount objectnullable
- number
- string
Confidence score (0.0 - 1.0)
AI reasoning for the match suggestion
{
"email": {
"email_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"eml_from": "string",
"eml_to": "string",
"eml_replyto": "string",
"eml_subject": "string",
"eml_body": "string",
"eml_received": "2024-07-29T15:51:28.071Z"
},
"invoice": {
"id": 0,
"status": 0,
"status_info": {
"code": 0,
"key": "string",
"label": "string",
"description": "string"
},
"email_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"invoice_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"fields": [
{
"key": "string",
"label": "string"
}
]
},
"lines": [
{
"id": 0,
"invoice_id": 0,
"invoice_line_number": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"fields": [
{
"key": "string",
"label": "string"
}
]
}
],
"addresses": [
{
"address_type": "string",
"address_name": "string",
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "string"
}
],
"taxes": [
{
"tax_name": "string",
"tax_rate": 0,
"tax_base_amount": 0,
"tax_amount": 0,
"tax_description": "string"
}
],
"charges": [
{
"charge_name": "string",
"charge_amount": 0
}
],
"discounts": [
{
"discount_description": "string",
"discount_rate": 0,
"discount_amount": 0,
"discount_due_date": "2024-07-29T15:51:28.071Z"
}
],
"attachments": [
{
"attachment_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"file_name": "string",
"content_type": "string",
"type": "INVOICE_IMAGE",
"parent_token": "string"
}
],
"matchAI": [
{
"id": 0,
"invoice_id": 0,
"order_number_1": "string",
"order_line_number_1": 0,
"product_code_1": "string",
"receipt_number": "string",
"receipt_line_number": 0,
"quantity": 0,
"unit_price": 0,
"unit_of_measure": "string",
"net_amount": 0,
"confidence_score": 0,
"reason": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}
]
}