WooCommerce invoice numbering

Plan WooCommerce invoice numbers before the accountant asks for a cleaner audit trail.

EU VAT stores need more than a PDF button. They need predictable invoice numbers, VAT/BTW order metadata, credit-note numbers for refunds, and customer downloads that stay connected to WooCommerce orders.

Invoice numbering is a revenue workflow problem.

Stores searching for WooCommerce invoice numbering are usually close to purchase because the pain is already operational: customers ask for invoices, bookkeepers ask for sequences, and refunds need a document trail that is not hidden in order notes.

Lattice Invoices is positioned for that workflow: decide when an order becomes invoiceable, assign a clear invoice number, print VAT/BTW data, and keep credit notes connected to refunds.

Invoice-numbering readiness checklist

Use invoice numbers that are sequential, readable, and separate from WooCommerce order IDs
Store invoice number, invoice date, VAT/BTW number, billing country, and tax totals on the order
Do not reuse invoice numbers after cancellations, refunds, or failed payments
Generate credit-note numbers for refunds that reference the original invoice
Expose invoice PDFs in customer emails and My Account downloads
Keep the format understandable for the store owner, customer, and accountant

Common WooCommerce invoice number formats

Year + sequence

INV-2026-000148

Best for most small WooCommerce stores because the invoice year is visible and the sequence is easy to audit.

Country + year + sequence

NL-2026-000148

Useful when the store sells across multiple EU markets and wants the billing country visible in admin exports.

Separate credit-note sequence

CN-2026-000019

Refund documents should not look like normal sales invoices. A dedicated credit-note prefix keeps the trail clear.

Order numbers vs. invoice numbers

NeedManual / order-ID workaroundLattice Invoices path
Order IDWooCommerce order IDs can skip, change visibility, and include failed/cancelled checkout attemptsDedicated invoice sequence starts when the invoice workflow says the order is invoiceable
Invoice dateStore owner checks payment email manuallyInvoice date is stored with the generated invoice number
Refund trailRefund note is written in admin commentsCredit note has its own number and points back to the original invoice
Customer accessCustomer emails support for a copyInvoice PDF is attached and downloadable from My Account
BookkeepingExport requires manual matchingInvoice number, VAT data, and totals are attached to the WooCommerce order

FAQ

Can I use WooCommerce order numbers as invoice numbers?

You can, but many stores prefer a dedicated invoice sequence because order IDs can include abandoned, failed, cancelled, or test orders. A separate sequence makes the accounting trail easier to explain.

When should the invoice number be created?

For most WooCommerce stores it should be created when the order becomes paid or processing, not when a customer first lands on checkout. The exact trigger should match the store's bookkeeping process.

What happens when an order is refunded?

The original invoice should remain in the audit trail. The refund should create a credit note with its own number and a reference to the original invoice number.

How does Lattice Invoices approach numbering?

Lattice Invoices is being shaped around the full WooCommerce EU invoice workflow: invoice sequences, VAT/BTW order metadata, customer PDFs, email attachments, My Account downloads, and refund-linked credit notes.