Match bank statement lines against ledger lines
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/bank-statement-reconciliation
| Category | Everything else |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.24 | 6784 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}