Advanced Search

Astra has two different search tools: global search (Cmd + K), which jumps to a specific record from anywhere, and the advanced search on every list, which combines rules — dates, amounts, statuses, customers, line items — to build exactly the list you need. This guide covers both.

Global search (Cmd+K)

Global search with results grouped by category
Global search (⌘K): results grouped by category — contacts, work orders, invoices, products, inventory and payments.

Open it with Cmd + K (or Ctrl + K), or from the magnifier in the mobile header. It searches:

  • Contacts — name, company, trade name, ID number, email and phone numbers, plus those of their related people: when the match comes from a person, the result says so (via Ana Pérez · Accountant). The contact picker when creating documents searches the same way.
  • Work orders — order number, customer and device details.
  • Invoices — number, customer, and also the invoices linked to a matching work order.
  • Estimates, Products, Inventory and Payments.
Global search finding a company by its manager's name
The company appears even though the text is not in its name; the "via …" line explains the match.
You have to press Enter

Global search does not search as you type. The panel says "Type and press Enter to search". It needs at least 2 characters. Each category shows up to 5 results; if what you want isn't there, narrow the term or use the list's advanced search.

Inside the panel:

  • Category chips at the top — All, Contacts, your work-order label, Invoices, Estimates, Products, Inventory, Expenses and Payments — narrow the view to one block. Expenses brings up your suppliers' purchase invoices.
  • ↑ ↓ move through the results, Enter opens the highlighted one, and Esc closes.
  • You only see the categories your role can view.
Type the number however you have it

Search ignores accents and normalizes numbers: paste 8 straight digits and it also tries them as a Costa Rican phone XXXX-XXXX, 9 digits as a national ID X-XXXX-XXXX, and 10 digits as a US phone. No need to type the dashes.

How it differs from advanced search: global search is for finding one record and jumping to it; advanced search is for building a filtered list you then read, total up and walk through with the arrow keys.

How advanced search works

On every list view you'll see a sliders icon next to the search box. Clicking it opens the advanced search panel. It's available on Contacts, Products, Inventory, Transfers, Invoices, Estimates, Payments Received, Work Orders, Purchase Invoices, Purchase Orders, Expense Payments, Document Reception and Employees.

  1. Pick the combinator — the top row reads Find records matching and you choose all (every rule must match), any (one is enough) or none (to exclude).
  2. Add a rule with Add Rule — pick a field (the list is grouped: General, Amounts, Dates, Customer, Electronic Invoice, Line Items, Payments, Recurring…), an operator and a value.
  3. Rules without a value — when you search, rows left blank (like the untouched starting row) are dropped. An is between with only one date counts as "from" or "until" that date, and dates entered backwards are put in order. Is in the last takes a whole number (for example 30 days); if a rule has a value that can't be used, the panel says so and doesn't apply the search.
  4. Negations include blanks — does not contain, is not and is none of also bring the records that have no value there (for example, invoices without notes). On line or payment fields they mean that no line or payment matches: "Line description does not contain screw" leaves out every invoice that has a screw line.
  5. Add groups with Add Group for "(A and B) or (C and D)" combinations. You can nest up to 3 levels.
  6. Click Search to apply the filters. The icon stays highlighted in indigo with the message "Advanced Search active — click to modify".
  7. To drop it, use the Advanced Search chip with its × above the list, or reopen the panel and click Clear Search. Reset empties the rules without leaving the panel.
Availability depends on your plan

Global search is on every plan. Advanced search comes with ERP Plus. On the other plans the icon shows a padlock and the panel opens on the notice "Advanced search isn't included in your plan". If you already had a search applied and the plan changes, your rules aren't deleted: they stop being applied until it's enabled again.

Tip

The list's quick filters (buttons like Pending, Paid, Overdue) and the text search box combine with advanced search — everything applies at once. If you don't see the results you expect, check which chips are active above the list.

Field types & operators

Each field offers the operators that fit its type:

Type Available operators
Text (name, number, description) contains, does not contain, starts with, ends with, is, is not, is empty, is not empty
Number (total, subtotal, amount) equals, does not equal, is greater than, is less than, is at least, is at most, is between, is empty, is not empty
Date (issue, due, payment) is on, is before, is after, is on or before, is on or after, is between, is today, is yesterday, is this week, is this month, is this year, is last month, is last year, is in the last N days/weeks/months/years, is empty, is not empty
Select (status, type, method) is, is not, is any of, is none of (for these two, pick several options with Cmd/Ctrl + click)
Yes/No (active, track inventory) is yes, is no
Relationship (line items, payments, credit notes) has any, has none, count equals, count is more than, count is less than

Saved searches

A search you repeat every week? Save it once and reuse it in one click.

  1. Build the search you want to keep.
  2. Click Save as New and give it a descriptive name (for example, "Overdue more than 60 days").
  3. Load it later from the Saved Searches dropdown in the same panel; each name shows how many rules it holds.
  4. Update it with Update Current after editing the rules, or open Manage Saved Searches (the gear icon) to rename or delete.
Saved searches are personal and per module

