AccountCraft Journal
VAT Field in a Shopify Customer Account: How to Add One
Add a VAT number or company ID field to Shopify New Customer Accounts: where Shopify stores it, what checkout does with it, and how customers can edit it.

Shopify gives you a VAT number field at checkout and a company ID on B2B company records, but New Customer Accounts do not let a customer view or edit either one by default. To close that gap, bind a field to a customer metafield and show it on the account page. AccountCraft does that with a visual builder and no theme changes. Below: what each Shopify field captures, where the value lives, how validation behaves, and the setup steps.
TL;DR
- Shopify’s checkout has a Company VAT number field. It can be set to Don’t include or Optional, and Don’t include is the default.
- A Company ID lives on a B2B company record (Customers > Companies), not on the customer’s own profile page.
- Customers can update their name and email in their account, but Shopify’s listed self-service edits do not include a VAT number or company ID.
- To let customers see and edit a VAT number or company ID in New Customer Accounts, bind a field to a customer metafield. You can install AccountCraft free from the Shopify App Store.
- Collecting tax IDs is personal-data handling: tell customers why you ask and keep consent records. Compliance stays your responsibility.
Table of Contents
- Two fields that look alike but do different jobs
- Where Shopify stores the VAT number
- What Shopify does with the number
- How to add a VAT or company ID field to New Customer Accounts
- Using the stored value
- Privacy: collecting tax IDs responsibly
- Perspective
- Build the account page your B2B buyers need
- FAQ
- Sources
Two fields that look alike but do different jobs
Merchants searching for a VAT field usually mean one of three things, and Shopify treats them separately.
Company VAT number at checkout. Shopify’s checkout form documentation lists Company name as a customer-information field and Company VAT number as a tax field. The VAT field can be set to Don’t include or Optional, and Don’t include is the default.
Company ID on a company record. For B2B, you add a company under Customers > Companies > Add company. According to Shopify’s guide to creating companies, the Company ID accepts an existing external ID, such as one from your ERP, or a unique ID you create yourself.
A field the customer controls. This is the one people often want: a place in the account where the customer types or corrects their VAT number or company registration number. Shopify’s customer management page says customers using customer accounts can update their profile name and email. Its listed self-service edits do not include VAT or company ID, and tax settings are edited in the Shopify admin.
So the answer to “can I add a VAT field to the account?” depends on which of these you need. The first two exist natively. The third needs a custom field.

Where Shopify stores the VAT number
A VAT number entered at checkout is not lost after the order. Shopify’s VAT validation page says a number entered on a customer is validated automatically and, if valid or left empty, is stored in the customer profile for future orders and reference.
That matters for two reasons:
- You have one record per customer to check when preparing invoices or a B2B order.
- If the customer’s number changes (a new registration, a typo you only notice later), they cannot fix it themselves from the account. They email you, and you edit it in the admin.
A customer-editable field removes that back-and-forth.
What Shopify does with the number
For companies and locations with UK or EU shipping addresses using Shopify Tax, Shopify Tax validates the VAT number you enter. Separately, you choose whether to collect tax, not collect tax, or collect tax unless exemptions apply.
At checkout, the behavior is stricter. Shopify states that if VIES (the European Commission’s VAT number lookup service) cannot complete validation, the reverse-charge exemption is not applied and VAT is charged by default. The same page says merchants cannot manually override this for that checkout flow.
Practical consequence: a B2B buyer whose number could not be validated may be charged VAT and ask for a refund. Having the number stored and correct on their profile ahead of time helps you answer that quickly. Check your own tax settings for your registrations before relying on any exemption behavior, and ask your accountant about reverse-charge rules for your situation.

