Smart Shopping6 min readUpdated:

How does AI read a receipt? OCR, errors and privacy

An app reads a receipt in two steps: OCR turns the photo into text, then the text is split into lines with item, quantity and price. The quickest check is the total. Groceries carry two VAT rates, 2.6% and 8.1%, in force since 1 January 2024 (FTA, page accessed on 9 November 2026).

Rappn compares the current promotions of 7 Swiss retailers, updated daily: free, no subscription.

Scan your first receipt in Rappn, free
A white receipt crossed by a green line of light that cuts it into neat strips sorted into three trays

An app reads a receipt in two steps: first optical character recognition (OCR) turns the photo into text, then a second step splits that text into lines with item, quantity, price and discount. The quality of the photo decides most of the result, and the quickest check is a single one: the total the app read must match the total printed on the receipt.

Updated November 2026. Sources: Google Cloud, OCR documentation; Federal Tax Administration (FTA), VAT rates; Federal Data Protection and Information Commissioner (FDPIC), AI in everyday life, all accessed on 9 November 2026.

How does an app read a receipt?

The path has five stages, and a mistake in the first one carries into all the others:

  1. Photo: the app receives an image from the camera or the gallery.
  2. Clean-up: the image is straightened and the contrast corrected, so the text stands out from the paper.
  3. OCR: the program recognises the characters. For Google, the recognition returns the text, the individual words and their position in the image, and there is a dedicated mode for dense documents.
  4. Lines: the text is turned into lines. Each line usually has a name, a quantity or a weight, a price and a VAT code.
  5. Matching: the abbreviated name is linked to a product and a category, such as “dairy” or “drinks”.

None of these steps is a hundred per cent certain, which is why a final check from you is worth it. For a readable photo, see the guide on how to scan receipts.

With Rappn you photograph a grocery receipt and the app sorts your purchases by category and by month: here you see what the spending overview looks like.

Scan your first receipt in Rappn, free

Free, no subscription · iOS & Android

Your spending

YOU SPENT

CHF 609.28

📅 April 2026

CHF 200
CHF 133
CHF 67
1-78-1415-2122-2829-30

By category

Why are Swiss receipts hard to read?

A grocery receipt is not a clean table: it mixes text, numbers, abbreviations and amounts with a minus sign. The table lists the points where reading trips up most often.
ProblemWhy it happensWhat to do
Total does not matchA digit is misread or a line is missingCompare the total read with the printed total
Discount turned into spendingThe minus sign (Aktion, Rabatt, rabais) gets lostFind the discount lines and correct the sign
Deposit read as an itemDepot, Pfand or consigne looks like a productMark it as a deposit, not a purchase
Price per kilo instead of the amountWeighed goods have two lines, weight and amountCheck that the amount is the one being added up
Faded textThermal paper darkens and fadesScan straight away, without flash
Names in another languageThe same receipt can use German, French or Italian abbreviationsUse the glossary in the guide

The match to a category is also a guess: an abbreviated name such as “Pouletbrust” or “Joghurt nat.” can be read correctly by the OCR and still end up in the wrong category. So, when an app allows it, correct the price and category by hand: the correction avoids the same mistake in the months after. Keep the paper receipt until you have checked the total.

Two guides help decode what the OCR does not understand: how to read a Swiss receipt and receipts, BPA and thermal paper.

How do you check that the app read it correctly?

Five checks are enough, in this order:

  1. Total: the total read must equal the one printed at the bottom.
  2. Number of lines: compare how many lines the receipt has with how many the app shows.
  3. Discounts and deposit: check that negative amounts are still negative and that the deposit is not an item.
  4. Weights: fruit, vegetables and cheese must have a plausible amount, not the price per kilo.
  5. VAT summary: the total of the summary must match the total paid.

On the VAT summary, according to the FTA the rates apply from 1 January 2024 (page accessed on 9 November 2026): 8.1% is the standard rate, 2.6% the reduced rate, which includes foodstuffs, and 3.8% the special rate for accommodation, so it does not appear on a grocery receipt. What the codes on your receipt mean changes from shop to shop: look for the legend printed at the bottom.

A mistake left in place repeats in every monthly total. If instead the shop made the mistake, see receipt errors and your rights and compare the current offers before your next shop.

How do you scan a long receipt?

Split it into two or more photos that overlap by a few lines, all taken from the same distance and in the same light. Or use your phone’s document mode, which straightens and crops by itself. The header with shop, date and time and the footer with total and VAT summary must be visible. Some apps read a single photo and do not join the parts: in that case check that no line is counted twice in the overlap.

Where a digital receipt exists, scanning is not needed: see digital receipts in Switzerland.

Can you read a receipt with ChatGPT?

If the assistant you use accepts images, you can attach the photo and ask it to list the lines. It works better with a sharp, complete photo, but the assistant can get a total wrong or invent a line: the FDPIC reminds users that a chatbot can give wrong information (page accessed on 9 November 2026). Ask for the sum line by line and compare it with the receipt. To analyse several months of spending with an assistant, read analysing grocery spending with AI.

What should you cover before sending a receipt to a chatbot?

A receipt says more than it seems: shop and branch, day and time, what you buy and how you pay. The FDPIC advises checking who the provider is, for what purposes it processes data and who can read it, and removing personal data before entering it if the terms do not convince you. Before uploading the photo, cover:

  • the digits of the payment card and the payment lines;
  • the loyalty card number and your name, if printed;
  • pharmacy or health lines, which are particularly sensitive data;
  • the branch address and the time, if you do not need them for your calculations.

Also look in the settings to see whether chats stay in the history and whether they are used to train the model. More on this: ChatGPT and your personal data.

How does it work with Rappn?

Rappn is a free Swiss app (iOS and Android) that compares the current promotions of 7 Swiss retailers in all 26 cantons, in 4 languages. The promotions are updated daily as the chains publish them. Scanned or imported receipts become a monthly spending overview by category. Whatever tool you use to read receipts, check the total before you trust the numbers.

Updated: .

Why Rappn?

Rappn is an independent grocery price comparison app in Switzerland, with no commercial agreements with any retailer. Our comparisons are truly independent.

  • 100% free: no subscription, no hidden costs
  • Neutral: no commercial agreements with Migros, Coop, Aldi, Lidl, Denner, Aligro, or Otto’s
  • Updated daily, as soon as the chains publish their deals
  • The chains’ deals in one place: search, filter, compare, no subscription
  • Meal planner in the Kitchen tab: plan the week, send the ingredients to your list
Available now

Ready to save on groceries?

Install Rappn and compare for yourself this week. No account required.

Currentoffers
7retailers
100%free

Frequently Asked Questions

How does an app read a receipt?

First optical character recognition (OCR) turns the photo into text, with the words and their position. Then a second step splits the text into lines with item, quantity, price and discount.

Why does the app misread my receipt?

Usually because of a blurred photo, faded thermal paper, a minus sign lost on a discount or a deposit read as an item. The quickest check is to compare the total read with the printed total.

How do you scan a long receipt?

Split it into two or more photos that overlap by a few lines, in the same light and without flash, or use your phone’s document mode. The header, total and VAT summary must be visible.

Can you read a receipt with ChatGPT?

If the assistant accepts images you can attach the photo, but it can get a total wrong or invent a line. Ask for the sum line by line and compare it with the receipt.

What should you cover before sending a receipt to a chatbot?

The card digits, the loyalty card number, your name, pharmacy lines and, if you do not need them, the branch address and the time. The FDPIC advises removing personal data if the provider’s terms do not convince you.

Related Comparisons