Payout reconciliation example

From settlement records to a reconciliation review.

Follow payout, transaction and bank records through explicit matching rules. Inspect the generated schedule, remaining differences and source references before deciding what needs review.

Which records explain the payout and its receipts?

The example compares three views of the movement: expected payout, transaction activity and bank receipts. A partial or unresolved match stays visible in the result.

Start with the files and rules.

The downloadable package keeps the source records alongside the processing configuration.

01

payouts.csv

Payout identifiers, expected amounts and settlement dates.

02

transactions.csv

Transaction activity associated with the payout references.

03

bank.csv and config.json

Bank receipts and the agreed currency, period and matching configuration.

Inspect the result and the exceptions.

Follow the source references from a result row to the input record. The generated files show the reconciliation outcomes, checks and review items.

Synthetic demonstration data.

2026-09-01 – 2026-09-30 · Bank records as of 2026-10-03 · USD

Declared payouts
$4,923.00
Source referencesPO-01 PO-02 PO-03 PO-04 PO-05 PO-06 RC-CONFIG
Linked bank receipts
$4,086.00
Source referencesBK-01 BK-02 BK-03 BK-04 BK-05 BK-06 PO-01 PO-02 PO-03 PO-04 PO-05 PO-06 RC-CONFIG
Open payout balance
$837.00
Source referencesBK-01 BK-02 BK-03 BK-04 BK-05 BK-06 PO-01 PO-02 PO-03 PO-04 PO-05 PO-06 RC-CONFIG
Processor / declaration difference
$5.00
Source referencesPO-01 PO-02 PO-03 PO-04 PO-05 PO-06 RC-CONFIG TX-01 TX-02 TX-03 TX-04 TX-05 TX-07 TX-08 TX-09 TX-10 TX-11 TX-12 TX-13 TX-14

This runnable pattern shows the record, structure, calculation, explanation and review stages of an implementation. An AI-assisted project may add extraction or explanation with a configured provider; financial controls remain deterministic.

Payouts and linked bank receipts

Scroll to inspect every column. Source IDs link to the original record.

Payouts and linked bank receipts · USD
PayoutAmount statusDate statusDeclaredProcessor netBank receiptsOpen balanceSource IDs
P-1001matchedon_time$970.00$970.00$970.00$0.00BK-01 PO-01 RC-CONFIG TX-01 TX-02
P-1002matchedon_time$660.00$660.00$660.00$0.00BK-02 PO-02 RC-CONFIG TX-03 TX-04 TX-05 TX-06
P-1003partial_bankon_time$1,455.00$1,455.00$1,200.00$255.00BK-03 BK-04 PO-03 RC-CONFIG TX-07 TX-08
P-1004source_mismatchon_time$480.00$485.00$480.00$0.00BK-05 PO-04 RC-CONFIG TX-09 TX-10
P-1005missing_bankoverdue$582.00$582.00$0.00$582.00PO-05 RC-CONFIG TX-11 TX-12
P-1006matchedlate$776.00$776.00$776.00$0.00BK-06 PO-06 RC-CONFIG TX-13 TX-14

Exceptions for review

Scroll to inspect every column. Source IDs link to the original record.

Exceptions for review · USD
ExceptionAmountFinding / actionSource IDs
DUPLICATE_TRANSACTION$800.00Identical business record; TX-06 excluded and TX-03 retained.TX-03 TX-06
LATE_BANK_CREDIT$776.00Receipt is booked after expected arrival.BK-06 PO-06 RC-CONFIG
MISSING_BANK_CREDIT$582.00No eligible bank receipt is linked as of the cutoff.PO-05 RC-CONFIG TX-11 TX-12
PARTIAL_BANK_CREDIT$255.00Linked receipts cover only part of the declared payout.BK-03 BK-04 PO-03 RC-CONFIG TX-07 TX-08
PAYOUT_SOURCE_MISMATCH$5.00Processor net minus declared payout is nonzero; bank equality does not resolve this.BK-05 PO-04 RC-CONFIG TX-09 TX-10
UNASSIGNED_BANK_CREDIT$250.00No payout declaration has this exact reference; no amount/date guess was made.BK-07
UNASSIGNED_TRANSACTION$200.00No payout declaration has this exact reference; investigate the source record.TX-15

