ERP by industry

Retail ERP: connect the till, stock and accounts

The short answer

A retail inventory and POS workflow links every till sale to your stock and your accounts. The cashier opens a shift, sells from set prices, takes returns against the original sale and closes the shift by counting each payment method. In ERPNext the till is the Point of Sale screen, run from a POS Profile, while trade customers who buy on account get a normal sales invoice. Barcode scanners, card machines and patchy internet are things to test before you commit, not features to assume.

The retail inventory and POS workflow in one view

Our interest

StarterKit sells ERPNext services, so we have a commercial interest in this topic. The workflow below uses standard ERPNext features and a fictional company.

Every evening a shop asks three questions. What did we sell? Is the money all there? What is left on the shelf? A retail system answers all three from the same records.

The ERPNext documentation lists the point-of-sale flow as best for shops where the customer gets the goods and pays in one visit. It says the flow is not built for complex credit control, and that returns and shift closing need consistent cashier procedures.

Source: ERPNext documentation: accounting workflows by business type, retail sale.

  1. Open.Start the shift with a POS Opening Entry and the opening cash.
  2. Sell.Scan or search items, take payment, print the receipt.
  3. Return.Start each return from the original sale.
  4. Close.A POS Closing Entry compares the money counted with what the system expects.
  5. Check.Stock and account reports confirm both sides agree.

Source: ERPNext documentation: POS workflows.

Fictional example

Qamar Home Goods Trading LLC is a made-up Sharjah shop with one till. It sells lamps and rugs to walk-in customers, and on 30-day terms to Palm Crest Interiors LLC, a made-up fit-out company. All names and amounts are fictional. Prices exclude 5% VAT unless shown.

New to the software? Start with what ERPNext is.

Step 1: Set up items, barcodes and prices

The till is only as accurate as the item list behind it.

  • Stock items. Tick Maintain Stock on goods you hold, so every sale and return makes a stock ledger entry.
  • Barcodes. An item can carry barcodes such as a 13-digit EAN. A barcode can be tied to a unit, so scanning a box adds a box.
  • Sizes and colours. Use item variants. The template “lamp” cannot be sold. Each variant, such as “lamp, brass, large”, is its own item.

Source: ERPNext documentation: Item.

Source: ERPNext documentation: track items using barcode.

Source: ERPNext documentation: Item Variants.

Prices. Set the shop price list on the POS Profile, and keep a separate trade list for business customers. For repeatable offers, such as 10% off rugs for one week, use a Pricing Rule with dates and a priority, so offers do not clash.

Source: ERPNext documentation: Price Lists.

Source: ERPNext documentation: Pricing Rule.

The POS Profile also decides whether cashiers may change the rate or discount at the till. Decide who may give discounts before go-live.

Step 2: Set up the till and sell

The POS Profile is the till’s rulebook. You pick the company and warehouse, then add payment methods. Only those methods show at the till. You can limit a profile to named users and set a default walk-in customer, so the cashier does not pick one for each sale.

Source: ERPNext documentation: POS Profile.

At the till, the search box takes an item code, a serial number or a barcode, and the screen listens for scanner input.

Source: ERPNext source code, version 16: point of sale item selector.

When does a sale reach the accounts? In version 16, a setting decides whether the till creates a Sales Invoice for each sale, which is the default, or a POS Invoice, which the setting’s note recommends for high volumes. A Sales Invoice posts to the accounts when submitted. POS Invoices wait in a sub-ledger, and stock and accounts are posted at closing through one merged sales invoice. Version 15 has no such choice. Ask your provider which version and mode you will run.

Source: ERPNext source code, version 16: POS Settings, invoice type.

Source: ERPNext source code, version 15: POS Settings.

Source: ERPNext documentation: Sales Invoice.

Source: ERPNext documentation: POS Invoice consolidation.

Step 3: Take returns against the original sale

A return should undo the sale it belongs to, at the price paid. The documentation says to start from the original transaction, so items and rates carry across. In the standard till, a paid past order has a Return button.

Source: ERPNext documentation: Sales Return.

Source: ERPNext source code, version 16: point of sale past order summary.

  • Part returns. Keep only the returned lines, with negative quantities.
  • Stock. A credit note with Update Stock brings the goods back. Do not also make a return delivery note, or stock goes up twice.
  • Money. The credit note reverses the income, the VAT and what the customer owes. For an exchange, record the return, then make a new sale.

Our suggestion, not a standard setting: return damaged goods into a separate “returns, damaged” warehouse so they never show as sellable. For credit notes and refunds in more detail, see the sales invoice and payment tutorial.

Step 4: Close the day and check the totals

The POS Closing Entry is your day-end control. For each payment method it shows the opening, expected and closing amounts and the difference. It also totals net sales, taxes and quantity.

Source: ERPNext source code, version 16: POS Closing Entry Detail.

