
What Is Already On a German Receipt Before You Add a QR Code
A bakery prints a receipt for a bread roll, the customer waves it away, and it lands in the bin by the door. That slip exists because the law says it has to, and it is the only piece of paper the business hands to every single customer who buys anything. Which makes it the most tempting surface in the shop for a QR code, and the most regulated one.
What follows is general information for people who run a till, not legal or tax advice. Anything touching the Belegausgabepflicht belongs with your Steuerberater and your till vendor before it reaches a print head.
§146a AO: a certified device, and a receipt nobody has to take
§146a of the Abgabenordnung governs electronic recording systems, which in practice means electronic tills. Two separate obligations live inside it.
The first is technical. A till that falls under the rule has to be protected by a zertifizierte technische Sicherheitseinrichtung, the TSE, which signs each transaction as it is recorded and keeps a log that cannot be altered afterwards without the alteration showing. Certification runs against a Technische Richtlinie published by the Bundesamt für Sicherheit in der Informationstechnik, so the word certified here names a process rather than a vendor's adjective.
The second is the one customers see. The Belegausgabepflicht requires the business to make a receipt available to the person involved in the transaction, in immediate temporal connection with it. Available is the operative word. Nobody is obliged to take the receipt, nobody has to keep it, and the business discharges its duty by offering it.
What the rule does not say is paper. A receipt in electronic form is permitted where the customer agrees to it. That single allowance is the reason a QR code has anything to do with this subject at all.
§6 KassenSichV: what is on the slip before you touch it
The Kassensicherungsverordnung fills in what §146a leaves open, and its §6 sets out what a receipt has to contain: the full name and address of the business, the date of issue together with the start and end time of the transaction, the quantity and type of what was sold, the transaction number, the payment amount broken out by tax rate, and the serial number of the till or of its security device.
Two further values come from the TSE itself. A signature counter, which increments with every signed transaction, and a check value derived from the signature. Both have to reach the receipt, and here the rules permit something unusual: they may be carried in machine-readable form, as a QR code, instead of being printed as text a person reads. Everything else on that list has to be legible without machine assistance, which is the rule the exception sits inside: the code carries the values a machine checks, and nothing more.
That reverses the usual question. The receipt in a German customer's hand may already carry a QR code. It is not marketing, and its whole purpose is to let the paper be checked against the signed record inside the till without anyone transcribing a long check value by hand. So the first question about a QR code on a receipt is not where to put one. It is whether one is there already, and what it is for.
Two codes on a slip 80 millimetres wide
If a fiscal code is already printed, a marketing code beside it is the classic two-codes problem in its hardest form, and what happens when two codes share one label applies without mercy. A till roll gives you 80 millimetres of width, often 57, and the codes cannot be small enough to solve it because each one needs its own quiet zone and its own minimum module size.
Three rules keep it honest.
- Separate them vertically, not horizontally. Stacked with a line of type between them, a phone camera frames one at a time. Side by side on a 57 millimetre roll, both end up inside the frame and the reader picks whichever it finds first.
- Label the one you added. One short line of text above it saying what it opens. The fiscal code carries no label because it was never meant for customers, so an unlabelled second square reads as part of the same machinery.
- Never imitate the fiscal code. Same size, same position, no caption, is a design that invites a customer to scan your review link believing they are checking a tax record, and invites the next person to swap it for something worse.
The print head decides the size, not the layout
Receipt printers are not office printers. A common thermal head resolves 203 dots per inch, which is 8 dots per millimetre, so every module of your code is a whole number of dots and nothing in between. A code the layout software scales to an arbitrary width gets rounded unevenly, which is how a code that previews perfectly prints with modules of two different widths.
Pick a module size in dots first and let the printed width follow from that arithmetic. Working out the size a code needs covers the calculation; on a till roll the answer is usually a code of 20 to 25 millimetres square with four modules of clear space around it.
Thermal paper adds its own limits. The image is heat, not ink, so a slip left on a dashboard in July goes uniformly dark and a slip in a wallet for a year fades toward uniform light. Either way contrast collapses, and a receipt code has a working life measured in hours. Which is an argument against printing anything on it that someone is supposed to scan next year.
The electronic receipt is a file, not a screen
The permission to issue an electronic receipt is the interesting half of §146a for anyone thinking about codes, and it is narrower than it looks. The receipt has to be made available to the customer in a form they can actually take away, in a standard electronic format, with their agreement. A picture on the till display that vanishes when the next customer steps up is a display, not a handover.
That is the test a scan-to-receipt flow has to pass, and it puts real requirements on the destination:
- The code has to resolve to the receipt itself, not to a page that offers to email it once an address is typed in.
- It has to render on a stranger's phone with no app, no account and no login, because a receipt behind a sign-up is a receipt the customer never received.
- It has to survive the walk out of the shop, which means it cannot depend on the shop's WiFi, and the file has to stay retrievable long enough to be useful.
- It must not quietly become a marketing consent. A receipt is a document the customer is entitled to. Bundling an email opt-in into collecting it is a different transaction wearing the receipt's clothes.
Whether a particular implementation discharges the Belegausgabepflicht is a question for your tax adviser and your till vendor, and the good vendors answer it in writing in their documentation. Ask for that answer before the roll design is finalised, not after.
What a second code on a receipt is actually good for
The honest list is short, and that is fine, because the receipt reaches everyone.
A review link works because the moment is right and the paper is already in hand. A digital receipt or warranty record works because the customer has a reason to want it. A feedback form works if it is three questions and no login.
What does not work is one code on every till in every branch. The count that comes back is a single number with no structure in it, and nothing in a receipt scan tells you which shop, which hour or which till it came from unless the code itself does. Separate codes per branch, named so the list is readable six months later, turn the same paper into something you can compare. That costs nothing at print time and cannot be fixed afterwards.
Before any of it: take a receipt off your own till, put it on the counter, and look for the square that is already there.
