> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ask for business details in the cart

> Let business customers enter their VAT number in the cart, on any Shopify plan, so it's on their invoice.

Business customers often need their VAT number on the invoice. Foliant adds a **I'm buying for a business** checkbox to your cart. When a customer ticks it, they enter their **VAT number**, and, if you ask for them, their company name and Peppol address. Foliant puts these details on the order's invoice, checks the VAT number, and uses them for Peppol e-invoices.

This works on every Shopify plan. Shopify only lets apps add fields to the checkout itself on Shopify Plus, so the cart is where most stores can ask before the order is placed.

## Add it to your cart

You can add the fields in two ways, from your theme editor.

| Option | Where the fields show | Best for |
| - | - | - |
| **Business details in cart** (app embed) | Above the checkout button, on the cart page and in the cart drawer | Most themes, including ones with a cart drawer |
| **Business details** (app block) | Wherever you place the block in a section | Choosing the exact position on the cart page |

**To add the app embed:**

1. In the Shopify admin, go to **Online Store › Themes** and click **Customize**.
2. Open **App embeds** (the icon in the left sidebar).
3. Turn on **Business details in cart** from Foliant.
4. Click **Save**.

**To add the app block:**

1. In the theme editor, choose **Cart** from the page menu at the top.
2. In the section where you want the fields, click **Add block**, open the **Apps** tab and choose **Business details**.
3. Drag the block where you want it, then click **Save**.

If you placed the block in the cart section, the app embed doesn't add a second copy there.

## Settings

Both have the same settings:

| Setting | What it does |
| - | - |
| **Ask for the company name** | Adds an optional **Company name** field. On by default. Without it, the invoice uses the company from the customer's address. |
| **Ask for a Peppol address** | Adds an optional **Peppol address** field. Turn it on only if you send e-invoices over Peppol. See [Set up Peppol e-invoicing](https://foliant-help.iforiti.com/integrations/peppol-e-invoicing.md). |

The VAT number field is always shown once the customer ticks the checkbox.

## What customers see

Customers see the **I'm buying for a business** checkbox. When they tick it, the fields appear. What they type is saved to the cart as they go, and it's still there if they leave and come back. If they untick the checkbox, Foliant removes the details from the cart.

The text shows in the customer's language, in the languages your store offers.

## Where the details go

When the customer places the order, the details come with it. Foliant uses them as the buyer's details:

* **Invoices:** the VAT number and company name print in the buyer's details on templates that show them.
* **VAT checks:** if your plan includes the tax compliance toolkit, Foliant checks the VAT number with VIES after the order is placed. See [Check your buyers' VAT numbers](https://foliant-help.iforiti.com/tax-and-legal/vat-number-validation.md).
* **Peppol:** the VAT number and Peppol address are used to send the e-invoice.

## Good to know

* The VAT number isn't checked while the customer types it in the cart. It's checked after the order is placed.
* On Shopify Plus, you can also use the **E-Invoice Request (Checkout)** block in your checkout. If a customer fills in both, the details given at checkout are the ones used.
* You can also enter a customer's business details yourself on their customer page in the Shopify admin, with the **B2B Customer Details** block.

## Related articles

* [Check your buyers' VAT numbers](https://foliant-help.iforiti.com/tax-and-legal/vat-number-validation.md)
* [Set up Peppol e-invoicing](https://foliant-help.iforiti.com/integrations/peppol-e-invoicing.md)
* [Legal notes on invoices](https://foliant-help.iforiti.com/tax-and-legal/legal-notes.md)


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