Entur Developer
Partner
REST
Products

vat-register

Server

Retrieves all vat registers

GET
https://api.entur.io/products
/vat-register

Retrieves all vat registers › Headers

ET-Client-Name
​string · style: simple

Entur Client Header. It is required that all consumers identify themselves by using this header. Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers. The structure of ET-Client-Name should be: <company>-<application>.

X-Correlation-Id
​string · style: simple

Correlation id

If-None-Match
​string · style: simple

Used to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.

Retrieves all vat registers › Responses

Returns the resource.

A case class for vat register.
description
​string · minLength: 1 · required

The VAT description

Example: Person transport and tickets in Norway
id
​string · minLength: 1 · required

Id.

Example: ENT:VatRegister:SomeId
validFrom
​string · minLength: 1 · required

The time and date from which the VAT is valid

vatGroup
​string · enum · required

VAT group

Enum values:
EXCEPTION_FROM_VAT
GENERAL_VAT
FOOD_VAT
TRANSPORT_AND_TICKETS_VAT
Example: TRANSPORT_AND_TICKETS_VAT
vatRate
​string · minLength: 1 · required

The percentage rate for the VAT

Example: 12.0
arrivalCountryCode
​string

Specification of the country where the arrival should be for the VAT to be valid, based on ISO 3166-1 alfa-3

Example: NOR
countryCode
​string

Country for which the VAT is valid, based on ISO 3166-1 alfa-3

Example: NOR
departureCountryCode
​string

Specification of the country where the departure should be for the VAT to be valid, based on ISO 3166-1 alfa-3

Example: NOR
organisationId
​integer · int64

OrganisationId for the organisation who uses this VAT-specification.

validTo
​string

The time and date to which the VAT is valid

vatCode
​string

Code for the VAT, used for accounting

Example: 33

Retrieves vat register for group

GET
https://api.entur.io/products
/vat-register/{vatGroup}

Retrieves vat register for group › path Parameters

vatGroup
​string · required · style: simple

The identifier for a VAT

Retrieves vat register for group › Headers

ET-Client-Name
​string · style: simple

Entur Client Header. It is required that all consumers identify themselves by using this header. Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers. The structure of ET-Client-Name should be: <company>-<application>.

X-Correlation-Id
​string · style: simple

Correlation id

If-None-Match
​string · style: simple

Used to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.

Retrieves vat register for group › Responses

Returns the resource.

A case class for vat register.
description
​string · minLength: 1 · required

The VAT description

Example: Person transport and tickets in Norway
id
​string · minLength: 1 · required

Id.

Example: ENT:VatRegister:SomeId
validFrom
​string · minLength: 1 · required

The time and date from which the VAT is valid

vatGroup
​string · enum · required

VAT group

Enum values:
EXCEPTION_FROM_VAT
GENERAL_VAT
FOOD_VAT
TRANSPORT_AND_TICKETS_VAT
Example: TRANSPORT_AND_TICKETS_VAT
vatRate
​string · minLength: 1 · required

The percentage rate for the VAT

Example: 12.0
arrivalCountryCode
​string

Specification of the country where the arrival should be for the VAT to be valid, based on ISO 3166-1 alfa-3

Example: NOR
countryCode
​string

Country for which the VAT is valid, based on ISO 3166-1 alfa-3

Example: NOR
departureCountryCode
​string

Specification of the country where the departure should be for the VAT to be valid, based on ISO 3166-1 alfa-3

Example: NOR
organisationId
​integer · int64

OrganisationId for the organisation who uses this VAT-specification.

validTo
​string

The time and date to which the VAT is valid

vatCode
​string

Code for the VAT, used for accounting

Example: 33

Did you find what you were looking for?