How to Automatically Label Receipts in Gmail With a Filter

Build a Gmail filter from a real receipt, preview which messages match, and label old and new receipts while keeping payment problems visible.
Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.
Quick answer
Open a receipt in Gmail on a computer and choose More → Filter messages like these. Preview the results, narrow the rule to receipt subjects if necessary, then choose Apply the label and select Receipts. For the first few deliveries, keep the messages in your inbox so you can see exactly what the rule catches.
Start with one merchant
Pull up two genuine receipts from the same merchant and one message from them that you would want to notice immediately, such as a failed payment. Expand the sender details. A store can use the same display name for several addresses, or a single address for every kind of billing message.
Build and preview the match
- Open one receipt. Use the three-dot More menu for the message and choose Filter messages like these. Check the address Gmail put in From.
- If both receipts have a phrase such as “Your receipt” in the subject, add that phrase in quotes to Subject. Leave amount and order number out, since they change on every purchase.
- Choose Search. Look for both known receipts in the results. Also look for the payment-problem message. If that message matches too, inspect its subject before you narrow the rule. A sender-only rule may be enough when the merchant uses a receipts-only address.
- Reopen Show search options at the right of the search box. Choose Create filter, check Apply the label, then select an existing Receipts label or create it in the dropdown.
- To include old receipts, select the option to apply the filter to matching conversations. Leave Skip the Inbox and Mark as read clear for this test. Click Create filter.
Check the next delivery
Open Receipts in the sidebar and inspect one match. When the next order arrives, confirm the new receipt carries the label without any manual filing. A forwarded copy from your own address is a poor test of a sender rule. Replies also have to match the criteria themselves.
| What you see | What to change |
|---|---|
| Old receipts are missing | Run the search again. If they appear, select those messages and apply Receipts, or edit the filter and apply it to existing matches. |
| An alert or promotion is labeled | Open Settings → See all settings → Filters and Blocked Addresses. Edit the criteria, continue, and update the filter. Remove the label from past false matches separately. |
| Only one store works | That is expected for a sender-specific rule. Preview a second store’s criteria separately and point its filter at the same Receipts label. |
For client expenses, you can place a project label under the client’s name. To locate an invoice that arrived before you set up the rule, search Gmail for a PDF from the merchant.
Google’s instructions for creating and editing Gmail filters
Comments
Comments are reviewed before they become public.
Sign in with Google to leave a comment.
Sign in with GoogleNo approved comments yet. Be the first to start the discussion.