Trader — sell, fulfil and post COGS
Sales orders, allocation, fulfilment, invoice, receipts and the COGS journal that clears inventory.
Sell the stock
- S1
Create the sales order
Customer, dates, currency and lines (variant, quantity, unit price). Save → PENDING.
Customer Hub → Sales Orders → New Sales Order - S2
Approve — allocate
Approval reserves stock. Available = on hand − allocated. Not enough stock rejects the approval with the available quantity. No journal posts.
Customer Hub → Sales Orders → Submit for Approval - S3
Fulfil
Only APPROVED orders can be fulfilled. Fulfilment lowers on hand and allocated, writes an ISSUE movement, and posts COGS at weighted-average cost when cost is known.
Customer Hub → Sales Orders → Fulfil - S4
Invoice
Approval issues the invoice and posts Dr 1200 AR / Cr 4000 Sales Revenue. The current path is tax-free.
Customer Hub → Invoices → New Invoice - S5
Collect
Dr cash or bank / Cr 1200 AR. Partial receipts leave PARTIALLY_PAID; the final receipt clears AR.
Finance → Payments → Record Receipt
The COGS journal
| Event | Debit | Credit |
|---|---|---|
| Sales fulfilment (cost known) | 5300 Cost of Goods Sold | 1300 Inventory |
| Sales invoice | 1200 AR | 4000 Sales Revenue |
| Customer receipt | 1000 Cash or 1010 Bank | 1200 AR |
Watch
Zero-cost sales post no COGS
If the variant has no purchase history, its weighted-average cost is zero and the fulfilment posts no COGS. Check the inventory valuation before you trust a margin.
Reconcile the trader close
- Inventory Valuation (quantity × WAC) equals GL 1300.
- GRNI 2050 nets to zero for received-and-billed orders.
- COGS on the P&L equals the cost of fulfilled sales.
- AR aging equals 1200; AP aging equals 2000.
- Stock quantity reports and the inventory GL are two views; transfers and custody movements are memo-only.