Review before operational use

  • Confirm the duplicate and original source record.
  • Resolve the processor/declaration discrepancy.
  • Investigate partial, missing and late receipts plus unassigned references.

Reproduce the result

Download the complete package, unzip it and run Node.js from the extracted folder. The archive includes both examples, source records, tests and answer keys. No API key is required.

Download complete example package ↓
node verify.mjs
node run.mjs --example payout-reconciliation --output generated/payout-reconciliation
Commands inside the project checkout
node site/implementation-examples/2026-10-29/run.mjs --example payout-reconciliation --output site/implementation-examples/2026-10-29/outputs/payout-reconciliation
node --test site/implementation-examples/2026-10-29/tests/*.test.mjs
Source code, answer keys and package manifest

Trace a source ID

BK-01bank.csv · line 2Open source file
source_id
BK-01
bank_id
B-1001
payout_id
P-1001
booked_on
2026-09-04
amount_cents
97000
currency
USD
BK-02bank.csv · line 3Open source file
source_id
BK-02
bank_id
B-1002
payout_id
P-1002
booked_on
2026-09-08
amount_cents
66000
currency
USD
BK-03bank.csv · line 4Open source file
source_id
BK-03
bank_id
B-1003-A
payout_id
P-1003
booked_on
2026-09-12
amount_cents
90000
currency
USD
BK-04bank.csv · line 5Open source file
source_id
BK-04
bank_id
B-1003-B
payout_id
P-1003
booked_on
2026-09-14
amount_cents
30000
currency
USD
BK-05bank.csv · line 6Open source file
source_id
BK-05
bank_id
B-1004
payout_id
P-1004
booked_on
2026-09-19
amount_cents
48000
currency
USD
BK-06bank.csv · line 7Open source file
source_id
BK-06
bank_id
B-1006
payout_id
P-1006
booked_on
2026-10-03
amount_cents
77600
currency
USD
BK-07bank.csv · line 8Open source file
source_id
BK-07
bank_id
B-UNKNOWN
payout_id
P-UNKNOWN-B
booked_on
2026-09-20
amount_cents
25000
currency
USD
PO-01payouts.csv · line 2Open source file
source_id
PO-01
payout_id
P-1001
sent_on
2026-09-02
expected_arrival_on
2026-09-04
expected_cents
97000
currency
USD
PO-02payouts.csv · line 3Open source file
source_id
PO-02
payout_id
P-1002
sent_on
2026-09-06
expected_arrival_on
2026-09-08
expected_cents
66000
currency
USD
PO-03payouts.csv · line 4Open source file
source_id
PO-03
payout_id
P-1003
sent_on
2026-09-10
expected_arrival_on
2026-09-14
expected_cents
145500
currency
USD
PO-04payouts.csv · line 5Open source file
source_id
PO-04
payout_id
P-1004
sent_on
2026-09-17
expected_arrival_on
2026-09-19
expected_cents
48000
currency
USD
PO-05payouts.csv · line 6Open source file
source_id
PO-05
payout_id
P-1005
sent_on
2026-09-23
expected_arrival_on
2026-09-25
expected_cents
58200
currency
USD
PO-06payouts.csv · line 7Open source file
source_id
PO-06
payout_id
P-1006
sent_on
2026-09-30
expected_arrival_on
2026-10-02
expected_cents
77600
currency
USD
RC-CONFIGconfig.json · line 1Open source file
source_id
RC-CONFIG
currency
USD
period_start
2026-09-01
period_end
2026-09-30
as_of
2026-10-03
TX-01transactions.csv · line 2Open source file
source_id
TX-01
transaction_id
T-1001-S
payout_id
P-1001
type
charge
occurred_on
2026-09-01
amount_cents
100000
currency
USD
related_transaction_id
TX-02transactions.csv · line 3Open source file
source_id
TX-02
transaction_id
T-1001-F
payout_id
P-1001
type
fee
occurred_on
2026-09-02
amount_cents
-3000
currency
USD
related_transaction_id
TX-03transactions.csv · line 4Open source file
source_id
TX-03
transaction_id
T-1002-S
payout_id
P-1002
type
charge
occurred_on
2026-09-05
amount_cents
80000
currency
USD
related_transaction_id
TX-04transactions.csv · line 5Open source file
source_id
TX-04
transaction_id
T-1002-F
payout_id
P-1002
type
fee
occurred_on
2026-09-06
amount_cents
-4000
currency
USD
related_transaction_id
TX-05transactions.csv · line 6Open source file
source_id
TX-05
transaction_id
T-1002-R
payout_id
P-1002
type
refund
occurred_on
2026-09-06
amount_cents
-10000
currency
USD
related_transaction_id
T-1002-S
TX-06transactions.csv · line 7Open source file
source_id
TX-06
transaction_id
T-1002-S
payout_id
P-1002
type
charge
occurred_on
2026-09-05
amount_cents
80000
currency
USD
related_transaction_id
TX-07transactions.csv · line 8Open source file
source_id
TX-07
transaction_id
T-1003-S
payout_id
P-1003
type
charge
occurred_on
2026-09-09
amount_cents
150000
currency
USD
related_transaction_id
TX-08transactions.csv · line 9Open source file
source_id
TX-08
transaction_id
T-1003-F
payout_id
P-1003
type
fee
occurred_on
2026-09-10
amount_cents
-4500
currency
USD
related_transaction_id
TX-09transactions.csv · line 10Open source file
source_id
TX-09
transaction_id
T-1004-S
payout_id
P-1004
type
charge
occurred_on
2026-09-16
amount_cents
50000
currency
USD
related_transaction_id
TX-10transactions.csv · line 11Open source file
source_id
TX-10
transaction_id
T-1004-F
payout_id
P-1004
type
fee
occurred_on
2026-09-17
amount_cents
-1500
currency
USD
related_transaction_id
TX-11transactions.csv · line 12Open source file
source_id
TX-11
transaction_id
T-1005-S
payout_id
P-1005
type
charge
occurred_on
2026-09-22
amount_cents
60000
currency
USD
related_transaction_id
TX-12transactions.csv · line 13Open source file
source_id
TX-12
transaction_id
T-1005-F
payout_id
P-1005
type
fee
occurred_on
2026-09-23
amount_cents
-1800
currency
USD
related_transaction_id
TX-13transactions.csv · line 14Open source file
source_id
TX-13
transaction_id
T-1006-S
payout_id
P-1006
type
charge
occurred_on
2026-09-29
amount_cents
80000
currency
USD
related_transaction_id
TX-14transactions.csv · line 15Open source file
source_id
TX-14
transaction_id
T-1006-F
payout_id
P-1006
type
fee
occurred_on
2026-09-30
amount_cents
-2400
currency
USD
related_transaction_id
TX-15transactions.csv · line 16Open source file
source_id
TX-15
transaction_id
T-UNKNOWN
payout_id
P-UNKNOWN-T
type
charge
occurred_on
2026-09-20
amount_cents
20000
currency
USD
related_transaction_id
Explore the related implementation

Treat the exception as the next piece of work.

An unresolved amount or ambiguous reference needs evidence and an owner. A generated explanation can describe the result; the reviewer determines what supports closing the item.

01

Check the match

Compare the expected payout, transaction activity and associated bank receipts.

02

Inspect the exception

Read the reason and source references before changing a mapping or accepting a difference.

03

Record the resolution

Keep the evidence, decision and reviewer with the reconciliation record.

Reproduce the processing from the supplied inputs.

Download the source and output files or run the supplied package command. Reproduce the calculations and prepared explanation from the same records, then inspect the review items.

Map the equivalent process in your team.

Describe the provider files, bank receipts and exceptions you handle today. Use the assessment to agree the first scope and acceptance cases.

Your next workflow

Choose one process to improve.

Describe the records, the repeated task and the result your team needs.

Start your workflow assessment