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

# Create template group

> Create a new template group that bundles multiple templates.

Create a new template group that bundles multiple templates together. You can optionally include declaration templates inline when creating the group.

### Request payload

<ParamField body="name" type="string" required>
  Name of the template group.
</ParamField>

<ParamField body="code" type="string" required>
  Unique short code identifying this template group.
</ParamField>

<ParamField body="isDefault" type="boolean" default="false">
  Whether this group is applied by default to new shipments.
</ParamField>

<ParamField body="companyId" type="integer" required>
  The ID of the company this group belongs to.
</ParamField>

<ParamField body="DeclarationTemplates" type="array">
  List of declaration templates to bundle inside this group. Each template can include all customs field defaults.
</ParamField>

```json JSON Payload theme={null}
{
  "name": "Default Import Group",
  "code": "IMP-DEFAULT",
  "isDefault": true,
  "companyId": 1,
  "DeclarationTemplates": [
    {
      "procedureType": "H1",
      "declarationType": "declarationEUGoods",
      "additionalDeclarationType": "STANDARD",
      "representation": "NoRepresentation",
      "declarationOffice": "NL000432",
      "customsOfficeOfExport": "NL000515",
      "customsOfficeOfExit": "NL000516",
      "supervisingOffice": "NL000527",
      "customsWarehouseType": "R",
      "customsWarehouseID": "NL12345678",
      "goodsLocationType": "A",
      "goodsLocationAddressType": "X",
      "countryOfDispatch": "CN",
      "countryOfDestination": "NL",
      "countryOfBorder": "DE",
      "arrivalTransportName": "Ever Given",
      "arrivalTransportNameType": "11",
      "arrivalTransportType": "1",
      "borderTransportType": "1",
      "natureOfTransaction": "1",
      "methodOfPayment": "A",
      "currentProcedureCode": "40",
      "previousProcedureCode": "00",
      "additionalProcedureCodes": "C07,F45",
      "additionalCodeTARIC": "1234,5678",
      "additionalCodeNational": "9001",
      "preferenceCode": "100",
      "customsValuationMethod": "1",
      "incoterm": "DAP",
      "incotermLocation": "Amsterdam Airport",
      "PreviousDocuments": [
        {
          "documentCategory": 0,
          "typeCode": "N853",
          "description": "Previous Doc Example"
        }
      ],
      "SupportingDocuments": [
        {
          "documentCategory": 1,
          "typeCode": "N380",
          "description": "Commercial Invoice"
        }
      ]
    }
  ]
}
```

<ResponseExample>
  ```json 201 Created theme={null}
  {
    "id": 1,
    "name": "Default Import Group",
    "code": "IMP-DEFAULT",
    "isDefault": true,
    "companyId": 1,
    "createdAt": "2026-06-22T10:00:00.000Z"
  }
  ```
</ResponseExample>
