# Legal entities

Add the companies you sell and invoice as, with legal name, tax code, address and logo, so every document prints the right seller.

Source: https://support.rework.com/article/commerce-legal-entities

> **In plain words:** A **legal entity** is the company that sells to your customer, with its legal name, tax code, address and logo. If you trade as one company, you add one. If you have subsidiaries, add each. Quotes, orders, subscriptions and invoices pick an entity, and the paper shows that company as the seller. New to the terms used here? See [Commerce basics](https://support.rework.com/article/commerce-basics).

**Where to find it:** Commerce > left icon rail > **Settings** > **Organization** > **Legal entities**. **Who can use it:** workspace admins.

## Why it matters

Customers, banks and tax offices expect the correct company name and tax code on every document. Setting it once here means nobody types it by hand, and a mistake cannot slip onto a quote.

## Add a legal entity

1. Click **Settings** on the left icon rail, then **Legal entities** under **Organization**. The header reads **Settings** with the subtitle **Legal entities**.
   
2. Click **New entity**. A dialog titled **New legal entity** opens.
   
3. Fill in:
   
   - **Legal name** (required), for example "Acme Trading Co., Ltd".
     
   - **Color**, a tile color used in lists.
     
   - **API code**, a short identifier such as `acme-trading`. Leave it blank and it is made from the name. It cannot be changed after you create the entity.
     
   - **MST / Tax code**, the tax registration number. The hint reads "10 digits, or ##########-### for a branch."
     
   - **Country**, **Currency**, **Email** and **Phone**.
     
   - **Registered address**.
     
   - **Logo**, printed as the seller logo on documents. PNG, JPG, WebP or GIF.
     
   - **Notes**, for your team only.
     
4. Click **Create**. The entity appears in the table.
   

![The Legal entities table](https://storage.googleapis.com/reworkv3-public/success/261011/YYjuBEez28Yvshmn6Mnuwe3CCdBZ4MJZYgfoj6TcoCu8WlfG9VLRcLrPtPmNbUtg/img.2vV34fg8Okm9uQqCz8uAhpT19XTDsqwasH2cwTweLIBPfIQBfLOU6Az9OaaPKmCP.png)

## Read the table

| 
Column

 | 

What it shows

 |
| --- | --- |
| 

**Legal entity**

 | 

Name with its code beneath, and the logo or a colored tile

 |
| 

**MST / Tax code**

 | 

The tax registration number

 |
| 

**Country**

 | 

The country you set

 |
| 

**Status**

 | 

**Active** or **Archived**

 |

Use **Search entities** to filter by name, tax code or code.

## Edit, archive and reactivate

- **Edit:** click a row or the pencil icon. The **Edit legal entity** dialog opens. Change fields and click **Save**.
  
- **Archive:** click the archive icon and confirm. Documents that already use the entity keep it. The status changes to **Archived**.
  
- **Activate:** on an archived row, click the play icon to bring it back.
  

Nothing is deleted, so old quotes and invoices keep printing the details they were issued with.

## Use an entity on your records

1. Open the service in **Settings** > **Services** and go to **General**.
   
2. Choose a **Default selling entity**. It is preselected on every new record, and the seller can still change it.
   
3. Click **Save general**.
   

If the list is empty when you create a service, the hint reads "No entities yet, add one in Settings, Entities." Add an entity first, then come back. See [Services](https://support.rework.com/article/commerce-services).

### Worked example

Acme runs two companies: "Acme Trading Co., Ltd" for domestic sales and "Acme Global Pte" for exports. You add both entities, then set the domestic Quote service to default to the first and the export Quote service to default to the second. A salesperson never has to choose, and each quote prints the right seller.

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

Cannot change the **API code**

 | 

It is fixed after creation

 | 

Create a new entity if you need another code

 |
| 

"Could not save the entity."

 | 

A field failed validation, for example the tax code format

 | 

Read the message under the form and correct the field

 |
| 

Archived entity missing from a picker

 | 

Archived entities are hidden from choices

 | 

Click the play icon to activate it

 |
| 

Old documents show the old address

 | 

Documents keep the details they were issued with

 | 

Create a new document to use the new details

 |
