Collect your business customersâ VAT ID and send it to inFakt, so it shows on the document. In Poland thatâs the NIP UE: PL + NIP, for example PL1234567890.
đ§Ÿ 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). Company ID / registration number isnât supported yet.
Set it up
Open inFakt | 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 âNIP:â) 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 Polish NIP of 10 digits.
It goes to inFakt 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 inFakt still rejects the NIP, you see it on the Monitor. See Invalid NIP on the order.
Good to know
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.
The VAT ID isnât saved on the Shopify order.
If the chosen source holds a value that isnât a VAT ID, no VAT ID goes on the document, and the Monitor still shows the document as successful.
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 PL1234567890). If the customer types it without the country code (1234567890), they can enter it, but Shopify doesnât save it on the order, so it never reaches inFakt 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 inFakt â
We send the VAT number to inFakt 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 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). 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 (PL1234567890 or 1234567890) goes to inFakt, if it passes the VAT ID check.
How it works
If Address line 2 holds a VAT ID, itâs sent to inFakt as the NIP, 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.
Option 3: Metafield
For a VAT ID that another app or form saves in a metafield, for example Checkout Blocks or a B2B sign-up form.
How it works
You pick one of your storeâs metafields: an order, customer or B2B company metafield. The list shows the metafields you created and named in Shopify admin » Settings » Custom data, for example âNIP (checkoutblocks.nip)â.
When the document is created, the app reads that metafield on the order, on its customer or on its B2B company.
The value goes through the same VAT ID check. A VAT ID goes to inFakt and the customer counts as a company (B2B). Empty or not a VAT ID: the customer counts as an individual (B2C), and thatâs not an error.
Address line 2 always stays part of the address.
Only the VAT ID is read from the metafield.
Set it up
Open inFakt | Integration app » Settings menu » Content section » VAT number on documents field » Metafield
In the Metafield list under it, choose the metafield that holds the VAT ID » Save
No metafield in the list? Create one first in Shopify admin » Settings » Custom data.
Company name and customer type
The company name comes from the Company field of the billing address. inFakt saves the client as a company when a VAT ID goes on the document, otherwise as an individual. For company invoices, ask business customers to fill in both fields. Details: Company name and Customer type in inFakt.

