Sort Invoices Automatically on Mac (2026 Recipe)

NameQuick Team··Invoice Processing

Learn More in the Docs

From cryptic filenames to an audit-ready archive

Every freelancer's month ends the same way: a Downloads folder overflowing with PDFs named invoice_final_2.pdf, ATT00012.pdf, and rechnung-kw-23.pdf. When tax time arrives, the pile turns into a three-hour scavenger hunt. The good news: your Mac already has the pieces to fix this — you just need a tool that ties them together.

This guide is a copy-paste recipe. We will define what auto-sorting means on macOS, compare Finder, Automator, Hazel, Folder Tidy, and Billie against an AI-first workflow, then walk through the exact steps to drop 50 invoices into a folder and watch them emerge as 2026-03-14_Adobe_INV-9921_59.99USD.pdf.

NameQuick
invoice_final_2.pdf
2026-03-14_Adobe_INV-9921_59.99USD.pdf
Subscription
AI
ATT00012.pdf
2026-04-02_Stripe_in_1Q9xyz_$240.00.pdf
Payment fee
AI
rechnung-kw-23.pdf
2026-06-08_Telekom_R-4421_42.90EUR.pdf
Utility
AI
download (3).pdf
2026-02-10_AWS_INV-100928_312.40USD.pdf
Cloud hosting
AI
Scan_2026-01-15.pdf
2026-01-15_Office-Depot_INV-77321_89.95USD.pdf
Office supplies
AI

What "auto-sort" means on macOS

Auto-sorting is a chain of five tasks: read the invoice → extract the data you care about → rename → move → tag. On macOS the pieces look like this:

  • OCR (optical character recognition) converts scanned text in PDFs and images into machine-readable characters. Without OCR, your Mac sees invoice_final_2.pdf as a string, not as a document containing a date and amount. macOS 26 Tahoe ships fast on-device OCR that apps can tap into.
  • AI extraction parses OCR text to identify fields like vendor, invoice date, invoice number, and total. It is contextual — it knows the difference between the invoice date and the due date.
  • Renaming turns extracted fields into a descriptive filename. The widely recommended pattern is YYYY-MM-DD_Vendor_InvoiceNo_Amount.pdf — sorts naturally, tells you what is inside at a glance.
  • Moving and tagging files them in a logical directory like /Invoices/{Year}/{Vendor}/ and applies Finder tags (software, utilities) so Spotlight searches surface them instantly.

Native macOS tools can handle parts of this chain. Finder's batch rename can find-and-replace text or append dates (support.apple.com), but it cannot read inside a PDF. Automator and Shortcuts can watch folders and run workflows, yet they operate on file names and metadata. To merge OCR and AI extraction with automation, you need a dedicated app.

Native Mac options vs. dedicated apps

Finder, Automator, and Shortcuts

The built-in tools give you a taste of automation. Finder's Rename can replace text or append dates to file names; Automator and Shortcuts can watch a folder and trigger renaming, moving, and tagging. The hard limit: they cannot open a PDF, recognize that the issue date is March 14, 2026, and rename accordingly. You still open each invoice, copy details, and paste them into the filename.

Hazel

Hazel watches folders and organizes files based on user-defined rules. It can move files by name, date, type, Spotlight comments, apply tags, and run AppleScript (noodlesoft.com). Hazel shines for pattern-based automation: move files with "invoice" in the name to an "Invoices" folder. It costs $42 for a single license (store.noodlesoft.com). The catch: no built-in OCR or AI. To extract a vendor from a PDF, you need to write a script or chain in an external OCR step.

Folder Tidy

Folder Tidy is a $5 one-time utility that sorts files into subfolders by type — images, spreadsheets, PDFs. It offers 15+ built-in rules plus custom rules (tunabellysoftware.com). It is great for generic cleanup, but it sorts by extension, size, or date — it cannot read inside an invoice and cannot create descriptive filenames.

Billie

Billie markets itself as a smart invoice assistant for macOS. It uses AI to rename and archive invoices and can organize them by month, quarter, or year (getbillie.app). Destination Groups let you move or email processed files. Billie is a subscription: in-app purchases start at $9.99, with pro and premium plans at $39.99/year and $79.99/year (aichief.com). The interface is intentionally simple, which means limited control over filename patterns and rule logic.

NameQuick

