{"slug":"api-zfinia-com-x402-v1-double-entry-ledger-audit-6756ea","title":"Check that journal entries balance, with exact decimal arithmetic","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/double-entry-ledger-audit","category":"code","description":"Check that journal entries balance, with exact decimal arithmetic. Reports an entry whose debits and credits differ, with the exact difference; a line carrying both a debit and a credit, which means two things to two readers; a negative debit, which is a credit written in a form that defeats every s","price_listed":0.25,"price_asked":null,"state":"down","state_label":"Not answering","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chart_of_accounts":["1000-cash","1100-receivables","4000-revenue","2100-tax-payable"],"closed_before":"2026-09-01","entries":[{"date":"2026-09-15","id":"JE-1001","lines":[{"account":"1000-cash","debit":"1.00"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"},{"account":"4000-revenue","credit":"0.10"}]},{"date":"2026-09-16","id":"JE-1002","lines":[{"account":"1100-receivables","debit":"110.00"},{"account":"4000-revenue","credit":"100.00"},{"account":"2100-tax-payable","credit":"9.99"}]},{"date":"2026-08-31","id":"JE-1003","lines":[{"account":"9999-suspense","debit":"50.00"},{"account":"1000-cash","credit":"60.00","debit":"10.00"}]},{"date":"2026-09-17","id":"JE-1002","lines":[{"account":"1000-cash","debit":"5.00"},{"account":"4000-revenue","credit":"-5.00"}]}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"chart_of_accounts":{"items":{"maxLength":128,"type":"string"},"maxItems":5000,"minItems":1,"type":"array"},"closed_before":{"maxLength":32,"type":"string"},"entries":{"items":{"additionalProperties":false,"properties":{"date":{"maxLength":32,"type":"string"},"description":{"maxLength":512,"type":"string"},"id":{"maxLength":128,"type":"string"},"lines":{"items":{"additionalProperties":false,"properties":{"account":{"maxLength":128,"type":"string"},"credit":{"type":["string","number"]},"debit":{"type":["string","number"]},"description":{"maxLength":512,"type":"string"}},"required":["account"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"}},"required":["lines"],"type":"object"},"maxItems":20000,"minItems":1,"type":"array"}},"required":["entries"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":false,"status":null,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":null,"error":"TimeoutError"}],"description_full":"Check that journal entries balance, with exact decimal arithmetic. Reports an entry whose debits and credits differ, with the exact difference; a line carrying both a debit and a credit, which means two things to two readers; a negative debit, which is a credit written in a form that defeats every sign-based check downstream; a posting to an account outside a supplied chart; a repeated posting reference; and a posting into a period the caller says is closed.","last_updated":"2026-10-04T08:36:21.844Z","schemes":["exact"]}