General Ledger / Money Precision is where ERP discipline either begins or breaks.
Multi-Currency Rounding Residual Distribution (Banker's Rounding) looks operational from far away. In a real finance team, it is a chain of assertions: the right actor started the work, the required records existed, the control policy was applied, the state change was preserved, and the outcome can be explained later without rebuilding the transaction from emails and spreadsheets.
The expected business outcome is specific: Multi-line allocations and conversions always foot exactly to the total in every currency; rounding is auditable and reproducible; no silent rounding drift accumulates across periods.
The control flow a finance team actually needs.
Step 1
Allocation Residual Distributed...
Step 2
Banker'S Rounding Per ADR-001, Never...
Step 3
Per-Currency Minor-Unit Precision Honored
Step 4
Same Inputs → Identical Allocation...
Step 5
Residual Assignment Rule Documented And...
The ERP surface involved.
Module
General Ledger / Money Precision
Actors
Allocation/Posting Engine, GL System, Auditor
Tier
Tier 2
Finance area
Cross-Cutting Edge Cases & Failure Modes
Region lens
US and UK finance teams
Publication date
June 30, 2026
allocation residual distributed deterministically so Σ(parts) == whole exactly (no lost/created minor unit); banker's rounding (round-half-to-even) per ADR-001, never hand-rolled; per-currency minor-unit precision honored (no `/100` USD assumption); same inputs → identical allocation every run (deterministic, reproducible); residual assignment rule documented and testable; works for tax splits, cost allocations, intercompany legs, and FX conversion; unit tests cover JPY (0-minor) and BHD/KWD (3-minor) edge currencies.
US and UK teams have different compliance hooks, but the same control problem.
US teams usually care about clean evidence for audit support, vendor records, payment controls, tax reporting, and management review. UK teams usually care about VAT-ready records, approval evidence, digital-record discipline, and traceable postings. The country-specific details differ, but the operating pattern is the same: the ERP needs controlled records, explicit ownership, defensible state changes, and evidence that survives beyond the person who completed the task.
The control matrix.
| Control area | Requirement | Acceptance proof |
|---|---|---|
| Control 1 | allocation residual distributed deterministically so Σ(parts) == whole exactly (no lost/created minor unit | Given a total amount_minor of 100 in a 3-minor-digit currency (BHD) to be split across three lines |
| Control 2 | banker's rounding (round-half-to-even) per ADR-001, never hand-rolled | when the allocation engine distributes the amount |
| Control 3 | | then the sum of the three allocated line amounts equals exactly 100 minor units, the residual is assigned to one line deterministically via banker's rounding, and the same inputs always produce the same allocation |
| Control 4 | same inputs → identical allocation every run (deterministic, reproducible | |
| Control 5 | residual assignment rule documented and testable | Multi-line allocations and conversions always foot exactly to the total in every currency; rounding is auditable and reproducible; no silent rounding drift accumulates across periods. |
| Control 6 | works for tax splits, cost allocations, intercompany legs, and FX conversion | Multi-line allocations and conversions always foot exactly to the total in every currency; rounding is auditable and reproducible; no silent rounding drift accumulates across periods. |
Audit evidence is a chain, not a folder.
| Evidence layer | What should be preserved |
|---|---|
| Business event | |
| Control rules | |
| Acceptance proof | |
| Data record | |
| System event | |
| Lifecycle state | |
The useful version of this workflow is not only fast. It is inspectable. A controller, auditor, or operator should be able to move from source event to system record to state transition to final business outcome without guessing.
Implementation contracts.
Reference data model
`allocation_line` { id: string, parent_id: string, line_index: int, allocated_amount_minor: int64, currency_code: char(3), rounding_method: string, external_id: string }; parent sum constraint: Σ(allocated_amount_minor) == parent total_minor; (reference, product may differ).API and events
`POST /v1/allocations` { total_amount_minor, currency_code, lines: [{ share_numerator, share_denominator }] } -> 201 { lines: [{ allocated_amount_minor, currency_code }], sum_check: int64 }; deterministic: same request body -> identical response; emits `allocation.computed` event; no float on any field.State transitions
allocations are computed values, no lifecycle states; guard: Σ(parts) != total_minor returns 422 `allocation_sum_mismatch`; no `/100` or `/1000` without per-currency minor-unit lookup; banker's rounding enforced, not truncation or round-half-up.Common implementation traps.
Treating the workflow as data entry
If the ERP only stores the final record, the team loses the decision trail that explains how the record became valid.
Hiding exception logic
Exceptions need owners, reason codes, and time stamps. A vague pending state is not a control.
Posting without recovery design
Retries, duplicate submissions, and partial failures must be explicit so the system does not create inconsistent records.
Skipping evidence design
A workflow that cannot produce evidence on demand will eventually push finance teams back into manual screenshots and spreadsheets.
Where Rivane fits.
Rivane is built for finance workflows where automation must stay tied to source documents, approvals, state transitions, ledger impact, reporting, and audit evidence. Use this guide as a checklist for evaluating whether an ERP workflow is merely digitized or actually controlled.
References and source basis.
These sources provide the standards, regulatory, or government context around the flow. They are included so the guide is useful to finance operators, auditors, and implementation teams, not only buyers reading software copy.