It searches the document number, the customer name, line descriptions, product reference and label, public and private notes, and the phone, email and name of contacts. Each field can be turned on or off in the settings, and so can the scope (quotes, invoices or both).