How to add a VAT or company ID field to New Customer Accounts
Here is the routine, with the Shopify admin paths.
1. Decide what you collect
Pick the exact values: VAT number, company registration number, tax ID, or all three. Each becomes its own field. Collect only what you use. If you only need a VAT number for reverse-charge invoices, do not ask for a registration number too.
2. Create the metafield definitions
In the Shopify admin, go to Settings > Custom data > Customers and add a definition for each value, for example a single-line text metafield named VAT number. Keep a clear namespace and key, because every block you build later points at it. Storing the value as a customer metafield keeps it inside Shopify, attached to the customer record.
3. Install AccountCraft
Install AccountCraft free from the Shopify App Store. It builds on New Customer Accounts using official Shopify Customer Account UI Extensions, so you do not edit your theme or write code. There is a free plan, and the paid plans (Pro, Plus) are billed through Shopify. See the App Store listing for current pricing.
4. Add an update form or single field block
In the AccountCraft builder, add an update form block or a single field block and bind it to your VAT number metafield. The customer sees the field on their account page, types the value, and saves it. The data goes to the customer metafield in Shopify, with no separate customer database. Our guide on letting customers edit customer metafields walks through the binding in more detail, and the no-code custom fields guide covers the API side.
5. Show it only to the right customers
VAT fields are irrelevant to most consumers. AccountCraft supports conditional rendering by customer tag, metafield, market, B2B and account age. Show the VAT block only to customers tagged as business buyers, or only in your EU markets. Consumers then see a clean account page.
6. Add a record list if one customer has several entities
Some buyers purchase for several subsidiaries, each with its own tax number. A repeatable record list lets the customer add several entries, each with its own name and number, instead of cramming them into one text box.
7. Translate the labels
A German buyer expects “USt-IdNr.”, a French one “numéro de TVA”. Use the translations support so each customer sees the label in their language.
8. Test in a real account
Sign in to your store as a test customer, save a value, then open Customers in the admin and confirm the metafield on that customer record now shows it.
Using the stored value
A metafield is a plain data point. It does not by itself change tax at checkout, because that behavior comes from Shopify Tax and the checkout VAT field described above. What the metafield gives you is a correct, customer-maintained record that your team, invoice workflows and B2B onboarding can read. Keep the checkout VAT field and the account field consistent: tell customers the account value is the one you keep on file.
Privacy: collecting tax IDs responsibly
A VAT number for a sole trader can identify a person, so treat it as personal data. Shopify’s Data Processing Addendum requires merchants to provide applicable privacy notices and transparency and to hold the necessary rights, permissions and consents. Merchants remain responsible for their own legal obligations, so ask your lawyer or data protection adviser how this applies in your market.
For your side of the work:
- Say next to the field why you ask and what you do with the number.
- Collect and record consent with the privacy consent block, which works with Shopify’s customer privacy APIs. AccountCraft helps you collect, record and honor consent; it does not make a store compliant on its own. See our guide to adding account consent without code.
- Prepare for access and deletion requests. Our DSAR process guide lists the admin steps.
- Think about what first-party data you actually need. This first-party data strategy guide helps frame that decision.
Perspective
Most requests we see about VAT fields are really requests about ownership. The merchant wants the number correct, and the customer wants to correct it without writing an email. Shopify’s checkout and company records cover the first half. The account page is where the second half belongs.
Our approach is to keep the value in a customer metafield, inside Shopify, and give the customer a block to edit it. No separate database, no theme edits, and consent handled through Shopify’s own customer privacy APIs. Add conditional visibility, and only business buyers see the field.
That is why we built AccountCraft on official Shopify Customer Account UI Extensions: the account page becomes something you configure, not something you code.
Ivan Signorile
Build the account page your B2B buyers need
AccountCraft has a free plan, so you can add a VAT number block to New Customer Accounts and test it on your store. Pro and Plus plans are billed through Shopify; the App Store listing shows current pricing. See the plans on our site for what each includes.

FAQ
Do I need a VAT number to sell on Shopify?
Not to open a store. Whether you must register for VAT depends on where you sell and your turnover, so confirm with a tax adviser. If you are registered, you enter the registration in your Shopify tax settings, for EU stores under Settings > Taxes and duties.
Can customers edit their company ID in New Customer Accounts?
Not by default. Company ID sits on the company record you manage in the admin under Customers > Companies. To let customers edit a company or registration number, store it as a customer metafield and show it with an update form or single field block.
Is the VAT number validated when a customer enters it in an account field?
A value saved in a metafield through an account block is stored as entered. Shopify’s validation applies to the VAT number on the customer or company in the checkout and company flows with Shopify Tax, where UK or EU addresses are involved. Plan your invoicing around that difference.
Does collecting VAT numbers make my store non-compliant?
Collecting them is common for B2B. What matters is that you explain why you collect them, hold permission where needed, and can respond to access and deletion requests. Compliance stays your responsibility, so check specifics with your legal adviser.
Sources
- Shopify Help Center: Editing the checkout form options
- Shopify Help Center: Creating and managing B2B customers using companies
- Shopify Help Center: Managing customers
- Shopify Help Center: VAT validation in checkout
- Shopify Data Processing Addendum