Gmail · PDF

Build a Gmail search

Choose what you know about the document, then copy the query into Gmail search.

This finds PDF attachments by email date, not invoice date. If nothing appears, remove the month or sender.

Open Gmail ↗

Your entries stay in this browser. No mailbox connection is needed.

Start with the purchase, not the word invoice

Imagine finding a hosting payment on your April statement. You need the invoice for your company, but originally signed up with your personal email. That is where it makes sense to start looking, even if you now do most work from your business address.

First identify the supplier, approximate period and ordering account. You need not know all three precisely. One firm clue is enough. The bank-statement name may differ from the product name and email sender. If another company processes payment, try the name of the service you actually use.

An older invoice from the same supplier is often a useful shortcut. It shows message titles, sender and buyer. Only then does narrowing the search make sense.

Use a query you understand

Gmail lets you combine ordinary words with search operators. This is not programming: each part simply specifies an attachment, sender or period. Paste the following examples into the search field and adapt them to your purchase.

“has:attachment filename:pdf” narrows results to messages with PDF attachments. Adding the supplier name narrows them further. If you know the address, try “from:fakturace@example.com filename:pdf”, replacing the example address with the actual one. “after:2026/03/01 before:2026/05/01” searches messages within that range. The message date, however, is not the invoice issue date or payment date.

The word invoice can help with foreign services, but do not automatically add every condition at once. An overly precise query can exclude an invoice with a vague subject. First find a few supplier messages and examine how their communication actually looks.

Copy the query into Gmail’s search field. Change the dates to match the period you want to search.

Source for this section: Google: Search operators in Gmail

If nothing appears, remove conditions

An empty result does not mean the invoice never arrived. You may simply have chosen too narrow a period or guessed the attachment name incorrectly. In our hosting example, April's payment relates to an invoice sent at the end of March. Searching only April would miss it.

Gradually remove subject restrictions, widen the period and try another likely mailbox. Change one thing at a time to identify the wrong clue. If you have reason to search spam and trash too, Gmail offers “in:anywhere”. A suspicious message is not trustworthy simply because it matches the query.

Open the correct attachment in a found message and check the buyer and purchase context. One thread may contain the original invoice, a later correction and several replies. The first PDF visible may not be the final version.

Take away the route for next time too

Suppose you finally find the invoice in personal Gmail under the billing company's name. Save it, but that need not end the work. Check the service's contact email and buyer settings. If the company will continue using it, this is where you can remove the cause of repeated searches.

Note the sender of recurring invoices. If the email only contains a portal link, save the download location. Next month you will know where to start.

Sometimes the right next step is outside Gmail

If you find only a payment confirmation or billing notification, check the supplier's customer account. Some services do not email the document itself. Further refinement of the Gmail query will not help then.

If the invoice is also missing from your customer account, contact the supplier with the purchase details. Meanwhile, tell your accountant which document you are tracking down. There is no need to keep going through your entire inbox message by message.

Sources and further reading