Validation Error
Claude was not confident enough in the invoice total.
Status
Validation error
Invoice
ACME-MATH-9001
Total
$75.00
Invoice data
- Detected vendor
- Acme Tools
- Matched vendor
- Acme Tools
- Matched alias
- Acme Tools
- Category
- Building Materials:Tools
- Category method
- Single assignable category
- Invoice date
- 05/12/2026
- Due date
- 06/11/2026
- Vendor terms
- Net 30
- Jkath terms
- Net 30
- QB Transaction ID
- Not created
Category reason
Vendor has exactly one assignable expense category, so the category was assigned without a Claude category-selection call.
File result
- Outcome
- validation_failed
- Details
- Claude was not confident enough in the invoice total.
Processing Context
- Invoice ID
- 05-12-2026-048-INV-001
- Run ID
- 05-12-2026-048
- Source folder
- /_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/01 Unprocessed
- Source file
- ACME_TOOLS_TEST_MATH_ERROR_9001.pdf
Stored payloads
Claude parse payload
{
"tax": 0,
"notes": "MATH VALIDATION FAILURE: The printed Total Due on the invoice is $80.00, but the correct calculated total is subtotal ($75.00) + tax ($0.00) + shipping ($0.00) = $75.00. The invoice itself notes this is an intentional test fixture with a wrong total. Extracted total has been set to the mathematically correct value of $75.00. Human review required before payment. Due date of 2026-06-11 is calculated from invoice date plus Net 30 terms, as no explicit due date was printed.",
"terms": "Net 30",
"total": 75,
"due_date": "2026-06-11",
"shipping": 0,
"subtotal": 75,
"confidence": {
"total": 0.5,
"vendor_name": 1,
"invoice_date": 1,
"project_name": 1,
"invoice_number": 1
},
"line_items": [
{
"qty": 1,
"amount": 50,
"unit_price": 50,
"description": "Cordless Drill Bit Set"
},
{
"qty": 1,
"amount": 25,
"unit_price": 25,
"description": "Jobsite Saw Blades"
}
],
"vendor_name": "Acme Tools",
"invoice_date": "2026-05-12",
"project_name": "Portal Automation Test",
"document_type": "invoice",
"invoice_number": "ACME-MATH-9001",
"is_billable_invoice": true
}Vendor match payload
{
"alias_lookup": {
"found": true,
"alias_id": "cmp1abenu004gagtbbliq4o2n",
"vendor_id": "vend_4dd5c99ca1f0435187d72a648f35209d",
"alias_name": "Acme Tools",
"canonical_name": "Acme Tools",
"category_count": 1,
"category_options": [
{
"name": "Tools",
"notes": "Mapped from JKath historical QuickBooks export: Building Materials:Tools (5).",
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"fully_qualified_name": "Building Materials:Tools",
"quickbooks_account_id": "116",
"vendor_expense_category_id": "cmp1baxjv002w13pfszafvb4w"
}
],
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"normalized_alias_key": "acme tools",
"quickbooks_vendor_id": "9",
"quickbooks_account_id": "116",
"default_expense_account": "Tools",
"invoice_processing_notes": null,
"missing_category_options": false
},
"category_selection": {
"method": "single_assignable_category",
"reason": "Vendor has exactly one assignable expense category, so the category was assigned without a Claude category-selection call.",
"confidence": 1,
"category_name": "Tools",
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"quickbooks_account_id": "116",
"selected_expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"selected_expense_category_name": "Tools"
}
}QB payload
No payload stored.
Raw payload
{
"run_id": "run_bdfe7600fdc74e70846a8c03bc48bbb0",
"source": "make.com",
"run_key": "05-12-2026-048",
"make_trace_id": "make-20260512_130751_033",
"source_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"source_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/01 Unprocessed/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"source_dropbox_id": "id:CHX6_xJiKhAAAAAAAABp_w",
"source_dropbox_rev": "01651a2bd3f7fe200000003549f4393",
"multi_invoice_count": 1,
"multi_invoice_index": 1,
"source_content_hash": "dd7ed7d5ad025dcbd330c0f00f90ce6ff896ee58e4d2c1e23bcc5b5fcba3edc0",
"processing_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/02 Processing/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"multi_invoice_group_id": "bill_24dd4049eb4a495e9906f95f87418800",
"processing_dropbox_rev": "01651a2bdeb730600000003549f4393",
"multi_invoice_source_payload": {
"notes": "Single invoice document. The printed Total Due of $80.00 does not reconcile with the line items and summary charges (subtotal $75.00 + $0.00 tax + $0.00 shipping = $75.00). The invoice explicitly states this is an intentional test fixture designed to fail validation. Total has been corrected to $75.00 in the extracted data; confidence on total is lowered to 0.5 to flag for human review.",
"invoices": [
{
"tax": 0,
"notes": "MATH VALIDATION FAILURE: The printed Total Due on the invoice is $80.00, but the correct calculated total is subtotal ($75.00) + tax ($0.00) + shipping ($0.00) = $75.00. The invoice itself notes this is an intentional test fixture with a wrong total. Extracted total has been set to the mathematically correct value of $75.00. Human review required before payment. Due date of 2026-06-11 is calculated from invoice date plus Net 30 terms, as no explicit due date was printed.",
"terms": "Net 30",
"total": 75,
"due_date": "2026-06-11",
"shipping": 0,
"subtotal": 75,
"confidence": {
"total": 0.5,
"vendor_name": 1,
"invoice_date": 1,
"project_name": 1,
"invoice_number": 1
},
"line_items": [
{
"qty": 1,
"amount": 50,
"unit_price": 50,
"description": "Cordless Drill Bit Set"
},
{
"qty": 1,
"amount": 25,
"unit_price": 25,
"description": "Jobsite Saw Blades"
}
],
"vendor_name": "Acme Tools",
"invoice_date": "2026-05-12",
"project_name": "Portal Automation Test",
"document_type": "invoice",
"invoice_number": "ACME-MATH-9001",
"is_billable_invoice": true
}
]
}
}Invoice Timeline
Time
05/12/2026
Event
FILE CLAIMED
Message
Source file claimed by Make scenario.
Payload
{
"message": "Claimed invoice file and moved into processing.",
"source_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"source_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/01 Unprocessed/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"processing_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/02 Processing/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf"
}Time
05/12/2026
Event
ALIAS LOOKUP COMPLETED
Message
Vendor alias lookup matched a portal vendor.
Payload
{
"found": true,
"phase": "early_vendor_resolution",
"message": "Early vendor lookup before full invoice extraction.",
"alias_id": "cmp1abenu004gagtbbliq4o2n",
"vendor_id": "vend_4dd5c99ca1f0435187d72a648f35209d",
"process_key": "05-12-2026-048-INV-001",
"vendor_name": "Acme Tools",
"make_trace_id": "make-20260512_130751_033",
"bill_import_id": "bill_24dd4049eb4a495e9906f95f87418800",
"canonical_name": "Acme Tools",
"category_count": 1,
"category_options": [
{
"name": "Tools",
"notes": "Mapped from JKath historical QuickBooks export: Building Materials:Tools (5).",
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"fully_qualified_name": "Building Materials:Tools",
"quickbooks_account_id": "116",
"vendor_expense_category_id": "cmp1baxjv002w13pfszafvb4w"
}
],
"source_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"category_selection": {
"method": "single_assignable_category",
"reason": "Vendor has exactly one assignable expense category, so the category was assigned without a Claude category-selection call.",
"confidence": 1,
"category_name": "Tools",
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"quickbooks_account_id": "116",
"selected_expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"selected_expense_category_name": "Tools"
},
"expense_category_id": "cat_b6774fca4dc2443c919a6c6a3e2bfadc",
"normalized_alias_key": "acme tools",
"quickbooks_vendor_id": "9",
"default_expense_account": "Tools",
"preliminary_vendor_name": "Acme Tools",
"missing_category_options": false,
"preliminary_vendor_notes": "Vendor name explicitly stated as 'Acme Tools' in the invoice header and remit-to address.",
"preliminary_vendor_confidence": "0.99"
}Time
05/12/2026
Event
PARSE COMPLETED
Message
Claude extraction parsed and stored.
Payload
{
"total": "75.00",
"message": "Claude extraction parsed and stored.",
"due_date": "2026-06-11",
"jkath_terms": "Net 30",
"process_key": "05-12-2026-048-INV-001",
"vendor_name": "Acme Tools",
"claude_model": "claude-sonnet-4-6",
"input_tokens": "3513",
"invoice_date": "2026-05-12",
"vendor_terms": "Net 30",
"make_trace_id": "make-20260512_130751_033",
"output_tokens": "556",
"bill_import_id": "bill_24dd4049eb4a495e9906f95f87418800",
"invoice_number": "ACME-MATH-9001",
"vendor_due_date": "2026-06-11",
"source_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"claude_message_id": "msg_01TW2eEiKK89vKWmw58ZvvLp",
"multi_invoice_count": 1,
"multi_invoice_index": 1
}Time
05/12/2026
Event
VALIDATION FAILED
Message
Claude was not confident enough in the invoice total.
Payload
{
"total": "75.00",
"message": "Validation failed; moved file to error folder.",
"process_key": "05-12-2026-048-INV-001",
"vendor_name": "Acme Tools",
"invoice_date": "2026-05-12",
"make_trace_id": "make-20260512_130751_033",
"bill_import_id": "bill_24dd4049eb4a495e9906f95f87418800",
"invoice_number": "ACME-MATH-9001",
"final_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001_VALIDATION-FAILED.pdf",
"final_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/04 Error/ACME_TOOLS_TEST_MATH_ERROR_9001_VALIDATION-FAILED.pdf",
"source_file_name": "ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"source_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/01 Unprocessed/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf",
"dropbox_shared_url": "https://www.dropbox.com/scl/fi/3u4jeomajz6qkxqjox7ac/ACME_TOOLS_TEST_MATH_ERROR_9001_VALIDATION-FAILED.pdf?rlkey=yiaz2au921ps8v3f6s8vdutov&dl=0",
"validation_details": "Claude was not confident enough in the invoice total.",
"processing_file_path": "/_01 Client Projects/Jkath/Sample Invoices/05 May Invoices/May 11-17/02 Processing/ACME_TOOLS_TEST_MATH_ERROR_9001.pdf"
}