# TaxDetails

The tax of a subscription, copied from the tax rate of its product when `priceId` was set. A later change of the product's tax rate does not change it: only a switch to a price does.

**taxRateId**string\<uuid>required

Unique identifier for the tax rate.

**Example:<!-- -->&#x20;**`9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d`

**displayName**TaxRate-DisplayNamerequired

The name of the tax shown to the buyer.

**Possible values:** `non-empty` and `<= 50 characters`

**Example:<!-- -->&#x20;**`IVA`

**percentage**TaxRate-Percentagerequired

The rate in percent, with up to 4 decimals. It cannot change after the tax rate is created.

**Possible values:** `>= 0` and `<= 100`

**Example:<!-- -->&#x20;**`21`

**taxType**TaxRate-TaxTyperequired

The kind of tax: `VAT`, `IGIC` (Canary Islands) or `IPSI` (Ceuta and Melilla). It cannot change after the tax rate is created. Treat the set as open: more values can be added later.

**Default value:<!-- -->&#x20;**`VAT`

**Example:<!-- -->&#x20;**`VAT`

**behavior**TaxBehaviorrequired

How the tax of the product's tax rate applies to `unitAmount`:

* `INCLUSIVE`: `unitAmount` holds the tax.
* `EXCLUSIVE`: the tax is added to `unitAmount`.

No value means `INCLUSIVE`. Treat the set as open: more values can be added later.

**Example:<!-- -->&#x20;**`EXCLUSIVE`

**amount**integer\<int32>required

The tax part of the subscription `amount`, in the smallest currency unit. `0` for a 0% rate.

**Possible values:** `>= 0`

**Example:<!-- -->&#x20;**`210`

TaxDetails

```
{

  "taxRateId": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",

  "displayName": "IVA",

  "percentage": 21,

  "taxType": "VAT",

  "behavior": "EXCLUSIVE",

  "amount": 210

}
```
