---
title: "Returns vat list of a company"
method: GET
path: "/core/latest/company-vats"
tags: ["Company general"]
---

# Returns vat list of a company

`GET /core/latest/company-vats`

## Request

- Base URL: `https://api.klara.ch`
- URL: `https://api.klara.ch/core/latest/company-vats`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

## Headers

- `Accept-Language` string

## Response `200`

Company vats

- CompanyVAT[]
  - `id` string: Id of the company VAT.
  - `hasVat` boolean: Flag mark the company have VAT or not.
  - `vatNumber` string: The VAT number.
  - `validFrom` string, date: The company VAT is valid from this time.
  - `validTo` string, date: The company VAT is invalid after this time.
  - `companyId` integer: Id of the company
  - `vats` VAT[]: This is list VAT value of the company.
    - `id` string: Id of the VAT.
    - `vatCode` string: Code of the VAT.
    - `rate` number: Rate of the VAT. Rate unit is percentage (%)
    - `description` string: The additional infomation for VAT.
    - `validFrom` string, date: The VAT is valid from this time.
    - `validTo` string, date: The VAT is invalid after this time.

## Other responses

- `401`: No Authorization header found or invalid token<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `403`: The current user is not allowed to access this company data<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.

---

[API](https://skmtc.dev/klara/apis/klara-public-api.md) · [All operations](https://skmtc.dev/klara/apis/klara-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/klara/apis/klara-public-api/revisions/490b1a879fc2?raw)
