> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-cb-checkout-rules.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Missing VAT Number

> Require company details on B2B orders.

Use this rule if you sell to businesses through Shopify B2B and need their company details on every business order.

## What it checks

The rule applies to **B2B orders**, meaning orders placed by a customer who is buying for a company in Shopify B2B. If the purchasing company has no name, checkout is blocked and the message appears next to the **Company** field of the shipping address.

Orders from regular (non-B2B) customers are not checked.

## Settings

| Setting | Description |
| - | - |
| Countries | **All countries**, or only orders shipped to **Specific countries**. |
| Allowed VAT Number Formats | The EU VAT formats you accept. All 27 EU countries are selected by default, and you must keep at least one. Search for a format, tick it to add it, or click **×** to remove it. |
| Message to display | What the customer sees. English is required. |
| Rule status | Active, Testing or Deactivated. See [Rule status and testing](https://codebeans-cb-checkout-rules.mintlify.site/rules/rule-status-and-testing.md). |
| Checkout behavior | See [Common rule settings](https://codebeans-cb-checkout-rules.mintlify.site/rules/common-settings.md#checkout-behavior). |

### Available VAT formats

> [accordion] EU VAT identification number formats
>
> | Country | Format |
> | - | - |
> | Austria | ATU99999999 |
> | Belgium | BE09999999XX |
> | Bulgaria | BG999999999 |
> | Croatia | HR12345678901 |
> | Cyprus | CY99999999L |
> | Czech Republic | CZ111111111 |
> | Denmark | DK99999999 |
> | Estonia | EE123456789 |
> | Finland | FI99999999 |
> | France | FRXX999999999 |
> | Germany | DE999999999 |
> | Greece | EL123456789 |
> | Hungary | HU12345678 / 12345678-2-41 |
> | Ireland | IE1234567T |
> | Italy | IT12345678901 |
> | Latvia | LV123456789 |
> | Lithuania | LT123456789 |
> | Luxembourg | LU123456 |
> | Malta | MT12345678 |
> | Netherlands | NL123456789B01 |
> | Poland | PL1234567890 |
> | Portugal | PT123456789 |
> | Romania | RO1234567890 |
> | Slovakia | SK1234567890 |
> | Slovenia | SI12345678 |
> | Spain | ESX12345678 |
> | Sweden | SE123456789001 |

## Example message

```text theme={null}
Please add your company details to place a business order.
```

> [!TIP]
>
> To check the format of a VAT number that customers type into a field, use the [Regex Matching Rule](https://codebeans-cb-checkout-rules.mintlify.site/preset-rules/regex-matching.md) on the **Company** field.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.