Invoice Template for AI File Renaming
This template names every invoice by what is printed on it: the vendor, the invoice date, the invoice number, and optionally the amount. It works on born-digital PDFs and on scanner output — image-only scans are read with AI vision.
Naming pattern
Section titled “Naming pattern”{Detected Date} – {Vendor} – {Invoice Number} – {Amount}| Block | Source | Example |
|---|---|---|
| Detected Date | The invoice date printed in the document (not the file date) | 2026-06-12 |
| Vendor | The issuing company, normalized to one spelling | Acme Supply |
| Invoice Number | Exactly as printed, prefix included | INV-10234 |
| Amount | Total with currency code — optional but useful for reconciliation | 1,204 USD |
Before and after
Section titled “Before and after”| Before | After |
|---|---|
download (7).pdf | 2026-06-12 – Acme Supply – INV-10234 – 1,204 USD.pdf |
Scan0001.pdf | 2026-06-03 – Cloudflare – CF-88112 – 96 USD.pdf |
invoice_copy.pdf | 2026-05-28 – Rippling – RIP-2026-1180 – 4,830 USD.pdf |
Build it
Section titled “Build it”- Open Templates in the sidebar and create a new Template named “Invoices”.
- In the naming pattern, add the Detected Date, Vendor, Invoice Number, and Amount Naming Blocks; set the date format to
YYYY-MM-DD. - Optional: add a Custom AI Block for an expense category — describe your category list (“Software, Travel, Meals, Hardware”) and the AI assigns one per invoice.
- Run a test batch of 10–20 mixed invoices, review the preview, and adjust block order or separators.
- Assign the Template to folder monitoring on the folder where invoices land.
Related
Section titled “Related”- Rename invoices with AI — the full invoice workflow
- Invoice file naming convention — why these fields, in this order
- Rename scanned documents — scanner-specific setup