Only you see your saved searches, and each one belongs to the module where you created it: invoice searches don't show up in Contacts. Every team member builds their own.

Show totals

The advanced search panel includes a Show totals checkbox. Turn it on and search, and a summary bar appears above the list with the figures for the whole result set, not just the page you're looking at.

It's wired into seven modules:

  • Invoices — invoice count, Total, Paid and Balance. If the set includes credit notes, it also shows the NC credit and the Net total.
  • Payments Received — payment count, total amount in colones, and the breakdown by payment method.
  • Estimates — estimate count, Total, the Accepted amount and what's already Invoiced.
  • Received documents — document count, Total in colones (dollar documents are converted at each one's own exchange rate), credit notes subtracted, the Net total and the IVA.
  • Purchase invoices — purchase count, Total, credit notes subtracted and the Net total, Paid and the Balance still owed. A cancelled purchase is counted but adds no money.
  • Purchase orders — order count, Total, what's already Received and what's still To receive. A cancelled order is counted but adds no money.
  • Products — product count, units in stock, the Value at cost (only for people allowed to see costs) and the Sale value of that stock. Only your own stock counts, not consigned goods.

Typical cases:

  • How much am I owed? — in Invoices, filter Status is Overdue and turn on Show totals. The bar's balance is your overdue book.
  • How much did I sell this customer this year? — Customer contains "X" + Issue Date is this year + Show totals.
  • Collections by method this month — in Payments Received, Payment Date is this month + Show totals: the per-method breakdown is what you need to reconcile SINPE and transfers.
Tip

The "Show totals" preference is remembered per module — turn it on in Invoices and it's still on the next time you open advanced search there. It doesn't affect other modules.

Invoice recipes

The module where advanced search shines most. The names below are the fields exactly as they appear in the picker:

1. Unpaid invoices from 2025

For year-end collections or an audit:

  • Status is any of: Pending, Pending Partial, Overdue, Overdue Partial
  • Issue Date is between 2025-01-01 and 2025-12-31

2. Overdue invoices for a specific customer

Useful before you call or visit a late payer:

  • Status is Overdue
  • Customer ID number is 3-101-XXXXXX
  • (Optional) Due Date is before a date, to keep only the oldest.

3. SINPE Móvil collections this month

To reconcile your SINPE account against recorded payments:

  • Payment Method is SINPE Móvil
  • Payment Date is this month

4. Invoices rejected by Hacienda

To catch and fix documents that weren't accepted:

  • Hacienda status is Rejected (the other options are Accepted, Pending, Processing and Error).

5. How often did you sell a specific part?

Audit a product's turnover regardless of the invoice:

  • Product (SKU) is "PHN-IPHX-LCD"
  • (Optional) Issue Date is this year

6. Invoices with exonerated lines

For tax control — every invoice where you applied an exoneration to a product:

  • Has Exoneration is yes

7. USD invoices from the last quarter

For closing foreign-currency operations:

  • Currency is USD
  • Issue Date is in the last 3 months

8. Bank transfers paid over ₡1,000,000

Spotting large movements for compliance:

  • Status is Paid
  • Payment Method is Bank Transfer / Deposit
  • Total is greater than 1000000

9. Invoices whose internal notes mention a case

When the team leaves internal annotations, search by a keyword:

  • Notes contains "replacement"

10. A customer's invoices without a clave numérica

Finds invoices that never reached Hacienda (by mistake, or because they were tiquetes):

  • Customer contains "Empresa S.A."
  • Clave numérica is empty

11. Invoices with a credit note

  • Credit Note (NC) has any — or has none for the ones that were never credited.

12. Invoices generated by a recurring schedule

The selector's Recurring group ties every generated invoice back to the schedule that created it — something the Recurring Invoices list can't cross with a date range or a payment status.

  • Recurring Schedule is the schedule you care about (active and paused ones are listed first, and completed or cancelled ones are listed too, because their invoices still exist).
  • Issue Date is this month — or last month.
  • Status is any of: Pending, Overdue — to see only what is still owed on that plan.

Useful variants from the same group:

  • Recurring — is yes for every subscription invoice in a period regardless of plan; is no to separate one-off sales from recurring ones.
  • Recurring Schedule (name) contains "monthly" when you have many schedules sharing a name and don't want to pick them one by one.
  • Cycle Date is the month the invoice bills, which isn't always the month it was issued. For "did I already bill the September cycle?" use this field, not Issue Date.

13. Invoices by their classification (fee type, business line…)

If your company classifies its invoices (Invoice Classification in the settings), the selector's General group has a field with the name you gave it and its options. An agency usually calls it Fee type:

  • Fee type is Extra fee AND Issue Date is last month. With Show totals you see how much was billed of that type.
  • Fee type is any of: Media, ADS to put several types in one list.
  • Fee type is not Client fee: it also brings the invoices that have no classification yet.

If you renamed an option, the old name stays in the list while any invoice still has it, so those invoices can still be found.

14. One salesperson's invoices

If your company records who sold each invoice (Salesperson per Invoice in the settings), the General group has Salesperson, listing the active employees and anyone who already sold, even after leaving the company.

  • Salesperson is the person AND Issue Date is last month. With Show totals you see how much they sold that month.
  • Add Fee type is Extra fee to see only those sales.

Recipes for other modules

Contacts

  • Customers in one province without an email: Province is San José AND Email Address is empty.
  • Companies with no ID on file: ID Type is Corporate ID AND ID Number is empty.
  • Contacts created this month: Created At is this month.
  • Customers with unpaid invoices: Has Unpaid Invoices — has any.
  • Customers with a global discount on their profile: Has Global Discount is yes. It finds anyone with a percentage on products, on services, or both; for a specific rate use Product Discount (%) or Service Discount (%), for example greater than 10.

Estimates

  • Accepted but not yet invoiced: Status is Accepted AND Converted is No.
  • Estimates that already expired: Valid Until is before today AND Status is not Accepted.

Work Orders

  • Urgent and late: Priority is Urgent AND Due Date is before today.
  • Assigned to one technician: Assigned To contains "Carlos" AND Status is not the delivered one.
  • Received in the last 30 days: Date Received is in the last 30 days.
  • Projects billed with a fee type: if your company classifies its invoices, the General group has Invoice Fee type (with the name you gave the classification). Is Extra fee finds the orders with at least one invoice of that type; is not Extra fee keeps the ones with none, including those not billed yet.
  • Projects a salesperson billed: if your company records who sold each invoice, the same group has Invoice salesperson. It works the same way: is finds the orders with at least one invoice by that person.
  • Electronics repair shops only also get a Device group with Device Type, Brand, Model, Serial Number and IMEI — for example, Brand contains "Apple" AND Device Type is Phone.

Products

  • No SKU: SKU is empty — catalog cleanup.
  • Stocked but priced at zero: Track Inventory is yes AND Price equals 0.
  • By tag: Tags is any of "Parts", "Accessories" — the list is built from the tags you already use.
  • Inactive services: Item Type is Service AND Status is no. When the search has a Status condition, that condition overrides the list's Active / Inactive buttons. See Inactive products.

Inventory

  • Products at zero: Stock equals 0.
  • Stale items: Last Restocked is before a date, or is empty.
  • With active reservations: Reserved is greater than 0.

Transfers

  • Still pending: Status is Pending.
  • Approved but never completed: Approved is not empty AND Completed is empty.

Purchase Invoices

  • Unpaid over ₡100,000: Status is Pending AND Total is greater than 100000.
  • Past due: Due Date is before today AND Status is Pending.

Purchase Orders

  • Not received past the expected date: Expected Delivery is before today AND Status is not Received.
  • By the supplier's invoice number: Supplier Invoice Number contains the consecutive they gave you.

Payments Received

  • SINPE deposits for one day: Payment Method is SINPE Móvil AND Payment Date is on 2026-04-30.
  • Account credits: Allocation type is Account credit.
  • Payments not tied to an invoice: Has invoice — has none.
  • Collections from one register or branch: filter by Branch, Terminal or Deposit Account.

Expense Payments

  • Checks paid this month: Payment Method is Check AND Date is this month.
  • Payments to one supplier: Supplier contains the name.

Document Reception (FEC)

  • Waiting to be accepted or rejected: Status is Pending.
  • Credit notes received this year: Type is Nota de Crédito AND Date is this year.
  • Documents from one supplier: Issuer contains the name, or Issuer ID is the number.

Employees

  • Active in one department: Department contains the one you want AND Status is Active.
  • Hired this year: Hire Date is this year.
  • Calendar resources: Show as calendar resource is yes.

Power-user tricks

Combine "all" and "any" groups

When you need something like "records matching X or Y, and also Z":

Example: overdue or partially pending invoices for one customer
  • Outer group — matching all:
    • Customer ID number is "3-101-XXXXXX"
    • Inner group — matching any:
      • Status is Overdue
      • Status is Pending Partial

Exclude with "none"

The none combinator keeps only the records that match none of the group's rules: with two rules, anything matching either one is excluded. Useful to find what doesn't have a characteristic:

Example: invoices that do NOT contain a certain SKU

Create an inner group with the none combinator:

  • Product (SKU) is "PHN-CABLE-USB"

Result: every invoice that doesn't carry that SKU on its lines.

Combine quick filters with advanced search

The list's quick-filter buttons, the text search box and the advanced search all apply together. For example: click Overdue + advanced search with Customer contains "ABC" = that customer's overdue invoices. Every active filter shows as a chip above the list, and each chip is removed on its own with its ×.

The "is empty" operator

Available on text, number and date fields. It's the fastest way to spot missing data:

  • Contacts with no email
  • Products with no SKU
  • Invoices with no due date
  • Invoices with no clave numérica

Navigate results with arrow keys

After applying the search, open the first record and use ↑ ↓ to move through the filtered list without going back. It works on the detail views for invoices, estimates, contacts, work orders, products, employees, payroll periods, purchase invoices, purchase orders and assets. See Keyboard Shortcuts.

Need more help?

If you have a recipe you think the rest of the team would find useful, email us and we'll add it to this guide.

EmailWhatsApp

Use Astra for your business

Astra · Astranexo

See plans and pricing