Before you start
- VIES covers VAT numbers from EU countries and Northern Ireland (XI). Other numbers show as not checkable.
- Add your own EU VAT number in Settings › Tax & legal. Foliant sends it with each check so that VIES returns a consultation number, your proof of the check. See VAT numbers, EORI and tax names.
When Foliant checks a number
A valid answer is reused for 30 days, and a “not valid” answer for 24 hours. After that, the buyer’s next order checks again.
Check a customer’s VAT number
- In the Shopify admin, open the customer.
- In the B2B Customer Details block from Foliant, enter the Company Name and VAT Number, and save.
Click Re-check to ask VIES again.
If your plan doesn’t include VAT checks, the block shows “VAT number checks aren’t in your plan.” with See plans. If Foliant isn’t allowed to edit customers yet, the block asks you to allow it in Foliant before it can save.
When VIES doesn’t answer
Foliant never treats “couldn’t verify” as “not valid”. It asks VIES again by itself: after 15 minutes, then waiting longer each time, up to every 6 hours, for up to two days. Meanwhile, an invoice for a cross-border sale with an unverified number prints the VAT number not verified note instead of an exemption note.On your documents
Templates can print the result withorder.buyer.vat_status (valid, invalid, unavailable or unchecked), order.buyer.vat_checked_at and order.buyer.vat_consultation_number. Documents use the stored answer from when they were created. They never wait for VIES.
When a check changes after an invoice was locked
A locked invoice keeps the VAT status it printed. If a later check of the same number gives a different answer, the Document numbers block on the order shows Buyer’s VAT status changed. The invoice doesn’t change: issue a credit note if it needs correcting.Good to know
- When a customer asks you to erase their data, Foliant deletes the checks of their VAT number.
- If your plan stops including the toolkit, Foliant stops checking numbers, and new documents no longer print a VAT status or legal notes. Locked invoices keep what they printed.