NameQuick is an AI-powered batch renamer for macOS that reads file contents via OCR, extracts key fields, and generates descriptive filenames. You build Templates with extraction fields and filename patterns, or write Freeform Prompts in plain English. Watch Folders automatically process new files. The Rules Engine supports AND/OR conditions for pre-AI filters and post-rename actions. It applies Finder tags, batch processes hundreds of files, and gives you full undo. Pricing: $38 lifetime BYOK or $5–$35/month managed plans, with a 7-day free trial. Files stay on your Mac; only extracted text is sent to the AI in managed mode, and BYOK mode lets you wire up a local model for full privacy.

Step-by-step workflow

Here is the recipe the SERP is missing. Follow these five steps to turn a chaotic Downloads folder into a structured archive.

1. Designate a watch folder

Choose where new invoices arrive — usually ~/Downloads, your scanner output folder, or a specific email-attachment dump. In NameQuick, open Preferences → Watch Folders, click Add Folder, and select the source. Optionally set a destination subfolder like ~/Invoices/inbox to stage files before renaming.

2. Create a template

For structured invoices, use Templates to define extraction fields and a filename pattern:

Fields: vendor, invoice_date, invoice_number, total_amount, currency
Filename: {invoice_date:YYYY-MM-DD}_{vendor}_{invoice_number}_{total_amount}{currency}.pdf

NameQuick's template editor shows sample results and validates the pattern against test files before you commit.

3. (Optional) Write a freeform prompt

If your invoices vary widely in format, supplement the template with a freeform prompt:

NameQuick prompt for incoming invoices
For each invoice, extract the vendor name, the invoice issue date (NOT the due date), the invoice number, and the total amount with currency. Format the filename as YYYY-MM-DD_Vendor_InvoiceNo_Amount.pdf. Move the file into /Invoices/{year}/{vendor}/. Tag software subscriptions with #software, utilities with #utilities, and any invoice over $500 with #high-value.

Save the prompt in NameQuick's Prompt Library and bind it to your watch folder.

4. Set up rules

In the Rules tab, add conditions. Pre-AI rules (When Added) can skip non-invoice files — for example, ignore anything that is not a PDF or image. Post-rename rules use the extracted fields to decide where to move or how to tag:

  • IF total_amount > 100 THEN tag "High Value"
  • IF vendor CONTAINS "Google" OR "Microsoft" THEN tag "Subscriptions"
  • IF extension NOT IN ("pdf", "jpg", "png", "heic") THEN ignore

5. Enable automatic processing

Toggle Automatic Processing on the watch folder. Every new invoice dropped into the folder is now OCR'd, named, filed, and tagged automatically. Full undo means you can revert any misnamed batch with one click. To clean up your backlog, drag any number of existing invoices onto the NameQuick window — review the proposed names, make corrections, and apply in batch.

Filename pattern conventions

The most widely used convention is YYYY-MM-DD_Vendor_InvoiceNo_Amount. Why each segment matters:

  • Date first. Sorting by date puts files in chronological order and makes year/month folders intuitive. ISO format avoids regional ambiguity.
  • Vendor next. Grouping by vendor surfaces all invoices from one supplier and supports vendor-specific subfolders.
  • Invoice number. Ensures traceability and prevents duplicates when a vendor issues multiple invoices on the same day.
  • Amount. Quick visual scan during audits. If you prefer not to surface amounts in filenames, omit this field.

In NameQuick's template syntax you can format fields ({invoice_date:YYYY-MM} for month-only) and pad numbers ({invoice_number:00000} for fixed-width).

Rules engine examples

Three patterns that pay off immediately:

Differentiate suppliers

  • Condition: vendor CONTAINS "Adobe" OR vendor CONTAINS "Figma"
  • Action: tag Software, move to /Invoices/{invoice_date.year}/Software/

Highlight high-value invoices

  • Condition: total_amount > 500
  • Action: tag High Value, move to /Invoices/{invoice_date.year}/HighValue/

Skip drafts and duplicates

  • Condition: file_name CONTAINS "draft" OR "copy"
  • Action: ignore (skip processing)

Hazel offers similar rule logic without OCR; you would chain in an external tool to read invoice contents. Folder Tidy does not support content-based rules at all.

Tax and retention: why naming matters

Keeping invoices is not just personal organization — it is a legal requirement. The U.S. Chamber of Commerce recommends keeping federal tax returns three to seven years and accounting documents at least seven years (uschamber.com). If you ever file a claim for bad debt, records must be kept for seven years. In Germany, GoBD requires tax-relevant documents to be stored for 8–10 years, starting at the end of the calendar year the document was created (germanpedia.com).

