Load-shedding or a dead router never stops the till. The POS keeps products, prices, customers and invoice numbers on the device, records every sale offline and uploads them in order when the connection returns — no duplicates, no lost bills.
Each device gets its own block of invoice numbers, so offline bills never clash.