There are only three payment method options on a purchase order: prepayment, cash on delivery, and credit. It looks simple, but choosing the wrong one directly affects two things: whether an expense is recorded when goods are received, and how the financial amount due is calculated. This article explains the differences between the three methods and common pitfalls.

1. Prerequisites
"Purchase, Sales and Inventory" is an independent module and is disabled by default. Go to "System Settings → Modules and Themes → Module Management" and check "Purchase, Sales and Inventory"; only then will "Purchasing" (/admin/purchasing/orders) appear under the "Mall" group on the left. It depends on the product module: when products are not enabled, you cannot select a SKU on a purchase order. Enable the "Finance" module when you need to record payments and view supplier statements. When Finance is not enabled, receiving goods only updates inventory and cost and does not write financial transactions. Supplier evaluation does not depend on Finance.
2. Where the Default Payment Method Comes From
Each supplier can have a "Default Payment Method" (prepayment, cash on delivery, or credit). When creating a purchase order, selecting the supplier fills it in automatically, and it can still be changed on the purchase order. This way, you do not need to select it manually each time for regular suppliers, and temporarily switching methods is not affected.
3. Differences Between the Three Methods
- Prepayment: After placing the order, record the prepayment first; when goods are received, no expense is recorded again, because the payment was already recorded at the prepayment stage. Amount due = purchase order amount − refunded amount − prepaid amount.
- Cash on delivery: When goods are received, an expense is recorded for the amount received this time; no further payment needs to be recorded afterward.
- Credit: When goods are received, "accounts payable" is recorded, and payment is recorded on the purchase order afterward; amount due = received amount − paid amount − refunded amount.
The "Payment Records" section for prepayment and credit appears only after the purchase order has been placed, and requires the Finance module to be enabled. Cash on delivery has no payment entry point because the transaction has already been recorded when goods are received.

4. Receiving Goods and Cost
When receiving goods, fill in the received quantity this time for each line (cannot exceed the unreceived quantity), the unit price this time (defaults to the purchase order unit price and can be modified based on actuals), and the receiving warehouse and bin (select "No Bin" if there is no bin). After submission, the system writes an inventory transaction (type: purchase receipt, with the purchase order number in the remarks), recalculates the weighted average cost as "original inventory quantity × original average cost + this-time quantity × this-time unit price", and updates the received quantity and status of the purchase order. You can receive goods in multiple batches; when everything is received, the status becomes "Completed"; partial receipt remains "Partially Received".
The current interface has no entry point to undo a receipt, so verify the quantity, unit price, warehouse, and bin before submitting. In the purchase order's "Advanced" section, you can enter the expected arrival date, which is used to calculate the on-time rate in supplier evaluation; purchase orders without it are not included in the on-time rate.
The "Purchase Price" tab summarizes each SKU's latest purchase price, average cost, lowest/highest purchase price, and supplier quotes. Quotes are for price comparison reference only; they do not change inventory or recalculate average cost. Only purchase receipts recalculate it.
5. Common Pitfalls
- A prepaid purchase order records another expense after goods receipt: No. The prepayment is already recorded as "purchase prepayment" when the payment is registered, and receipt does not record it again;
- Wanting to record another payment for cash on delivery: There is no entry point; an expense was already recorded based on the received amount when goods were received;
- Credit payment is never registered, so the amount due keeps showing: Credit requires manual payment registration; the system does not deduct automatically;
- Finance is not enabled, so there are no transactions after receiving goods: This is expected behavior. After Finance is enabled, only new transactions are recorded; historical ones are not backfilled;
- Wanting to edit the details of a placed purchase order: It cannot be edited; it can only be canceled and recreated. A purchase order with receipts cannot be canceled.
Summary
Choose a payment method based only on when funds flow out: choose prepayment if paying first, cash on delivery if paying upon receipt, and credit if paying later. The three methods determine whether an expense or accounts payable is recorded upon receipt, and how the amount due is calculated. Set the supplier's default method correctly, then adjust it on the purchase order as needed; this will save a lot of effort in financial reconciliation.