A query to find billing messages that carry a supporting document.
An invoice often has "invoice" in its subject and a supporting document attached: combining the two rules out the messages that talk about an invoice without containing one.
subject:invoice has:attachmentOpen in Gmail ↗subject:invoice filename:pdfOpen in Gmail ↗Only invoices whose attachment is a PDF.
subject:invoice has:attachment after:2024/01/01Open in Gmail ↗Invoices received since January 1, 2024.
subject:anniversary party without saying what the second word applies to. For several words in the subject, it presents the form subject:(dinner movie) with parentheses.Not documented by Google · Gmail Help: search operators