# Create a company

Source: https://developer.avalara.com/products/e-invoicing/integration-guides/elr/tjr0940856372399/

Guide: E-Invoicing and Live Reporting

# Create a company

Create a company in ELR.

**Endpoint**: `POST /scs/companies`

Create a company.

For details, see [CreateCompanies](https://developer.avalara.com/api-reference/sharedservice/sharedCompanyService/methods/Companies/CreateCompanies/).

**Headers**

Name

Description

**X-Avalara-Client**

Provided by Avalara. Identifies the software that you’re using to call this API.

**avalara-version**

API version.

**Content-Type**

application/json

**Accept**

application/json

**Body**

```
{
    "companyName": "German Company",
    "defaultCountry": "DE",
    "tenant": {
        "identifier": "{{tenantId}}"
    },
    "companyCode": "",
    "isActive": true,
    "aspects": [
        {
            "identifier": "DECMP",
            "namespace": "urn:avaerp:emeapls:companies"
        }
    ],
    "tags": [ ]
}
```

## Example request

```
curl --location '/scs/companies' \
--header 'X-Avalara-Client: ProvidedToYouByAvalara' \
--header 'avalara-version: 1.0' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
    "companyName": "German Company",
    "defaultCountry": "DE",
    "tenant": {
        "identifier": "{{tenantId}}"
    },
    "companyCode": "",
    "isActive": true,
    "aspects": [
        {
            "identifier": "DECMP",
            "namespace": "urn:avaerp:emeapls:companies"
        }
    ],
    "tags": [ ]
}'
```