VAT rates API

Manage VAT rates — retrieve, create, update, and delete

Base URL

https://{tenant}.logzi.com/api/tax/

Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.

GET /api/tax/get

Retrieve a single VAT rate — by ID, percentage value, or default flag.

Query parameters

ParameterTypeRequiredDescription
idintUnique identifier of the VAT rate
tax_valuefloatSearch by VAT percentage value (e.g. 27)
tax_defaultint1 = retrieve the default VAT rate
tax_office_nameintSearch by NAV tax office name

Example request

GET /api/tax/get?tax_value=27
X-API-KEY: {your_api_key}
GET /api/tax/list

Retrieve a paginated list of all VAT rates.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_conditionarrayArray of filter conditions

Example request

GET /api/tax/list?list_offset=0
X-API-KEY: {your_api_key}
POST /api/tax/save

Create or update a VAT rate. Use data[id] = 0 for a new record.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new rate, >0 = update
tax_valuefloatVAT rate as a percentage (e.g. 27)
tax_namestringName of the VAT rate (e.g. "27%")
tax_defaultint1 = 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%"
  }
}
POST /api/tax/delete

Delete a VAT rate by ID.

POST fields — data object

FieldTypeRequiredDescription
idintID 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 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!