By Glyf

Tips & Service Charges

Does a tip come through as its own dedicated field? Not automatically. If your goal is to extract tip from receipt data cleanly and consistently, know up front that there's no standalone "tip" field among the twelve fields Glyf extracts from a document. What actually happens depends on how the receipt itself presents the charge: a tip printed as its own labeled line typically extracts as a Line Item; a mandatory service charge baked into the subtotal usually folds into Total Cost the way the document shows it; a handwritten tip added after the fact may not be readable at all until you fill it in during review.

That's the honest answer, and it's worth stating up front, because tips, service charges, and gratuity are exactly the kind of receipt content that people assume works one uniform way, and restaurant, hospitality, and delivery receipts rarely agree on how to present it.

Why trying to extract tip from receipt data gets confusing

A dining receipt typically stacks subtotal, tax, tip, and sometimes a separate service charge into a tight block near the bottom, often within a few centimeters of each other. The wording adds another layer: "service charge" and "gratuity" get used interchangeably by some vendors and treated as entirely separate line items by others, and a receipt can include both a mandatory service charge and a voluntary tip line on the same page. None of that is a readability problem in most cases. The print is usually clear enough. The real issue is that several distinct financial concepts are competing for the same small stretch of paper, and a fast glance isn't always enough to tell which line is which before the numbers get used downstream.

How a tip typically surfaces in extracted data

When a tip appears as its own printed line on the receipt, it most often comes back as a Line Item: description, amount, and its place in the row structure alongside everything else that was purchased. When it's baked into the receipt's final total rather than broken out separately, it shows up inside Total Cost as the document presents it, not pulled apart into a separate figure Glyf has to infer. Primary Tax Rate and Tax Details extract independently of tip and service charge lines, since tax and gratuity are different concepts even when they sit three lines apart on the page. If a tip was added by hand after the receipt printed, it may not extract at all. That's a case worth checking directly in the Invoice Drawer rather than assuming the field is simply missing by mistake.

Service charge and tip are related, not identical

Some businesses apply a mandatory service charge automatically, calculated as a percentage and printed before you've made any tipping decision. Others present an optional gratuity line you fill in yourself, sometimes handwritten, sometimes left blank for the customer to complete. Some receipts do both at once. A workflow that assumes every stacked line near the bottom of a receipt means the same thing will misread plenty of hospitality receipts, which is exactly why this category benefits from a manual check rather than blind trust in whatever extracted first.

Where to actually look during review

If there's one section worth reviewing carefully on a receipt involving tips, it's the bottom block: subtotal, tax, tip, service charge, and final total usually live within a few lines of each other, and it's also where low contrast, cropping, or a slightly blurry photo does the most damage. Open the Invoice Drawer, compare the original receipt image against the extracted Total Cost and Line Items, and confirm the figures reflect what the document actually shows before the record moves toward export. This is a case where the extraction can be technically accurate to what's printed and still worth a second look, simply because the underlying receipt itself is ambiguous about which number means what.

Why this matters more once it reaches an export

A misread tip or service charge line doesn't stay contained to the record you're looking at. It moves downstream into a reimbursement request, a bookkeeping entry, or a client-facing expense report the moment you export it. Tags applied in the drawer carry into every export format, so categorizing tip-heavy hospitality receipts before exporting keeps that context visible later. Checking the bottom block before export is a smaller task than untangling a spreadsheet full of ambiguous tip and gratuity lines after the fact.

Better photos help here too

Even when interpretation is the real challenge, a clean photo still makes the review faster. A dark or blurry bottom edge makes it that much harder to tell tip from tax or service charge from final total once you're looking at the extracted fields. If restaurant and hospitality receipts are a regular part of your workflow, see Receipt Photo Best Practices for the photo fundamentals that make this category easier across the board. For the broader receipt extraction picture, see Intelligent Extraction for Receipts.

FAQ

Does Glyf calculate what the tip should have been based on a percentage? No. Values extract as the document presents them. Glyf reads what's printed or written on the receipt rather than calculating a suggested tip amount.

What if the tip line is completely blank on the receipt? It stays blank in the extracted data. You can add it manually in the Invoice Drawer if you know the amount that was actually paid.

Can I separate tip amounts from the rest of an export using tags? Yes. Tags applied to a document in the drawer carry through into Excel, CSV, and PDF exports, so tagging hospitality or dining receipts makes them easy to filter later.