{"slug":"api-zfinia-com-x402-v1-bank-statement-reconciliation-1ec494","title":"Match bank statement lines against ledger lines","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/bank-statement-reconciliation","category":"other","description":"Match bank statement lines against ledger lines. References are matched before amounts, because a reference is an identity and an amount is not: matching on amount first pairs two unrelated lines that happen to agree and reports the real pair as unmatched. A reference match with a disagreeing amount","price_listed":0.24,"price_asked":0.24,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":6784,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"closing_balance":"1265.00","date_tolerance_days":2,"ledger":[{"amount":"-120.51","date":"2026-09-02","reference":"DD-ENERGY-09"},{"amount":"500.00","date":"2026-09-13","reference":"INV-2001"},{"amount":"-75.00","date":"2026-09-10","reference":"EXP-4410"},{"amount":"-14.49","date":"2026-09-09"}],"opening_balance":"1000.00","statement":[{"amount":"-120.50","date":"2026-09-02","reference":"DD-ENERGY-09"},{"amount":"500.00","date":"2026-09-05","reference":"INV-2001"},{"amount":"-14.49","date":"2026-09-09"},{"amount":"-100.00","date":"2026-09-20","reference":"DD-ENERGY-10"}]},"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":{"closing_balance":{"type":["string","number"]},"date_tolerance_days":{"maximum":365,"minimum":0,"type":"integer"},"ledger":{"items":{"additionalProperties":false,"properties":{"amount":{"type":["string","number"]},"date":{"maxLength":32,"type":"string"},"description":{"maxLength":512,"type":"string"},"reference":{"maxLength":128,"type":"string"}},"required":["date","amount"],"type":"object"},"maxItems":20000,"minItems":1,"type":"array"},"opening_balance":{"type":["string","number"]},"statement":{"items":{"additionalProperties":false,"properties":{"amount":{"type":["string","number"]},"date":{"maxLength":32,"type":"string"},"description":{"maxLength":512,"type":"string"},"reference":{"maxLength":128,"type":"string"}},"required":["date","amount"],"type":"object"},"maxItems":20000,"minItems":1,"type":"array"}},"required":["statement","ledger"],"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":true,"status":402,"valid_402":true,"asked_usdc":0.24,"price_match":true,"latency_ms":6784,"error":null}],"description_full":"Match bank statement lines against ledger lines. References are matched before amounts, because a reference is an identity and an amount is not: matching on amount first pairs two unrelated lines that happen to agree and reports the real pair as unmatched. A reference match with a disagreeing amount or date is reported with the exact difference rather than discarded. With both balances supplied, the statement is also checked for agreeing with itself.","last_updated":"2026-10-04T08:36:46.519Z","schemes":["exact"]}