Check that journal entries balance, with exact decimal arithmetic
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.
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/double-entry-ledger-audit
| Category | Code and developer |
|---|---|
| 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 | no answer |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}