Finance Engineering & Data Infrastructure
Platform settlements to AR: the journal entries behind every payout
Seamline Editorial · Finance content team · Updated
TL;DR
The customer paid. You have not been paid. Receipt, settlement and withdrawal are three events, not one, and revenue runs on a fourth clock. Posting a payout as one debit to bank and credit to revenue hides the channel balance between them, the fees taken at two different stages, and the receivable on orders shipped but not yet settled. The fix is a chain of state transitions, each with its own source document, debit and credit. These rules come from one cross-border group’s internal design document, anonymized to a generic pattern. Educational content only; not accounting or tax advice.
The customer paid. You have not been paid.
The customer paid. You have not been paid. Both are true on the same day. Money leaves the buyer and lands with a payment channel, a marketplace or a carrier, not with your bank.
Receipt, settlement and withdrawal are not synonyms. A payment creates a receivable against a channel, not cash. Settlement turns frozen funds into an available balance. Withdrawal moves that balance into a corporate bank account. Each step changes a different balance-sheet line.
Revenue is a fourth event on another clock. Non-COD orders recognize it at shipment, with a matching cost entry; COD orders wait for confirmed delivery. Cash timing and revenue timing are deliberately different, and the ledger keeps both.
One combined entry cannot name all four events. It hides the channel balance between payment and payout, the fees deducted at two stages, and the receivable on shipped orders. The bank total looks right while every component behind it is wrong.
The entries below come from one cross-border group’s internal business-finance design document, anonymized to a generic pattern: Entity A and Entity B, generic accounts, no real entity, warehouse, account or document number. They are engineering rules, not accounting standards and not official platform rules.
Paid is not banked, and banked is not revenue
A paid order is not cash, and a settled payout is not revenue. Cash and revenue move on different clocks, so one entry cannot describe both.
Four money paths, four different first holders
Not every order collects money the same way. The document separates four paths. They differ in who holds the cash first, which statement triggers the document, and whether a settlement leg exists at all. Merging them into one “platform settlement” flow is where reconciliation breaks.
Off-site third-party payment covers independent-site orders paid through channels such as Stripe or PayPal. Funds land in a merchant account as a pending-settlement balance, clear on a cycle such as T+3, and only then can a withdrawal carry them to the bank. Transaction, settlement and withdrawal flows are parsed separately.
On-site card charging is a fee path, not a customer-payment path. Subscription, app and service charges are taken from a company card, producing expense payment and expense refund documents. No customer money passes through it, so no sales receipt is created; posting one invents an asset that never existed.
COD puts the carrier in the middle: the buyer pays on delivery, the carrier collects on the seller’s behalf, and a COD bill becomes a sales receipt. Platform collection, used by Amazon and TikTok Shop, is the tightest: the platform collects, nets commission, service, storage and logistics fees inside one bill, and pays out the net. When Entity B receives cash owed to Entity A, an internal balance replaces the bank transfer.
- Shopify separates order status from payment status, so a shipped order can still be unpaid (checked 2026-11-21).
- A settlement cycle is a configuration, not a rule; T+3 is an example.
- Only three of the four paths move customer cash; the card path moves company cash out.
| Money path | Who holds cash first | Documents created | Journal focus |
|---|---|---|---|
| Off-site third-party payment | Merchant account at the channel, pending settlement | Sales receipt / refund, settlement, expense payment / refund, withdrawal receipt | In transit → channel available balance → bank |
| On-site card charging | Nobody; a company card is charged | Expense payment / refund only | Selling expense against a fee receivable |
| COD carrier collection | The carrier, on delivery | COD sales receipt / refund, COD delivery document | COD collection receivable against channel funds |
| Platform collection (Amazon / TikTok Shop) | The marketplace, which nets fees in one bill | Sales receipt / refund, fee payment / refund, settlement, withdrawal receipt | Platform balance, in-bill fee deductions, net payout |
A receivable that never existed
Treating on-site card charging as a customer-payment path invents a receivable that never existed.
What are the journal entries behind every payout?
This is the core table. Read each row as a rule: what happened, what is debited, what is credited, and what the entry does. No figure here is a real amount.
Two conventions carry it. A refund reuses the payment’s accounts as a negative amount or a debit-credit reversal. Settlement moves funds from “other monetary funds: channel in transit” into “other monetary funds: channel available balance”; withdrawal then moves them into bank deposits. Skipping the middle account makes in-transit cash invisible.
Channel fees are two-sided: selling expense against a fee receivable, while the cash side reduces the channel balance. Revenue and cost arrive as a pair. Shipment debits accounts receivable and credits revenue; the matching entry debits cost and credits inventory.
| Stage | Business event | Debit | Credit | Note |
|---|---|---|---|---|
| Customer payment | Buyer completes payment; funds frozen or in transit | Other monetary funds: channel in transit | Accounts receivable | Sales receipt. A refund reuses these accounts as a negative or reversed entry. |
| Customer refund | Channel or carrier returns funds to the buyer | Accounts receivable (negative) | Other monetary funds: channel in transit (negative) | Sales refund. For COD, the source is the COD bill or a bank refund flow. |
| Channel settlement (T+3) | Channel clears pending funds into an available balance | Other monetary funds: channel available balance | Other monetary funds: channel in transit | Sales settlement document. The cycle length is a configuration value. |
| Withdrawal received | Channel or platform pays out to the company bank account | Bank deposits: corporate account | Other monetary funds: channel available balance | Withdrawal receipt. Entity A sells / Entity B receives: use an internal balance. |
| Channel fee deduction | Commission, payment fee, subscription or service fee deducted | Selling expense | Accounts receivable: store (fee receivable) | Expense payment document; the cash side reduces the channel balance. |
| Revenue at shipment | Goods shipped for a non-COD order | Accounts receivable | Revenue from main operations | Receivable document. COD uses confirmed delivery as the trigger. |
| Cost at shipment | Inventory cost carried out with the shipment | Cost of main operations | Merchandise inventory | Cost = inventory cost × shipped quantity, computed in the ERP. |
| Refund reverses revenue | Shipped order refunded after revenue was recognized | Revenue from main operations / sales returns (negative) | Accounts receivable (negative) | Negative receivable reverses both sides; returns restore inventory separately. |
A payout that will not decompose leaves the AR a guess
If a payout cannot be decomposed into receipt, settlement, withdrawal, revenue and cost, the AR balance is a guess even when the bank total ties.
In transit is a computable number, not a status
The balance on a channel dashboard is not what you are owed. Net receivables, settled cash and in-transit cash are three numbers, each defined as a formula, because a statement reports cash while the ledger reports an accrual.
Net receivables equal the successful transaction amount minus refunds minus transaction fees, all from the transaction bill. In-transit cash equals net receivables minus the settled amount minus settlement fees, where the last two come from the settlement bill. Variance equals in-transit cash minus the reserve the channel holds back; a nonzero variance is a signal to reconcile, not a rounding error to write off. Stripe documents gross, fee and net as separate parts of a balance transaction, the same three-way shape (checked 2026-11-21).
Do not merge the two fee stages. Transaction fees are deducted when the buyer pays; settlement fees when the channel clears the funds. The acquiring-channel balance table is snapshotted at 00:00 on the first day of each month for the prior month and never changes after generation; that frozen file, not the live table, ties the channel balance to the general ledger.
- Net receivables = successful transaction amount − refunds − transaction fees.
- In-transit cash = net receivables − settled amount − settlement fees.
- Variance = in-transit cash − reserve; reconcile it, do not round it away.
| Field | Sample data value | Calculation logic |
|---|---|---|
| Successful transaction amount | 10,000.00 | Sum of successful payments in the period. |
| Refunds | 200.00 | Sum of refunds completed in the bill. |
| Transaction fees | 300.00 | Fees charged at the payment stage. |
| Net receivables | 9,500.00 | Successful amount − refunds − transaction fees. |
| Settled amount | 9,100.00 | Funds cleared into the channel available balance. |
| Settlement fees | 300.00 | Fees charged at the settlement stage. |
| In-transit cash | 100.00 | Net receivables − settled amount − settlement fees. |
The formula to keep
In-transit cash = net receivables − settled amount − settlement fees. If that number cannot be rebuilt from two bills, the settlement leg is missing from the ledger.
Why the monthly balance rolls forward, and why merges are idempotent
Two controls stop history from being rewritten. The monthly AR balance table is a month-end snapshot generated once and then frozen; the AR write-off table is live and keeps changing. Confusing the two is how a closed month appears to move.
The opening rule is short and strict. This month’s opening balance equals last month’s closing balance for the same write-off group, keyed by selling organization, platform, store and platform order number; the first time that group appears, the opening balance is 0. There is no fallback to the live balance. Closing balance comes from the remaining receivable in the write-off table, and the base-currency figure multiplies it by the currency rate.
A merge document has a hard precondition: the accounting period must be closed. Only then may the monthly merge task run, and only after a merge is generated successfully may anything be pushed to the ERP. An unclosed period terminates the task with an explicit failure message rather than producing a provisional merge.
Grouping is by source document type plus merge fields within the period. Shipment, COD delivery and return documents group by store, warehouse and SKU; refunds by store and refund method; receipts by store, funding organization, receiving account, receivable currency and collection currency. One source document may take part in exactly one valid merge, with idempotency checked by source document ID and merge status. A failed ERP push retries the same merge instead of regenerating it.
A change after a merge never edits the original. The rule is “reverse the original in red + generate a new version”; both are dated into the next unclosed accounting period and merged there. Voiding is allowed only before a successful push; after voiding, source documents return to unmerged and the void cannot be undone.
- This month opening = last month closing for the same key; first appearance = 0.
- Closed period → merge allowed → merge generated → push to the ERP allowed.
- Group by source document type + merge fields; sum inside one group only.
- One source document, one valid merge; changes go through red reversal + new version.
Opening balance must equal the prior closing
If this month’s opening is not last month’s closing for the same key, the snapshot is being rebuilt from live data.
A COD reshipment keeps its gift line at zero
A COD parcel fails its first delivery and returns to a warehouse. Rather than build a fresh order, the seller reships the original parcel; the reshipment order links back to the original order number and carries the original SKU lines. That link is why the resulting receivable looks unusual.
The buyer paid for one normal product and receives a second line as a gift. In the receivable document, the normal line keeps its amount (Sample data: 100 units of currency, a non-real amount) while the gift line is kept at exactly 0. Zero here is a stored decision, not a missing value. The gift line is not deleted: it preserves the full product relationship between parcel and SKUs, and its quantity and unit cost still flow into the shipment document where cost is carried out.
When the carrier later settles the collected cash, bank deposits or channel funds are debited and the COD collection receivable credited for the amount actually collected; the gift line contributes zero, which is correct. All figures in this section are Sample data: illustrative, non-real amounts, not quotes.
Seamline’s role is the detection layer: keeping receipt, settlement and withdrawal as separate events, tracing each to a source document, and flagging the balance that cannot be explained. The work is detection and reconciliation, not bookkeeping. These entries, formulas and rules come from one cross-border group’s internal business-finance design document, anonymized to a generic pattern. They are not accounting standards and not official platform rules. Educational content only; not accounting or tax advice.
- Keep the gift line at zero; do not drop it from the receivable document.
- Carry its quantity and unit cost into the shipment document anyway.
- Credit the COD collection receivable only for cash the carrier actually collected.
A zero-amount line still does work
A zero-amount line is a real line. Removing it makes the receivable look cleaner and breaks the inventory-to-cost tie.
FAQ
Why are receipt, settlement and withdrawal three separate journal events?
Each event moves cash between a different pair of accounts. Payment creates a receivable against in-transit funds, settlement moves those funds into an available channel balance, and withdrawal moves that balance into the bank. One combined entry hides the in-transit balance and the fees deducted at two different stages.
How is in-transit cash calculated, and why is it lower than net receivables?
Net receivables equal the successful transaction amount minus refunds minus transaction fees. In-transit cash equals net receivables minus the settled amount minus settlement fees. It is lower because part of the accrual has cleared and the settlement stage takes its own fee; the variance against the reserve is then reconciled, not written off.
Why does the monthly AR balance open at the prior month close, and at zero the first time?
The monthly table is a frozen snapshot, so its opening balance must be the closing balance of the same write-off group from the prior month, keyed by selling organization, platform, store and order number. The first time a group appears there is no prior close, so the rule writes zero. Rebuilding the opening from the live table would let a closed month change.
What if a source document changes after it has been merged, and where do these rules come from?
The original is never edited. The system reverses it in red and creates a new version, both dated to the next unclosed accounting period, and merges them there. The entries, formulas and merge rules in this article come from one cross-border group’s internal design document, anonymized to a generic pattern. They are not accounting standards and not official platform rules.
See every payout reconcile to the entries it should produce
The demo shows how Seamline detects gaps between platform settlements, channel balance transactions and AR postings, then reconciles each payout back to the documents and journals behind it.
Sources
- Anonymized internal finance-ops PRD / report field dictionary, reduced to generic patterns. Source of the journal entries, in-transit formula, monthly snapshot and merge rules in this article.
- Stripe Docs, Balance transactions: gross, fee and net as separate components of a payout (checked 2026-11-21)
- Shopify Help Center, Order status: order status is not payment status (checked 2026-11-21)