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

# SaveTaxConfiguration

> Batch saves the entire tax configuration in a single transaction. Zones with an Id are updated, zones without an Id are created, and zones in the database but not in the list are deleted.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `SaveTaxConfiguration(request: SaveTaxConfigurationCommandRequestInput!): Boolean!`

## Arguments

**`request`**: `SaveTaxConfigurationCommandRequestInput!` (required)

## Returns

`Boolean!`

## Examples

```graphql Mutation
mutation SaveTaxConfiguration($request: SaveTaxConfigurationCommandRequestInput!) {
  SaveTaxConfiguration(request: $request)
}
```

```json Variables
{
  "request": {
    "taxZones": [
      {
        "countries": [
          {
            "countryIso": "string"
          }
        ],
        "taxRates": [
          {
            "taxRateAssignments": [
              {
                "lineItemType": "CUSTOM"
              }
            ]
          }
        ]
      }
    ]
  }
}
```

```json Response
{
  "data": {
    "SaveTaxConfiguration": true
  }
}
```
