Workflow

Customer Ledger and Balance

How invoices and payments impact customer balance and ledger events.

Audience: Accounts receivable and customer service teams.

Related Collections

customerssalessalePaymentscustomerBalance

Execution Steps

  1. Step 1

    Invoice entry on sale create

    Sale creation posts a positive ledger movement and increases customer balance.

  2. Step 2

    Adjustment on total edit

    Only difference is posted when sale total changes.

  3. Step 3

    Payment reduces debt

    Payment posts a negative movement and lowers current balance.

  4. Step 4

    Payment delete restores debt

    Deleting payment creates a reversal entry and adds amount back.

Ledger Event Meanings

  • invoice: customer owes more
  • invoice_update: adjustment after total change
  • payment: customer owes less
  • payment_reversal: add debt back after delete