How to find an invoice or contract on your computer by what it says
Updated 20 October 2026
Search for something written inside the document, not for its file name. For an invoice that is a supplier name, an invoice number or the payment terms. For a contract it is a party’s name or a phrase from a clause. On Windows, open the folder that holds your documents in File Explorer and type content:"payment terms" into the search box. On a Mac, use Spotlight, or Finder with kind:pdf added. If the document is a scan, neither will find it without OCR.
1. Why the file name will not help
The invoice you need is probably called scan0047.pdf or download (1).pdf, and the contract final_v2.docx or Untitled document (3).docx. Nobody renames every file that arrives, and what you remember is never the name. You remember what the document said: who sent it, roughly when, one clause, one reference number.
So start by deciding which of three things you remember. Exact words, such as a supplier name or a reference number: a keyword search is enough. Roughly when: add a date filter. Only the subject, with no idea of the wording: you need a search that matches by meaning, which section 5 covers.
2. Windows: search inside the documents
Open File Explorer in a folder high enough to contain what you want. Search covers that folder and everything below it. Then build the query from what you remember:
- A phrase from the document:
content:"payment terms". A phrase in quotes matches those words together, in that order. - Only PDFs, or PDFs and .docx files: add
ext:.pdfor(ext:.pdf OR ext:.docx). OR, AND and NOT only work as operators when they are in capital letters. - Only last year’s: add
datemodified:last year, which Windows reads as the previous calendar year.datemodified:last weekworks the same way. - Everything together:
content:"payment terms" ext:.pdf datemodified:last year. - Leave out drafts:
content:"termination notice" NOT content:draft.
We checked how Windows reads each of these queries on Windows 11 Pro 25H2 (build 26200). Two cautions. Date modified is when a file was last saved or copied, not necessarily the date printed on the invoice, and the date syntax follows your regional settings. And the keywords themselves are in your display language: Microsoft documents that Windows Search recognizes keywords in the current display language only, so on a PC set to another language use that language’s words.
Check where the files are. Invoices tend to arrive in your Downloads folder, and by default Windows indexes only Documents, Pictures, Music and the desktop (Classic mode). A file outside those is matched by name only. Under Settings → Privacy & security → Searching Windows you can switch to Enhanced, which indexes the whole PC; Microsoft notes it can use more system resources, so leave time for the first pass before testing.
Names and reference numbers are better to search for than amounts. The same figure can be written 1,450.00 or 1.450,00, and a search matches the text literally.
3. Mac: Spotlight, Finder and Smart Folders
- Spotlight (Command and Space) indexes the text inside many file types, including PDFs with a text layer and .docx documents, so a phrase from a contract can surface it.
- Finder: type your words in a Finder window’s search field and add
kind:pdf, which is Apple’s documented keyword for PDFs. - Save a search you will repeat. Click Save under the search field and it becomes a Smart Folder you can keep in the sidebar, handy for something like every PDF that mentions your payment terms.
- Terminal:
mdfind -onlyin ~/Downloads "payment terms"searches one folder and everything below it.
If a folder never shows up, check System Settings → Spotlight → Search Privacy, where excluded folders are listed.
4. If the invoice or contract is a scan
Paper that went through a scanner or a phone scanning app is usually a picture of text. Windows does not run OCR on it and Spotlight is not reliable for it, so the words are not in any index and a content search will pass it by even though the file sits in the right folder. The 10-second test (try to select a sentence with the mouse) and the options are in how to search scanned PDFs and text in screenshots.
5. When you do not remember the words
Every method above needs your words to be the document’s words. Search for “rental contract” and a lease that says “lease agreement” is not matched. A search by meaning removes that requirement: you describe the document and it finds files about that subject. That is what BeaconFind does, and it runs on your own computer.
You press Ctrl+K on Windows and type what you remember. A search for “rental contract deposit” brings up a scanned residential lease named scan0112.pdf, and “invoice 2024” finds an invoice named scan0047.pdf by what it says. Both examples use the made-up demo files we use for our screenshots, not anyone’s real documents. It reads 70+ file types, runs OCR over scanned PDFs as it indexes, and understands 50+ languages, so an English search can find a German Mietvertrag. Searching files written in another language explains how that works.


On the Balanced and Max AI tiers there is also a chat: ask a question in plain words, such as what the notice period in a contract is, and it answers with citations to the files it used. Which tier you get depends on your hardware. A language model can be wrong, so treat the answer as a pointer: open the cited file and read the passage before you rely on it.
Your files, their contents and your searches stay on your computer, and the index is encrypted on disk. The app does contact our server for two things, a licence check and an update check, and both can be blocked by a firewall without affecting search.
Find the invoice, not the file name. Free for 14 days, no card needed. Windows 10 and 11, and Macs with Apple Silicon.
Download BeaconFindWhat you remember, and what to do
| You remember | Use this |
|---|---|
| A supplier name, reference number or exact phrase | content:"..." in File Explorer, or Spotlight |
| Roughly when it arrived | Add datemodified: on Windows |
| It was in Downloads, nothing found | Switch Windows to Enhanced indexing |
| It came off a scanner | OCR, see scanned documents |
| Only what it was about | Semantic search |
| Nothing, not even the folder | Find a file when you forgot its name |
Frequently asked questions
How do I find an invoice on my computer if I do not know its file name?
Search for something written inside it. On Windows, open the folder that holds your documents in File Explorer and type content:"payment terms" ext:.pdf, using the supplier name or an invoice number instead if you remember one. On a Mac, use Spotlight, or Finder with kind:pdf added. If the invoice is a scan, built-in search cannot read it and you need OCR.
How do I find a contract by a clause or a phrase?
Put the phrase in quotes so the words are matched together, in order: content:"termination notice". On Windows you can combine it with an extension filter, for example (ext:.pdf OR ext:.docx), and leave out drafts with NOT content:draft. Built-in search only finds the words you typed, so if you remember the idea rather than the wording, use a search that matches by meaning.
Can I search for an invoice by its amount?
You can try, but an amount is a weak thing to search for. The same figure can be written 1,450.00 or 1.450,00, and a search matches what is in the text literally. A supplier name, an invoice number or a phrase such as the payment terms is usually more reliable, and you can add the amount afterwards to narrow the results.
Why can my computer not find an invoice I scanned?
A scanned invoice is a picture of text, so there are no words in it for the index to store. Windows Search does not run OCR, and Spotlight is not reliable for scans. You need a tool that reads the text out of the image. BeaconFind runs OCR over scanned PDFs while it indexes them.
How do I find all my invoices from last year on Windows?
Add a date filter: content:invoice datemodified:last year. Windows reads that as the previous calendar year. Remember that date modified is when the file was last saved or copied, not necessarily the date printed on the invoice, because copying a file can change it. The date syntax also follows your regional settings.
Is it safe to index my financial documents with BeaconFind?
Your files, their contents and your searches stay on your computer, and the index is encrypted on disk. The app does contact our server for a licence check and an update check, and both can be blocked by a firewall without affecting search.

