Customer debt (Khách nợ)
What you will learn
Section titled “What you will learn”Sell on credit for a known customer when your store allows customer debt.
Before you start
Section titled “Before you start”- Non-guest customer attached to the cart.
- Store policy allows debt / receivables.
poswrite.
- Add items to cart.
- Attach customer (Sale with customer).
- Open payment → select Debt / Khách nợ (label may vary by locale).
- Confirm — paid amount is 0; balance posts to receivables.
- Complete order.
Expected result
Section titled “Expected result”- Order completes with
payment_method: debt. - Receivable created for finance follow-up (Sales & receivables procedures).
Common issues
Section titled “Common issues”| Symptom | Cause |
|---|---|
| Debt option disabled | Guest customer or missing CRM link |
| API rejects debt | Customer not eligible — check credit limits (B2B) |