Ultimate

X_LEDGER_UNBALANCED

Means

a ledger posting does not sum to zero in every currency

Typical cause

the debits and credits of one posting differ in at least one currency

Fix

entries: [{ account: 'cash', amount: { minor: -500, currency: 'EUR' } }, { account: 'revenue', amount: { minor: 500, currency: 'EUR' } }] — in the enqueue of the ledger job: every currency nets to zero

Listed under Jobs

This page as markdown