Input Schema
{
"body": {
"currency": "USD",
"line_items": [
{
"amount": "250.00",
"description": "Design workshop",
"id": "workshop"
},
{
"amount": "150.00",
"description": "Coaching session",
"id": "coaching",
"quantity": 2,
"unit_price": "75.00"
}
],
"subtotal": "400.00",
"tax": "32.00",
"tax_rate": "8%",
"text": "Invoice 1042\nDesign workshop $250.00\nCoaching session 2 x $75.00 $150.00\nSubtotal $400.00\nTax 8% $32.00\nTotal $432.00",
"total": "432.00"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"checks": [
{
"detail": "Each stated quantity times unit price matches its line amount.",
"id": "line_extensions",
"left": "150.00",
"right": "150.00",
"status": "match"
},
{
"detail": "2 line items sum to 400.00, matching the claimed subtotal.",
"id": "line_items_vs_subtotal",
"left": "400.00",
"right": "400.00",
"status": "match"
},
{
"detail": "Tax 32.00 matches 0.08 of the claimed subtotal 400.00.",
"id": "tax_vs_base",
"left": "32.00",
"right": "32.00",
"status": "match"
},
{
"detail": "Subtotal 400.00 plus tax 32.00 equals the claimed total 432.00.",
"id": "subtotal_plus_tax_vs_total",
"left": "432.00",
"right": "432.00",
"status": "match"
},
{
"detail": "Every stated currency is USD.",
"id": "currency_consistency",
"left": "USD",
"right": "USD",
"status": "match"
}
],
"claimed": {
"currency": "USD",
"subtotal": "400.00",
"tax": "32.00",
"tax_rate": "0.08",
"total": "432.00"
},
"computed": {
"base": "400.00",
"base_source": "claimed_subtotal",
"line_sum": "400.00",
"line_sum_complete": true,
"subtotal_plus_tax": "432.00",
"tax_on_base": "32.00"
},
"contract": "tgw-invoice-check-beta-1",
"currency": "USD",
"currency_consistent": true,
"disclaimer": "Mindset coaching for reflection. Not financial, investment, tax, or legal advice. This check reads only the invoice you supplied. It does not fetch pages. Unknown amounts are not treated as zero.",
"evidence_scope": "supplied_document",
"extraction": "deterministic",
"limitations": [
"Only the invoice text and structured figures you supplied were read. No URL was fetched and no page was crawled.",
"A model may propose amounts from the supplied text. An amount is kept only when that amount appears in the text.",
"Checks are arithmetic on the supplied figures. An unknown or unreadable amount is not treated as zero.",
"A balanced or mismatch verdict uses those supplied figures. It is not tax, accounting, or legal advice, and it does not show that the invoice was paid."
],
"line_items": [
{
"amount": "250.00",
"currency": "USD",
"currency_explicit": false,
"description": "Design workshop",
"extension": null,
"extension_check": "not_applicable",
"id": "workshop",
"known": true,
"quantity": null,
"reason": null,
"source": "structured",
"span": null,
"unit_price": null
},
{
"amount": "150.00",
"currency": "USD",
"currency_explicit": false,
"description": "Coaching session",
"extension": "150.00",
"extension_check": "match",
"id": "coaching",
"known": true,
"quantity": "2",
"reason": null,
"source": "structured",
"span": null,
"unit_price": "75.00"
}
],
"mismatches": [],
"mode": "supplied_document",
"page_fetch": false,
"requested_currency": "USD",
"signature": "Continue to Think and Grow Wealthy.",
"status": "ok",
"unknown_amounts": [],
"verdict": "balanced"
},
"type": "json"
}