Tax (VAT rates)
Configuration of various taxes. Currently the only supported type is VAT.
_cloudId
long
Cloud IDcreated
timestamp
Timestamp of entity creation
📶 EQUALS
,ENUM
,NUMBER
🔽 BOTH
deleted
boolean
If entity is deleted
📶 EQUALS
,ENUM
flags
short
Flags for the tax
📶 BITS
id
long?
Entity ID - cannot be null in PUT/PATCH methods
📶 EQUALS
,ENUM
name
string?
Name of the tax
📶 STRING
🔽 BOTH
value
double
Value of tax in percent, f.e. 20 = 20%. Must be in range <0; 100> and it must be unique - having two entities with the same value is not allowed (exempted rate is an exception).
🔽 BOTH
versionDate
timestamp?
Last modification date and time
📶 EQUALS
,ENUM
,NUMBER
🔽 BOTH
{
"_cloudId": <integer>,
"created": <timestamp>,
"deleted": <boolean>,
"flags": <integer>,
"id": <long>,
"name": <string>,
"value": <double>,
"versionDate": <timestamp>
}
Bit | Name |
0 | TAKE_AWAY_RATE |
1 | EXEMPTED_RATE |
2 | DELIVERY_DEFAULT_RATE |
If flag
EXEMPTED_RATE
is set, the value
must be 0.get
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes
Get taxes
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes/:taxId
Get tax
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes
Create taxes
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes
Replace or create taxes
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes/:taxId
Replace or create tax
patch
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes/:taxId
Partial update of tax
delete
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes/:taxId
Delete tax
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes
Options taxes
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/taxes/:taxId
Options tax
Last modified 9mo ago