Keep two inventories and one relationship table
A platform payout and a bank credit are different records. One credit may cover several payout cycles; one payout may arrive through several credits. A single matched amount column cannot represent both situations clearly. Use three tables instead: documented amounts expected, posted credits observed, and explicit edges assigning part of one credit to one expected payout.
An edge is your supported assertion about a relationship. It is not another bank movement, invoice or sale. The checker verifies references and arithmetic, but it cannot establish whether a bank reference actually belongs to the chosen platform or cycle. Start with issued statements and posted bank evidence; retain dates and documents privately even though this intentionally small tool does not use dates to guess matches.
- Confirm the expected payout records and their scope.
- Confirm which credits actually posted and their stated payer/currency.
- Enter only edges supported by references and documents.
- Check each source capacity and leave both kinds of residual visible.
- Investigate unresolved relationships before adding more allocations.
OpenStax's bank-reconciliation chapter explains the role of documented differences between bank and business records. This tool supplies a narrow allocation schedule within such work. It does not replace reconciling the whole bank account or decide journal entries, revenue recognition or commercial entitlement.
Reproduce the 170.00 USD allocation by hand
The sample is fictional. Payout P1 expects 100.00 USD and P2 expects 80.00 USD. Bank credit B1 is 120.00 USD and B2 is 50.00 USD. Their declared payer is Platform-A. The files use whole minor units under a stated two-decimal USD basis: 100.00 is entered as 10000, not 100.00.
| Allocation | Bank credit | Expected payout | Amount (USD) |
|---|---|---|---|
| A1 | B1 | P1 | 100.00 |
| A2 | B1 | P2 | 20.00 |
| A3 | B2 | P2 | 50.00 |
P1 has 100.00−100.00=0 remaining. P2 has 80.00−20.00−50.00=10.00 remaining. B1 has 120.00−100.00−20.00=0 unallocated; B2 has 50.00−50.00=0 unallocated. Total edges equal 170.00 on both sides. Expected payouts 180.00=allocated 170.00+open payouts 10.00. Posted credits 170.00=allocated 170.00+unallocated bank 0.
The remaining 10.00 is an open allocation amount. It is not automatically a loss or platform underpayment. A credit might still be outstanding, the expected figure might have a documented adjustment, or your chosen population might include different cycles. The calculation identifies where to investigate; evidence determines the explanation.
Fictional expected payouts · CSV · Posted credits · CSV · Allocation edges · CSV · Independent answer key · JSON · Fixture instructions · TXT.
Use residual equations, not equal-grand-total reassurance
For payout i, residual=expected amount−sum of edges pointing to that payout. For bank credit j, residual=posted amount−sum of edges funded by that credit. The same edge appears in each equation because it links the two records; it is added once to the allocation total, not twice to revenue or cash.
Equal source totals are insufficient. If two payouts each expect 100 and two bank credits each show 100, entering just one 100 edge leaves one payout and one credit unallocated even though the grand totals agree. Conversely, the sample's unequal 180/170 totals are perfectly explainable as an explicitly open 10 payout balance. Always inspect the per-record witnesses as well as the group bridge.
Totals are grouped by the exact currency and payer labels you entered. Separate USD and GBP groups are not converted or combined into a fabricated total. Separate payers also remain separate. The parser verifies a three-letter uppercase currency label but does not infer the currency's minor-unit scale; declare and consistently prepare that scale in the source records. The fictional USD files use two decimal places.
Remove allocation A3 using the second sample button. Then P2 has 60.00 open and bank B2 has 50.00 unallocated. The group's gross difference is still 10.00, but the two residual inventories reveal the unresolved 50.00 relationship that a single net difference would hide.
Let unsupported edges fail visibly
Every payout ID and bank ID must be unique within its own file. IDs stay exact strings: "001" and "1" differ, as do "P1" and "p 1". All-blank names are refused, but accepted values are not silently trimmed or case-folded. Two different records must not be merged because they happen to share an amount.
An allocation needs its own unique nonblank allocation ID and known endpoints. One bank/payout pair may appear only once in this bounded matrix. If several evidenced events support the same pair, prepare one documented aggregate edge while retaining the component evidence outside this tool. Repeating a pair with another ID is rejected rather than counted twice unnoticed.
Both source amounts and edges must be positive whole minor units. Zero edges can be omitted; zero source rows are outside this model and should be reviewed separately. Negative adjustments need a separate documented treatment rather than being disguised as negative credits here. Grouping marks, currency symbols, decimal points, exponent notation and blank amounts are rejected. Arithmetic uses integer units and rejects unsafe totals.
Changing A3 from 5000 to 6000 attempts to allocate 60.00 from bank B2's 50.00 and therefore fails. Linking P2 to a credit with another currency or payer fails even if the arithmetic would fit. Selecting an unknown endpoint fails. These rules protect the declared matrix; they do not prove that a matching endpoint is genuine.
The current result is invalidated when inputs change. A rejected run does not retain an old valid matrix as a current result, and the export button remains unavailable until the present inputs produce a valid calculation. Keep an earlier downloaded working copy if you need to preserve it, and distinguish it from the failed attempt.
Move from this schedule back to evidence
The three inputs are comma-delimited UTF-8 CSVs, each limited to 1 MB and 2,000 data rows. The four exact headers may be reordered but none omitted, duplicated or replaced. Common quoted-field conventions follow RFC 4180; this does not make CSV a business schema or a source of payer identity. Header-only files are supported as empty populations, with no implication that a real account ought to be empty.
Every supported row contributes to the checks. Only the first 100 rows of a long witness table appear on screen; the current-scenario JSON includes all returned rows and input text. Downloading that record documents your declarations and arithmetic, not independent verification of bank ownership, settlement eligibility or platform rates. No bank login, payment action or automatic matching is performed.
The existing settlement guide already explains allocating a deposit and retaining outstanding balances. This page adds the working many-to-many matrix and local validation that the prose example does not execute. Use payout troubleshooting to investigate a difference and the exception register only after the nature of an unresolved amount is established. Arithmetic closure is a checkpoint, not a reason to stop asking what each record means.
