> ## Documentation Index
> Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Spree 6 (v6.x) is the current version. Pages with /v5/ in their URL document Spree 5: follow them in a project that runs Spree 5, or to see what an upgrade changes.
> Spree 6 differs greatly from Spree 4 and 5: it is fully headless, and older code and tutorials mostly do not apply. Before relying on what you remember about Spree, read https://spreecommerce.org/docs/developer/upgrades/spree-6-vs-older-versions.md
> The current REST APIs are the Store API (store.yaml), the Admin API (admin.yaml) and the Seller API (seller.yaml), all under /api/v3.
> The specs named legacy-v2-*, the Storefront API and Platform API pages and their tutorials document the older API v2, which Spree 5 and earlier serve. Read them to maintain or migrate an API v2 client, and build new work on the current APIs.

# Business Entities

> Learn how to record the companies you sell as in Spree Commerce, so invoices show the right legal name, address and tax numbers in every market.

A business entity is a company you sell as. It holds what an invoice must say about the seller: the legal name, the registration number, the registered address and the tax numbers. Spree prints these on every invoice, receipt and credit note it generates.

Most stores sell as one company and need only one entity. A store that sells from several companies, for example one in the EU and one in the US, or one in France and one in Germany, adds an entity for each and tells each market which one it sells as.

To manage business entities, navigate to **Settings → Business entities**, under the **Selling** group.

## How to Fill In Your Company Details

A store has no business entity until you add one, and Spree issues no invoice or receipt until then. The **Add your company details** step in Getting Started brings you here. Click **Add business entity** and fill in:

* **Legal name** - Your company's registered name, exactly as it should appear on invoices.
* **Registration number** - Your company register number, if you have one.
* **Address** - Your registered address.
* **Tax numbers** - Your VAT or other tax registration numbers. Add one for each tax registration you hold.
* **Document for consumers** - What customers who are not businesses get. See [Documents for Consumers](#documents-for-consumers).

Click **Create business entity** when you are done. Your first entity becomes the default.

Spree refuses to issue a document until the entity has what the law requires:

* **Every document** needs an address.
* **Invoices and credit notes** from a company in the EU also need a tax number, such as your VAT ID.

Until then the Getting Started step stays open, and the order page says what is missing.

## How to Add Another Business Entity

1. Click **Add business entity**.
2. Fill in the company's details.
3. Click **Create business entity**.
4. Navigate to **Settings → Markets**, open each market this company sells in, and choose it under **Business entity**.

Orders from those markets are now invoiced by that company, with its own invoice numbers. A market with no business entity chosen uses your default one.

## Invoice Number Formats

Each business entity numbers its own invoices, receipts and credit notes, each in its own series. Numbers follow each other with no gaps, as tax law requires.

A format is text with placeholders:

* `{number}` - The counter. Every format needs it.
* `{year}` - The year the document is issued.
* `{month}` - The month the document is issued.

For example, `INV-{year}-{number}` gives `INV-2026-0001`, then `INV-2026-0002`, and starts again from `0001` in 2027. A format with `{month}` starts again every month. A format with neither never starts again.

> [!WARNING]
>
> Changing a format changes how the numbers of new documents look. The counter carries on, unless the new format starts again at a different time. Documents already issued keep their numbers.

## Documents for Consumers

A business customer, one with a company or a tax number, or one who asked for an invoice, always gets an invoice. **Document for consumers** sets what everyone else gets when Spree issues their document automatically:

* **Receipt** - A numbered receipt with your company details and the VAT. Enough in most countries. This is the default.
* **Invoice** - A full invoice. Choose it where the law asks for an invoice for every sale, as in Portugal or Hungary.
* **None** - No document. Choose it where consumers need no document, or get a fiscal receipt from a cash register or another system.

You can still generate any document by hand from the order page.

## Invoice Title, Footer and Logo

* **Invoice title** - What invoices are called at the top. Leave it blank for "Invoice". EU law needs no particular title, but some countries and customers expect "VAT invoice", "Tax invoice" or your language's equivalent.
* **Footer** - Text printed at the bottom of every invoice, receipt and credit note, such as your bank details, payment terms, or the registry that holds your company.
* **Logo** - Your store's logo, set in **Settings → Store**, is printed at the top when it's a PNG or JPEG image.

Invoices also name each tax number by its kind, such as "VAT ID", and explain any line without VAT, such as a reverse charge, an export or a gift card. For a company registered for EU VAT, that explanation cites the article of the EU VAT Directive behind it.

## The Default Business Entity

One entity is always the default. Markets with no entity chosen use it, and so do the commission invoices of a marketplace. To change it, open another entity and turn on **Default**.

## How to Delete a Business Entity

Click the **⋯** menu next to an entity and choose **Delete**. Its markets go back to the default entity.

You can't delete the default entity, or an entity that has issued invoices, because those invoices show its details.

## Further Reading

* [Invoices & Documents](https://spreecommerce.org/docs/user/orders/invoices.md)
* [Markets](https://spreecommerce.org/docs/user/settings/markets.md)


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