A clear naming convention pays off here. When an auditor requests 2019 records, you navigate to /Invoices/2019/ and pull 2019-05-14_Microsoft_INV-12345_299USD.pdf instantly. Finder tags let you filter by category (#software vs #utilities). With NameQuick's rules engine, you can also archive invoices older than seven years into a read-only disk image or external drive for long-term storage.

Pricing and security comparison

Prices accurate as of May 2026.

ProductPurposePricingPrivacy
NameQuickAI-powered renaming and organization (OCR, templates, watch folders, rules, tags, undo)$38 one-time BYOK or $5–$35/mo managed; 7-day trialFiles stay on your Mac; managed mode sends only extracted text; BYOK supports local models
Hazel 6Rule-based file automation (no OCR/AI)$42 single, $65 family, $20 upgradeLocal-only; relies on metadata or scripts
Folder TidySort by file type~$5 one-timeLocal-only; no OCR or content access
BillieAI invoice assistant (limited customization)$9.99 in-app; $39.99/yr pro; $79.99/yr premiumOn-device but proprietary AI; limited control
GrandTotalInvoicing (creation, not sorting)€5.90–€14.90/moLocal storage, AES-256
Moon InvoiceInvoicing & payments (creation)~$6.67–$12.50/mo annualCloud sync with offline mode

The pricing gap matters. NameQuick's $38 lifetime BYOK pays for itself after the first tax season. Hazel is cheaper upfront but requires you to write scripts and bolt on OCR yourself. Billie's subscription works out cheaper for the first year but compounds over time. The invoice-creation tools (GrandTotal, Moon Invoice) solve a different problem — they generate the invoices you send, not the ones you receive.

From a chaotic Downloads folder to calm

Invoices do not need to be a headache. By combining on-device OCR, AI extraction, smart templates, watch folders, and a rules engine, NameQuick turns the Downloads pile into an audit-ready archive in minutes. Finder, Automator, Hazel, and Folder Tidy each handle pieces. Billie goes further with AI renaming but lacks flexible rules. NameQuick is the only Mac-native tool that ties content understanding, renaming, moving, and tagging together in one interface.

Try the NameQuick free 7-day trial (50 renames, no card). Drop your backlog of invoices in and watch them come out with human-readable names and the right tags.

Try NameQuick on your next batch

Use AI-powered presets and pricing that fit batch renaming without rebuilding your workflow.

Joinhappy customers

Frequently asked questions

How do I automatically sort invoices on a Mac?

Set up a watch folder in NameQuick, enable OCR and AI extraction, and pick a filename pattern like YYYY-MM-DD_Vendor_InvoiceNo_Amount.pdf. Add rules to move files into /Invoices/{Year}/{Vendor}/ and apply Finder tags. Every new invoice dropped into the watch folder is renamed and filed automatically.

Can macOS rename PDFs by their contents?

Not on its own. Finder's batch rename can replace text or append dates but cannot extract vendor names, dates, or amounts from inside a PDF. You need a tool with OCR and AI extraction — NameQuick or Billie — to rename files based on their contents.

Does Hazel work for invoice sorting?

Hazel watches folders and applies rules based on file names, dates, or types. You can use Hazel to move files with invoice in the filename into an Invoices folder or apply tags, but it cannot read invoice contents unless you write a custom script that pipes through external OCR. For AI-powered extraction out of the box, use NameQuick.

How do I extract the vendor and date from a PDF automatically?

Use a tool that combines OCR with AI. NameQuick's Smart Rename runs OCR on the PDF, asks the AI to extract fields like vendor, invoice date, and amount, and inserts them into the filename via your template. Billie offers similar extraction with fewer customization options.

What's the best folder structure for invoices on Mac?

A hierarchical structure like /Invoices/2026/Adobe/ works well: top level by year, second level by vendor. Inside each vendor folder, files named YYYY-MM-DD_Vendor_InvoiceNo_Amount.pdf sort chronologically. For high-volume workflows, add month folders (/Invoices/2026/03/Adobe/). Use Finder tags to filter by category or tax type across the whole tree.

Is there a free way to auto-organize invoices on Mac?

You can approximate it with Automator or Hazel, but you will manually craft patterns and you will not get OCR or AI extraction. NameQuick offers a free 7-day trial (50 renames); Hazel has a 14-day trial. After the trial, the time you save typically justifies the cost.

The NameQuick team writes practical guides for file organization, document workflows, and automation with NameQuick.

This article is for general information and does not replace legal, tax, or accounting advice. Verify requirements with a qualified professional.

Get started

Ready to organize your files?

NameQuick renames files 10x faster with AI-powered rules.

Joinhappy customers
NameQuick Team·