Workflow
Supplier Ledger and Payables
How supplier opening balances, purchases, and supplier payments affect payables and ledger history.
Audience: Accounts payable and procurement controllers.
Related Collections
purchasessuppliersupplierBalancesupplierPayments
Execution Steps
Step 1
Step 1: Opening balance on new supplier
When a new supplier is created with initial balance, the system creates an opening_balance record in supplierBalance and sets supplier currentBalance.
Step 2
Step 2: Purchases post payable movements
Non-draft purchases create/update purchase ledger movements and increase supplier payable balance.
Step 3
Step 3: Supplier payments reduce payable
Supplier payment creates payment ledger movement and reduces supplier current balance. Editing payment adjusts by delta.
Step 4
Step 4: Reversals and deletes
Deleting purchase or payment triggers reversal logic to neutralize previous effect and keep balances consistent.
Ledger Event Types
- opening_balance: created when supplier starts with initial balance.
- purchase / purchase_update / purchase_reversal.
- payment / payment_reversal.
Control Recommendations
- Lock delivered purchases after approval.
- Audit reversal entries periodically.
- Require reason notes when deleting purchases/payments.