WooCommerce VAT/BTW checkout field

Add a WooCommerce VAT number checkout field without breaking the invoice workflow.

EU business buyers need to enter VAT/BTW details before payment, but the value must also flow into invoices, emails, My Account downloads, exports, and refund credit notes. This guide turns that field into a purchase-ready Lattice Invoices requirement.

The real problem is not the field. It is what happens after checkout.

A VAT number field looks simple, but store owners usually buy a plugin because the downstream workflow is messy: missing VAT data, invoice correction emails, manual PDF edits, and bookkeeping exports that do not include the information the accountant expects.

Lattice Invoices positions the VAT/BTW checkout field as the first step in a WooCommerce-native invoice system, not a standalone form tweak. That is a clearer buying reason for EU B2B stores.

VAT field readiness checklist

Company name and VAT/BTW number fields are visible before payment
VAT number is stored as order metadata, not buried in a customer note
Billing country and company data are captured with the VAT field
The invoice PDF can print the VAT number exactly as entered or verified
Customer emails and My Account downloads use the same invoice data
Admins can edit a correction safely without losing the original order trail

Implementation path

1. Decide when the field appears

The cleanest WooCommerce flow shows VAT/BTW fields when the customer is buying as a company or enters a billing country where B2B invoice data is needed. Avoid forcing private consumers through business-only fields.

2. Save the value to order metadata

A VAT number should travel with the order, invoice PDF, customer email, admin screen, and export. If it only lives in checkout form state or an order note, it will create manual cleanup later.

3. Connect the field to invoice generation

The invoice workflow should use the stored VAT/BTW number together with company name, billing address, VAT amount, invoice date, and invoice number when the PDF is generated.

4. Test a refund and credit note

After a partial or full refund, the credit note should keep the same business customer context and reference the original invoice instead of requiring another manual PDF.

Generic checkout field vs. invoice-ready VAT workflow

NeedGeneric field pluginLattice Invoices path
Field placementHidden in notes or added after checkoutVisible before payment for B2B buyers
StorageTemporary checkout valueOrder metadata used by invoices and exports
Invoice PDFManual copy/paste into PDFPrinted from stored order billing data
Support loadCustomer emails missing VAT detailsCheckout captures details upfront
RefundsVAT context recreated manuallyCredit note keeps original business data

Mistakes to avoid

!Adding a generic text field but not saving it to the WooCommerce order.
!Collecting VAT/BTW details after payment by email, which delays invoices and creates support work.
!Making the field required for every B2C buyer instead of qualifying B2B/company orders.
!Printing the VAT number on PDFs but not storing invoice date, number, and tax totals as separate metadata.
!Forgetting refunds: credit notes need the same business billing context as the original invoice.

FAQ

Does WooCommerce include a VAT number checkout field by default?

WooCommerce stores billing company and tax totals, but many stores still need a dedicated VAT/BTW number workflow that stores the value on the order and exposes it to invoice PDFs, emails, and customer downloads.

Should the VAT number field be required?

Usually it should be required only for business invoice flows, not every consumer checkout. The exact rule depends on the store, country mix, and whether the product is sold B2B, B2C, or both.

Is validation enough to solve invoicing?

No. Validation helps, but the sales problem is the full invoice workflow: capture the field, save it, print it on invoices, attach PDFs, expose downloads, and preserve data for refunds and credit notes.

How does this connect to Lattice Invoices?

VAT/BTW checkout fields are one of the first conversion-critical pieces in the Lattice Invoices product path, alongside sequential invoice numbers, PDF delivery, My Account downloads, and refund credit notes.