Point of Sale

Postpaid Sales

Letting a customer take goods now and pay later, and what that does to their balance.

Last updated 2026-10-13

DigitalKey ERP — Docs · digital-key.co/docs/pos/postpaid

Requires subscriptionpos.postpaid3,000 IQD / month

Overview

A postpaid sale completes normally — stock leaves, the invoice is raised — but the money is not collected at the counter. Whatever is left unpaid is added to the customer's balance and stays there until a payment is recorded against it.

Point of Sale — Postpaid payment option
Postpaid payment option
Postpaid payment option — The payment panel with Postpaid selected, showing the customer's current balance and the amount being added to it.

What happens on a postpaid sale

  1. A named customer must be attached — anonymous credit is not possible.
  2. The sale is saved with payment_type set to postpaid.
  3. Stock is reduced exactly as for a cash sale.
  4. The unpaid remainder is added to the customer's current_balance.
The fields that matter on a postpaid sale
ParameterTypeRequiredDescription
customer_idintegerRequiredThe customer taking the credit. The walk-in default is not appropriate here.
payment_typestring= cashRequiredSet to postpaid.
paid_amountdecimalRequiredAmount paid at the counter. Zero for full credit, or a part payment.
TipPart payments are supported. Set paid_amount to whatever the customer hands over and only the remainder goes onto their account, which saves raising two separate documents.

Cash and postpaid customers

Every customer record carries a payment_type of its own. It is the default suggested at the counter, not a hard restriction — the cashier chooses the payment type per sale.

Credit limits

A customer record can carry a credit_limit. A value of 0 means unlimited, which is the default, and is displayed as “Unlimited” on the customer record.

The limit is enforcedA postpaid sale that would take the customer's balance past their limit is refused, with a message naming the customer, the limit and what they already owe. The same check runs at the POS, when a sales order is completed, when a finished invoice is edited, and when a voided sale is restored from the recycle bin. It is enforced on the server, so it applies to the owner too. A cash sale creates no debt and is never blocked.

To let a blocked sale through, do one of three things:

  • Take a payment first, so the balance comes down.
  • Raise the customer's credit limit, or set it to 0 for unlimited.
  • Take more of this sale in cash, so less goes on account.

Clearing the balance

A postpaid balance is reduced by recording a payment against the customer, not by editing the invoice. See Recording Payments.

Requires subscriptioncustomer.payments1,500 IQD / month

When one customer's debt belongs to several people

A trader who buys on behalf of others can have their invoices and payments marked for the person each one belongs to. The customer still owes the whole balance; the system shows how much of it is each person's. See Sub-Customers.

Requires subscriptioncustomer.sub_accounts1,500 IQD / month
NoteVoiding a completed postpaid sale reverses both the stock and the balance, so the debt it created disappears with it. See Void a Sale. A return on a credit sale hands no money back — it reduces what the customer owes.

Keeping track of who owes you

  • The dashboard shows total outstanding debt and the largest debtors.
  • The customer list can be filtered to those carrying a balance.
  • The debt schedule orders customers by expected payment date — see Customer Management.
  • At-risk customers are identified in Smart Reports.
Requires subscriptioncustomer.debt_alerts1,000 IQD / month

Related