> ## 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.

# TaxDetermination

> How a sale is taxed: the tax zone, the tax treatment, the VAT ID of the company and the rate of each tax class.



**Kind**: `object`

## Fields

**`companyId`**: `ID!`

The company that sells.

---

**`departureCountryCode`**: `String!`

The country goods are shipped from, as ISO 3166-1 alpha-2 code.

---

**`destinationCountryCode`**: `String!`

The country the tax refers to, as ISO 3166-1 alpha-2 code. With a valid VAT ID it is the country of the VAT ID, otherwise the country of the address.

---

**`destinationStateCode`**: `String`

The state the tax refers to, for example CA. Empty when the whole country applies.

---

**`isBusinessCustomer`**: `Boolean!`

Whether the customer counts as a business customer, which is the case when the given VAT ID is formally valid.

---

**`taxTreatment`**: `TaxTreatment!`

How the sale is taxed.

---

**`taxZoneId`**: `ID!`

The tax zone that applies.

---

**`companyVatId`**: `String`

The VAT ID of the company to show on the documents of the sale. Empty when the company has none for the country in question.

---

**`rates`**: `[TaxDeterminationRate!]!`

The rate of each tax class that has a rate in the tax zone.

