Accounting
Accounting produces, for each bank, double-entry postings from validated and traceable financial
events, through configurable posting rules; each day closes into an accounting report (CRE, compte
rendu d’événements). Never directly from the network files. Module ubo-accounting.
Operation (presentment, credit, reversal, dispute, transfer…) │ same database transaction ▼Financial event ──► Rules of the bank's scheme ──► Entries (debit = credit) │ day close ▼ Report (file) ──► bankThe model
Section titled “The model”| Object | Content |
|---|---|
| Financial event | Type, amount, currency, direction, accounting day (Paris), value date, cardholder account, card, operation, origin (network message, file and line, portal action), uniqueness key, status (to post, posted, in anomaly) |
| Chart of accounts | The bank’s accounts: code, label, nature (asset, liability, income, expense, suspense) |
| Accounting scheme | Versioned; a published version no longer changes and applies from the next open day |
| Rule | Per event type (and condition): account debited, account credited, amount, label |
| Entry | Event, rule and version, accounts, amount, currency, day, status, reversed entry |
| Day | Per bank: open, closed (by whom, when), totals, report produced |
The default scheme
Section titled “The default scheme”| Event | Origin | Debit | Credit |
|---|---|---|---|
| Purchase cleared | Presentment, single message approved | Cardholder accounts | Network settlement payable |
| Withdrawal cleared | Presentment of a withdrawal | Cardholder accounts | Network settlement payable |
| Refund cleared | Credit, single-message reversal | Network settlement payable | Cardholder accounts |
| Acquirer reversal | Cleared reversal | Network settlement payable | Cardholder accounts |
| Dispute provisional credit | Case opened | Disputes, advances to cardholders | Cardholder accounts |
| Dispute rebill | Case withdrawn, lost | Cardholder accounts | Disputes, advances to cardholders |
| Dispute raised | The network credits the issuer back | Network settlement payable | Disputes, advances to cardholders |
| Dispute loss | Case lost | Dispute losses | Disputes, advances to cardholders |
| Incoming transfer | Salary, top-up | Transfer link | Cardholder accounts |
A card without a cardholder account goes through a suspense account (“unattached cardholder operations”). Holds are not posted: they are commitments, not movements.
Posting and close
Section titled “Posting and close”- The financial event is written in the same transaction as the account movement: no movement without an event, no ghost event.
- A job posts the pending events every 15 seconds.
- The accounting day is the Paris calendar day. Every night (after the clearing), the previous day closes in three steps: post what remains, check, freeze and produce the report. An event arriving after the close goes to the next open day, keeping its original value date.
| Blocking check | |
|---|---|
| Balance | Debit = credit, per day and per currency |
| Completeness | Every event of the day is posted |
| Immutability | No entry on a closed day |
| Consistency | The report’s totals equal the entries’ |
| Uniqueness | One report in force per bank and per day; a sent report is no longer regenerated |
The report
Section titled “The report”A fixed-position file produced by the file engine (read back and checked against its format, signed, send tracking): a header (bank, day, generation date), one line per entry (accounts, amount, currency, day, value date, label, operation reference), a trailer (number of lines, total debit, total credit). It goes to the bank through its exchange point.
Reconciliation and corrections
Section titled “Reconciliation and corrections”- For each clearing file, the net total posted to the network settlement account must equal the file’s total; a gap is flagged on the day.
- An entry is never changed: an error is corrected by a reversal then a new entry, on an open day.

