Vats
This page provides a description of the available API routes for managing VAT rates.
Last updated
Was this helpful?
This page provides a description of the available API routes for managing VAT rates.
Last updated
Was this helpful?
Each VAT rate is identified by its numeric category identifier and associated VAT rate with value between 0 and 100. The VAT data model is represented by class.
GET
http://{server-address}/vats
Returns all VATs that matches query parameters. Result is of type .
category
decimal
Supports NData syntax.
rate
decimal
Supports NData syntax.
$skip
int
Pagination property. Describing number of records to skip from beginning of result collection.
$take
int
Pagination property. Maximum count of items to be returned.
$sort
string[]
Comma separated list of property names. Please see NData syntax.
$count
bool
If set to true
, response will not contain items
collection. Use to get resource count, not the resources themselves.
Authorization*
string
Authorization header with authorization token.
GET
http://{server-address}/vats/{category}
category*
int
Unique VAT category.
Authorization*
string
Authorization header with authorization token.
POST
http://{server-address}/vats
Required rights
Authorization*
string
Authorization header with authorization token.
(body)*
VAT
VAT model to create
PUT
http://{server-address}/vats/{category}
Required rights
category*
int
Unique VAT category.
Authorization*
string
Authorization header with authorization token.
(body)*
VAT
VAT model to create or update.
DELETE
http://{server-address}/vats/{category}
Required rights
category*
int
Unique VAT category.
Authorization*
string
Authorization header with authorization token.
Result is of type .
Creates new VAT. Result is of type .
Authorized user must have VatCreate
assigned.
Updates existing or creates new VAT. Result is of type .
Authorized user must have assigned VatCreate
or VatUpdate
.
Authorized user must have VatDelete
assigned.