Base URL
https://{tenant}.logzi.com/api/tax/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/tax/get
Retrieve a single VAT rate — by ID, percentage value, or default flag.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the VAT rate | |
tax_value | float | Search by VAT percentage value (e.g. 27) | |
tax_default | int | 1 = retrieve the default VAT rate | |
tax_office_name | int | Search by NAV tax office name |
Example request
GET /api/tax/get?tax_value=27
X-API-KEY: {your_api_key}
/api/tax/list
Retrieve a paginated list of all VAT rates.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | array | Array of filter conditions |
Example request
GET /api/tax/list?list_offset=0
X-API-KEY: {your_api_key}
/api/tax/save
Create or update a VAT rate. Use data[id] = 0 for a new record.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new rate, >0 = update | |
tax_value | float | VAT rate as a percentage (e.g. 27) | |
tax_name | string | Name of the VAT rate (e.g. "27%") | |
tax_default | int | 1 = mark as the default VAT rate |
Example request
POST /api/tax/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"tax_value": 27,
"tax_name": "27%"
}
}
/api/tax/delete
Delete a VAT rate by ID.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | ID of the VAT rate to delete |
Example request
POST /api/tax/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 3 } }
Create your account now,
pay later!