How the point of sale works
The Point of Sale (POS) screen is a fast checkout for shops and counters. A cashier selects the customer, adds Items, takes payment in one or more payment methods, and prints a receipt. Stock and accounting update from the same sale, and loyalty points are earned and redeemed at the counter.
The parts of the POS
| Part | What it is |
|---|---|
| POS Profile | The setup of one counter: company, warehouse, price list, payment methods, accounts, and screen options. |
| POS Settings | Settings for all counters, including which invoice type the screen creates. |
| POS Opening Entry | Opens a cashier's session, with the opening cash for each payment method. |
| POS screen | The checkout screen. Each completed order creates an invoice. |
| POS Closing Entry | Closes the session and totals the payments for reconciliation. |
To set up a counter, see Set up the point of sale. For the cashier's daily work, see Sell at the point of sale.
Two invoice types
Invoice Type Created via POS Screen in POS Settings decides what each completed order creates.
| Invoice type | When the ledgers update | Best for |
|---|---|---|
| Sales Invoice (default) | At once. Each order is a Sales Invoice with Include Payment (POS) selected. It posts to the stock and accounting ledgers when it is submitted. | Most shops. The ledgers are always current. |
| POS Invoice | When the session closes. Each order is a POS Invoice that does not touch the ledgers. The POS Closing Entry merges the session's POS Invoices into consolidated Sales Invoices. | Very high sales volumes. Fewer ledger entries. |
In both cases, the POS Closing Entry lists the session's invoices and totals the payments.
How POS Invoices are consolidated
With the POS Invoice type, sales from an open session are kept apart from the general ledger. This keeps the screen fast:
- Each sale creates a POS Invoice. It updates no stock or accounting ledger.
- When the cashier submits the POS Closing Entry, ERPNext merges the session's POS Invoices into consolidated Sales Invoices. The POS Invoice Merge Log records the merge.
- The consolidated Sales Invoices post the stock and accounting entries. One invoice for the day creates a few ledger entries instead of a few entries for every sale.
If the merge fails, the POS Closing Entry shows the error. Fix the cause and retry from the closing entry.
Stock during an open session
With the POS Invoice type, the stock ledger does not include the sales of open sessions. ERPNext still counts them:
- The Stock Projected Qty report shows them in the Reserved for POS Transactions column.
- The POS screen subtracts them from the available quantity. A sale in one open session reduces what all other open sessions can sell.
- Quantities on order but not yet received do not count as available on the POS screen.
If an Item has too little available stock, the POS screen does not allow the sale.