Order Invoicer
Shopify

E-invoicing with Shopify

Collect the VAT number, SIREN and SIRET of your Shopify customers

A compliant B2B invoice carries your customer's identifiers: their EU VAT number for an intra-EU sale, their SIREN or SIRET for a B2B sale in France. Shopify collects none of them by default.

What Order Invoicer reads

Order typeShopify field read
Standard checkout (guest or Shop Pay)Company VAT number, which Shopify saves on the customer profile
Native B2B order (Shopify Companies)The tax ID of the company location
Anything else (third-party app, SparkLayer…)A customer metafield, named in the connector settings

These fields hold a single free-text identifier. Order Invoicer recognises it and files it in the right place: a VAT number becomes the VAT number, a SIRET becomes the SIRET, a SIREN becomes the SIREN.

Enable the VAT number in checkout

Open your checkout settings

In your Shopify admin, go to Settings > Checkout.

Set the VAT number field to Optional

In the Customer information section, set Company VAT number to Optional.

Turn on the company name too

Still under Customer information, set Company name to Optional. That field is what tells a business customer apart from a consumer: without it the order is invoiced to an individual even when the VAT number is filled in.

Save

Later orders will carry the VAT number your customer typed. Orders already placed are not changed.

Shopify only shows this field if your store calculates taxes with Shopify Tax for the EU or the UK, has an active fulfillment location in the EU, and uses guest checkout or Shop Pay. The only two choices are "Don't include" and "Optional". Shopify documentation: checkout form options and VAT validation in checkout.

Shopify validates the number against VIES. When validation succeeds and the sale really is cross-border, Shopify removes VAT from the order. Order Invoicer then recognises an intra-EU supply and prints the reverse-charge mention on the invoice rather than a domestic exemption.

Native B2B orders (Shopify Companies)

The checkout field does not appear in B2B checkout. Fill in the tax ID on the company location instead, from Customers > Companies > your company > its location.

Order Invoicer reads the tax ID of the first company location. If your companies have several locations, fill in the same identifier everywhere.

SIREN and SIRET

Shopify has no native field for SIREN or SIRET. Create one customer metafield for each, then paste its exact namespace.key into the connector settings:

  • SIREN → SIREN lookup via metadata
  • SIRET → SIRET lookup via metadata
  • VAT number stored in a metafield rather than the native field → VAT number lookup via metadata

A metafield is identified by its exact namespace.key — for instance billing.eu_vat — not by the label shown in your Shopify admin. Use the same key across every store, and do not rename it once mapped.

Mexico (CFDI)

  • RFC: the company VAT number field, or a metafield named in VAT number lookup via metadata
  • Régimen fiscal: create a customer metafield and name it in Régimen fiscal (CFDI) via metadata
  • Uso CFDI: create a customer metafield and name it in Uso CFDI via metadata

Country-specific tax fields

The additional fields Shopify shows depending on the shipping country (Italian Codice Fiscale, Spanish NIF, Mexican RFC, Brazilian CPF…) are not read by Order Invoicer. If you need them on your invoices, copy the value into a customer metafield and map it as above.

Check your setup

Open an order in Order Invoicer: the e-invoicing block lists the identifiers still missing for that customer. If you have just enabled the VAT number in checkout, test with a new order.

On this page