Document numbers and the ATCUD
How a document number reads (FR LC/162), who numbers it, and what the ATCUD and the QR code on every document are.
How a number reads
zrsPOS shows a document's number as it prints: type, série, number. In FR LC/162:
- FR is the document type (invoice-receipt);
- LC is the série, here Loja Chiado's;
- 162 is the number in that série and type.
Each store has its own série, so its numbers run on by themselves. A credit note can use the store's sales série or its own credit-note série, as the store is set up. See Stores.
Who numbers
SAGE gives every number, never zrsPOS. Numbers never repeat, never go back and leave no gaps: a sale that failed has no number yet, and gets the next one when it is issued.
The ATCUD
Every document carries its ATCUD: the code the Tax Authority (AT) gave the série, a dash, and the document's number. For example JFM3K7Q2-162. It prints next to the QR code, on page 1 of a long A4 and on every page strip after it.
- The ATCUD exists only once the série is registered with the AT in SAGE. A série that is not refuses every sale: see Série not communicated to the AT.
- The QR code holds the document's fiscal data for the AT. It never prints smaller than 30 × 30 mm.

Find a document by its number
On Documents, the search takes the number as printed (FR LC/162, or just LC/162), the ATCUD, the order, the customer's name or the NIF. See The Documents page.
Edge cases
- A store with several tills issues in one série: every till of the store shares it.
- SAGE's counter behind the last number issued makes SAGE refuse every sale of that série. The store's page says so; your SAGE partner repairs it: Repairing a numbering chain.
- A série used up or inactive in SAGE refuses sales until the store gets another: The série does not exist in SAGE.
- The go-live test uses the first numbers of the série (for example FR LC/1 and NC LC/1). The sales that follow start at 2.
- A sale issued after a retry gets the next free number when it is issued, not the one it would have had.
- Online invoices use their own séries, made outside zrsPOS. zrsPOS only reads them to credit an online return.
More in Documents & design
- The documents zrsPOS issues
- The Documents page
- Sales that need you
- Waiting, held and skipped sales
- Issue by hand and archive
- A document's page
- The A4 and the receipt
- Reprint: 2.ª via or original
- E-mail a document
- Your company on documents
- The customer on a document
- Templates
- Design the A4 and the receipt
- Style one element
- Preview, and what never changes