Collect your business customersâ VAT ID and send it to SmartBill, so it shows on the document. In Romania thatâs the cod de TVA: RO + CUI, for example RO12345678.
đ§Ÿ VAT number on documents
Choose where the app takes the VAT ID from. Only the source you choose puts a VAT ID on the document.
An order with a valid VAT ID counts as a company (B2B) order, otherwise as individual (B2C). The company registration number (Reg. Com.) isnât supported yet.
Set it up
Open SmartBill | Integration app » Settings menu » Content section » VAT number on documents field » choose a source » Save
VAT ID check
Whatever the source, the app checks that the value looks like a VAT ID:
Spaces, dots, dashes, slashes and a typed label (for example âCUI:â) are removed first.
Accepted: an EU VAT number with the country code (all 27 EU countries, and GB, XI, CH, NO), or a number without the country code in the format of the billing country (or your storeâs country), for example a Romanian CUI without RO.
It goes to SmartBill as the customer typed it, without the label.
Anything else (for example a flat number, a phone number or a personal ID) is left out. Thatâs not an error.
If SmartBill still rejects a VAT ID in the right format, you see an error code on the Monitor.
Good to know
A customer with a VAT ID on the document is marked as a VAT payer in SmartBill. See Customer type in SmartBill.
Generate for and the Monitor use the company (B2B) or individual (B2C) decision. See Generate for.
If the source doesnât match (for example Address line 2 is chosen, but the customer filled in the checkout field), the customer counts as a company (B2B), but no VAT ID goes on the document.
With Donât send VAT number, the company (B2B) or individual (B2C) decision still works, from the checkout field.
VAT handling (reverse charge, exemptions, OSS) doesnât depend on this: it follows the Shopify order. See Tax logic.
On some older stores no option is selected in the field yet. Then Address line 2 is left out of the address and isnât sent as a VAT ID. Choose a source to change this.
The VAT ID isnât saved on the Shopify order.
A change only affects new documents.
Option 1: Company VAT number field (checkout)
The customer types the VAT ID into Shopifyâs Company VAT number field at checkout. This is the default.
How it works
Step 1 â Customer enters VAT ID
The customer enters their VAT ID at checkout. With Shopify Tax, Shopify checks it and applies reverse charge when itâs due.
Always with the country code: Shopify saves the VAT number only in the EU format, with the country code first (for example RO12345678). If the customer types it without the country code (12345678), they can enter it, but Shopify doesnât save it on the order, so it never reaches SmartBill or the document. For a VAT ID without the country code, use Address line 2.
Step 2 â VAT ID is saved to the customer
Shopify saves it under Customer » VAT number. This works for checkout orders and for orders you create in the admin (there you enter it on the customer).
Step 3 â We send the VAT ID to SmartBill â
We send the VAT number to SmartBill with the customer details, exactly as typed, so it appears on the document. For a Shopify B2B company, we send the VAT number of the company location.
Set it up
In the app: Settings menu » Content section » VAT number on documents » Company VAT number field (checkout) » Save
In Shopify Admin: Settings » Checkout » Customer information, set Company name and Company VAT number to Optional (or Required) » Save
Good to know
This field belongs to Shopify Tax (EU/UK VAT). Checking the VAT number at checkout needs Shopify Tax (free up to Shopifyâs yearly sales limit, then Shopify may charge a fee). This is up to Shopify: our app reads the VAT number once Shopify saves it on the order or the customer. If you just want to collect any tax number, use Address line 2.
Option 2: Address line 2
The customer types the VAT ID into Address line 2 of the billing address. Itâs more flexible than the checkout field: a VAT ID with or without the country code (RO12345678 or 12345678) goes to SmartBill, if it passes the VAT ID check.
How it works
If Address line 2 holds a VAT ID, itâs sent to SmartBill as the VAT ID, exactly as typed (without the label). It then isnât part of the address.
If it isnât a VAT ID (for example a flat number), it stays in the address, and the customer counts as an individual (B2C).
If the customer also filled in the checkout VAT field, that one doesnât go on the document, but the customer counts as a company (B2B).
Address line 2 and the checkout field both empty: no VAT ID on the document.
With any other source chosen, Address line 2 is always part of the address.
Set it up
In the app: Settings menu » Content section » VAT number on documents » Address line 2 » Save
In Shopify, rename the Address line 2 label in your checkout, for example to âVAT IDâ (Shopify Admin » Settings » Checkout » Checkout language). Otherwise customers type their flat number there.
Earlier Collect VAT ID setting
A few stores had an earlier, hidden Collect VAT ID setting turned on. They keep it until they choose a source under VAT number on documents; until then nothing is selected in the new field, and it works as before: the checkout VAT number goes to SmartBill without the VAT ID check, and Address line 2 is left out of the address.
Company name and customer type
The Company field of the billing address becomes the customer name on the document. Whether the customer is a VAT payer in SmartBill, and whether we treat them as company (B2B) or individual (B2C), depends only on the VAT ID. Details: Company name and Customer type in SmartBill.

