What an Issuer-Processor Does and Where Accounting Breaks
By Formance Staff
Ledger
Research
Accounting
Loading article content
Loading table of contents
Loading author
_FORMANCE LEDGER/
Post your first card transactions
Clone the Formance Ledger on GitHub, post your first card_auth and card_capture transactions locally, and use the reconciliation patterns to shape the matching logic against your network settlement file.
An issuer-processor ledger is the system of record for every authorization, clearing, and chargeback in a card program. When the ledger drifts, engineering spends days tracing residuals and finance can't tell auditors who owns what.
At a corporate card program with 4,000 active cards, the daily settlement file disagrees with the ledger by $2,600. One engineer spends a full day on a $12,000 hotel authorization that never released.
Two partial clearings were left with a residual pending past day 30. An incremental refresh updated the timestamp, and the release job skipped it. The card issuer's omnibus account total matches the bank statement, but the finance team cannot break that total down per cardholder to show what each one owes.
Issuer-processor ledger design handles that lifecycle with per-event posting, per-authorization accounts, and workflows tied to network clocks. With that ledger design, per-cardholder balances stay accurate from authorization through chargeback. Without that ledger design, drift compounds into failed reconciliations, audit findings, and chargeback losses.
What does an issuer-processor do in a card transaction?
An issuer-processor handles each card transaction in five steps: authorization and hold placement, hold lifecycle and expiry, clearing and presentment, settlement and funds movement, and reversals, refunds, and chargebacks.
The ledger uses a different posting shape for each activity. Formance Ledger is an open-source, programmable core ledger that unifies fiat and digital assets with regulatory-grade traceability. The ledger treats every lifecycle event as its own posting between named accounts.
Step 1: Authorization and hold placement
An approved authorization creates a hold against available balance before any money moves. The acquirer's message reaches the issuer-processor through the network. The processor runs balance checks, limit checks, fraud scoring, and card controls, and returns an approval or decline.
The hold is denominated in the settlement currency, and every later event tied to the transaction (an authorization advice or reversal, and later the clearing) adjusts to the same hold.
Step 2: Hold lifecycle and expiry
Every hold carries a release clock your ledger must honor, and an incremental authorization does not reset it.
Hold windows vary by card network and merchant category. Travel and hospitality merchants (lodging, vehicle rental, and cruise lines) typically have longer windows than card-not-present retail purchases.
Each network publishes its own schedule, which the ledger must honor for each transaction.
Step 3: Clearing and presentment
Clearing converts the hold into a posted debit. After authorization, clearing collects the merchant's transactions and sends them through the network to the issuer.
Dual-message flows send authorization and clearing as two separate network messages (common for credit). Single-message systems carry both in one message (common for PIN debit).
The functional line between dual- and single-message networks has blurred as both have added overlapping capabilities.
Authorization and clearing are separate ledger events even when one message carries both. If they are collapsed into a single event, the ledger loses the hold-vs.-posted distinction and reconciliation against the network's settlement file breaks.
Authorization, clearing, and settlement can span anywhere from one to several business days. Read the card transaction timeline for the full breakdown by rail.
Step 4: Settlement and funds movement
Settlement moves funds between members to discharge the obligation the ledger recorded at clearing. Settlement timeframes vary by network, settlement service, and currency.
A member that submits a clearing record must be ready to settle within the network's published window for that service. It can run same-day for some domestic rails and multiple business days for cross-border or multi-currency settlement.
Step 5: Reversals, refunds, and chargebacks
Reversals, refunds, and chargebacks each adjust or reopen a posting the ledger made. An authorization reversal is due within 24 hours of the transaction completing when the final amount is below the sum of the authorized amounts.
However, the exact window depends on the network's rules for that transaction type.
Dispute windows run from roughly 120 to 540 calendar days from the transaction processing date, depending on the dispute reason code. The issuer must complete the investigation within a defined window, which varies by jurisdiction and transaction type.
Every reversal, refund, and chargeback lands as a separate posting on your ledger.
Where does accounting break in an issuer-processor?
Accounting breaks in four places: when authorization, clearing, and expiry amounts diverge, when duplicate processing posts twice, when reversals, refunds, and foreign exchange change the amount, and when settlement files and disputes reopen posted state.
Every break starts when an event arrives, from the network or an internal job, that doesn't match the posting the ledger recorded. Card settlement file reconciliation surfaces breaks when the network's daily file and the ledger's postings for the same authorization disagree.
1. Authorization, clearing, and expiry amounts diverge
The clearing amount can differ from the hold. Tax, tip, shipping, and partial fulfillment all push the clearing amount away from the authorized hold.
On split shipments, Visa lets a card-absent merchant clear multiple shipments against a single authorization, as long as the acquirer tags each clearing with a Multiple Clearing Sequence Number.
For cardholder-initiated card-absent transactions, you can authorize up to 15% of the clearing amount, but the amounts must match after a partial authorization. Every shipment must clear within the authorization's validity window, currently 10 calendar days for cardholder-initiated card-absent transactions.
Take an estimated lodging authorization of $12,000. $9,400 clears across two presentments, and the remaining $2,600 should return to available balance on day 30.
If a ledger releases the $2,600 on day 10 rather than holding it through day 30, the early release overcounts available balance by $2,600.
For the next twenty days, the ledger approves authorizations against the overstated available balance of $2,600, when it should decline them.
A ledger that never releases the $2,600 strands the hold indefinitely, usually surfaced only when the cardholder disputes a declined transaction or finance runs a quarterly stale-hold report.
2. Duplicate processing posts twice
Duplicate card postings start when a retried webhook or re-run internal job delivers the same clearing twice. Without a stored key, the ledger posts two debits.
A timeout can produce the duplicate when the issuer-processor service commits the posting, but its acknowledgment never reaches the processor.
An application-level "have I seen this event" check does not close the duplicate-posting mismatch, because the check and the write are separate operations.
A crash between the check and the write means the service restarts before the write lands. When upstream retries the event, the application sees it as unprocessed and writes a duplicate again.
Without a client-supplied idempotency key on the write, the ledger accepts the second posting, so the key must be set at the posting boundary.
3. Reversals, refunds, and foreign exchange change the amount
The amount that reverses or refunds is rarely the amount that was held. Network rulebooks also disagree on reversal deadlines, so a processor built on an outdated or conflicting rulebook revision can be out of compliance without knowing it.
Refunds can post against the original transaction or as a standalone. Keying every refund to the original authorization ID in metadata keeps the choice consistent. Without the original authorization ID in posting metadata, a refund that arrives after the hold expired has no parent to attach to.
Foreign exchange (FX) compounds amount mismatch. The hold is in the anticipated settlement currency, the merchant amount is in the merchant's currency, and the cardholder is billed at a rate that moves between hold and settlement.
A transaction touching three currencies needs one posting per currency leg. A single net posting at the settlement rate bakes drift into the design.
4. Settlement files and disputes reopen posted state
The daily settlement file and the ledger's view of the day can disagree.
A posted balance is not final. Under the Mastercard Chargeback Guide, most chargebacks must be filed within 90 to 120 days of settlement, and some, such as disputes over interrupted services, within 540 days.
A valid chargeback that falls outside those windows goes through a compliance case instead.
Which issuer-processor ledger properties prevent accounting breaks?
Five ledger properties prevent the above financial drifts. These are double-entry accounting with append-only immutability, idempotent processing at the posting boundary, bi-temporal records for late events, reconciliation that ingests the network file, and network timers as ledger events.
The storage layer enforces these issuer-processor ledger properties, or workflows coordinate them where appropriate.
1. Double-entry accounting with append-only immutability
Double-entry accounting requires every balance change to have a matching debit and credit, so the two sides of every transaction always sum to zero. Append-only immutability means postings are never edited or deleted, so a correction is a new compensating posting on a hash-chained log that leaves the original intact.
Give every authorization its own hold account. The account balance is the amount still pending for that one transaction, so checking it is a direct lookup.
A clearing moves money out of the hold account, and the expiry returns the remainder to available balance. An incremental adds to the same hold account and keeps the original expiry, so changing the amount never extends the hold.
The three postings model an incremental authorization at a hotel on a corporate card, written in Numscript, Formance's purpose-built transactional language.
The ledger records them as postings in an immutable, hash-chained transaction log.
// CARD_AUTH// Event: hold USD 48,000.00 against Acme's available balancesend [USD/2 4800000] ( source = @customers:acme:available destination = @customers:acme:hold:8c21)set_tx_meta("event_type", "card_auth")set_tx_meta("auth_id", "8c21")set_tx_meta("visa_field_60_10", "2")// CARD_AUTH_INCREMENTAL// Event: add USD 4,300.00 to the same authorization holdsend [USD/2 430000] ( source = @customers:acme:available destination = @customers:acme:hold:8c21)set_tx_meta("event_type", "card_auth_incremental")set_tx_meta("auth_id", "8c21")// CARD_CAPTURE// Event: clear USD 52,300.00 from the hold toward network settlementsend [USD/2 5230000] ( source = @customers:acme:hold:8c21 destination = @counterparties:cardNetworks:visa:settlement:pending)set_tx_meta("event_type", "card_capture")set_tx_meta("auth_id", "8c21")
Had the clearing arrived at $50,000.00, the $2,300.00 residual would remain in the hold account.
If no reversal arrived, the applicable authorization-expiry window would release the residual only as a backstop.
In both the reversal and expiry cases, the ledger shows that the $2,300.00 belonged to authorization 8c21.
2. Idempotent processing at the posting boundary
Each source event carries a stable client-supplied key that can be stored as transaction metadata. Processing checks the key before creating another posting, so a clearing delivered twice posts once.
3. Bi-temporal records for late events
Bi-temporality means a transaction carries both when the event was effective and when the ledger recorded it.
Suppose a cardholder disputes an interrupted subscription 400 days after the original clearing posted, inside Mastercard's 540-day limit for that dispute type. The chargeback posts with today's record time and an effective time set to its own settlement date, linked back to the original transaction, so balances for days you've already reconciled don't change.
A query as of the day-0 record time still returns what the ledger knew then, and a current query shows the dispute posted against the day-0 effective time.
With bi-temporal records, the chargeback reopening the original transaction adds a posting and leaves earlier ones intact.
4. Reconciliation that ingests the network file daily
The settlement file is the external source of truth for the money leg, and the ledger is the source of truth for the obligation leg. Ingesting the file every day means data drifts surface on day one.
Named per-party accounts attribute balances to the right owner. The issuer's omnibus account sits alongside per-authorization-hold accounts, and the program manager's fees post to their own accounts. The omnibus balance then decomposes per cardholder as a query over postings, with no hand-built report.
5. Network timers as ledger events
Scheduled workflows can submit hold expiry and regulatory provisional-credit deadlines as ledger postings. Formance Flows handles this scheduling as an orchestration module for multi-step financial processes.
Dispute-window actions post the same way, as scheduled postings keyed to the dispute-window deadline.
On day 30 of the hotel hold, a delayed workflow submits a release posting that moves the residual from @customers:acme:hold:8c21 back to @customers:acme:available with auth_id 8c21 in its metadata.
Each timer-triggered posting carries the authorization ID, so the workflow applies the network or regulatory deadline.
The next step: an issuer-processor review checklist
Building an accurate issuer-processor ledger means testing it against the accounting breaks that cause balance drift.
Address these eight questions before your next card-ledger architecture review.
1Does every balance change post as a balanced double-entry posting? Does processing prevent the same source event from creating a second posting?
2Do your workflows expire holds on the network's published release clock for each merchant category? Do incrementals post into the existing hold without extending it?
3Are reversals posted within the network's required window when the final amount is below the authorized amount?
4Does a split-shipment clearing exceeding the allowed variance from the authorized amount raise a flag?
5Does the reconciliation process ingest the daily settlement file and surface differences the same day?
6Can you decompose the omnibus balance per cardholder as a point-in-time query?
7For a multi-currency transaction, does each currency have its own posting leg? Does FX gain or loss post to a separate account?
8Can you post a transaction reopening within the 120-, 540-, or 730-day network windows without overwriting its history?
Each failed answer should become a named control test with an owner and deadline. Most of these controls (hold accounts per authorization, idempotent writes, bi-temporal history) map directly to primitives in a core ledger.
The ledger enforces double-entry and append-only immutability at the storage layer, so the fastest way to pressure-test the design is to run the postings against one.