In the version 16 code, the closing amount starts out equal to the expected amount, so the difference shows zero until someone types in the real count. Make the count a real step. The documentation also asks you to agree who is responsible for cash differences.

Source: ERPNext source code, version 16: POS Closing Entry form.

Source: ERPNext documentation: accounting workflows, retail configuration.

Fictional day-end at Qamar Home Goods (arithmetic, not a system report)
EventCash (AED)Card (AED)Stock
Opening float5000No change
Cash sale: 2 lamps at 120, plus 12 VAT+2522 lamps out
Card sale: 1 rug at 400, plus 20 VAT+4201 rug out
Cash refund: 1 lamp, 120 plus 6 VAT-1261 lamp back
Expected at close626420Net 1 lamp, 1 rug sold

Net till sales are AED 520 plus AED 26 VAT. Count the drawer against 626. Match the card total with the card machine’s own end-of-day slip, because the pages we checked do not describe a link to a card terminal. The trade invoice to Palm Crest does not go through the till.

Then check stock. In a new ERPNext site, perpetual inventory is on by default, so stock movements post to the accounts. For shelf counts, Stock Reconciliation has a barcode scan mode.

Source: ERPNext documentation: perpetual inventory.

Source: ERPNext documentation: Stock Reconciliation.

This section explains the documented workflow. The table is arithmetic on a fictional company and was not run on a live system. For a hands-on test, use a separate demo company and confirm each step against the ERPNext version and POS setting you plan to run.

Before the first shift, load opening stock. Our opening stock tutorial shows how.

Trade customers and UAE e-invoicing

A business that buys on account needs a normal sales invoice with its name, Tax Registration Number and payment terms. Tick Update Stock on the invoice so one record moves the stock and posts the sale. On the customer, set the trade price list and a credit limit. ERPNext blocks the affected transactions when a customer goes over it.

Source: ERPNext documentation: Sales Invoice.

Source: ERPNext documentation: Customer.

In the example, Palm Crest buys 10 lamps at the trade price of AED 100: AED 1,000 plus AED 50 VAT, due in 30 days.

ERPNext’s UAE setup has two default print formats, a Simplified Tax Invoice and a Detailed Tax Invoice. Which one fits which sale is a VAT question for the FTA rules or your tax adviser.

Source: ERPNext documentation: UAE and KSA VAT setup.

E-invoicing is where the split matters most. Sales to consumers, meaning individuals not in business, are outside the UAE e-invoicing system until a further ministerial decision. The Ministry’s guide sorts sales by who the buyer is, so a sale to a business is in scope even at the counter. E-invoicing does not remove the duty to issue VAT tax invoices.

Government source: Decision 244 of 2025, Articles 1 and 5(2).

Government source: MoF Guidelines v2.0 (26-10-2026), section 6.2.

Government source: MoF Guidelines v2.0, section 6.2, tax invoice duty.

So Qamar’s walk-in sales stay outside e-invoicing for now, while its invoice to Palm Crest is in scope. With revenue below AED 50 million, it must appoint an accredited service provider by 31 March 2027 and implement by 1 July 2027. Standard ERPNext has UAE VAT features but no UAE e-invoice exchange of its own. See the UAE e-invoicing guide, how ERPNext e-invoicing works and the deadline guide.

Government source: Decision 244 of 2025, Article 5(1)(b).

Test hardware, connection and payments before you commit

Test each of these in a demo with your own items before you sign.

Retail fit-check before you agree a scope
AreaWhat standard ERPNext showsWhat to test
Barcode scannerItem barcodes and scanner input at the till.Your scanner and your existing labels.
Receipt printerA print format on the POS Profile, and an option to open the print preview when an order completes.Your printer, paper width and Arabic text if needed.
Card machineCard is a payment method mapped to a ledger. An online gateway needs its own integration.Keying card amounts by hand, or a separately scoped integration.
InternetThe POS pages we checked do not describe an offline mode.What happens when the connection drops, and your backup plan.
BranchesA POS Profile per branch for its own payment accounts. Material Transfer moves stock between warehouses.Transfers between shops and each branch day-end.

Source: ERPNext documentation: POS Profile, print settings.

Source: ERPNext documentation: Mode of Payment.

Source: ERPNext documentation: Stock Entry purposes.

StarterKit sells ERPNext services. Our plan includes access to all ERPNext modules, and our terms say module access does not mean every module is configured. Our published plan lists no shop hardware, so agree till setup and hardware tests in the written quote. Our ERPNext trial checklist helps plan the tests. For buying stock in bulk, see the trading company workflow.

Prepared by the StarterKit team. Regulatory statements link to UAE government sources. Examples and suggested work plans are labelled separately; they do not determine your business’s legal or tax position. Check the linked decisions for the full conditions and later changes.