Skip to main content
POST
/
tax
/
categories
Create tax category
curl --request POST \
  --url https://api.zenskar.com/tax/categories \
  --header 'Content-Type: application/json' \
  --header 'organisation: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "external_codes": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>",
  "name": "<string>",
  "external_codes": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Body

application/json

Request body for creating a tax category. System generates Zenskar code from name.

name
string
required

Category name (e.g. SAAS_SOFTWARE)

Required string length: 1 - 255
external_codes
External Codes · object

Provider mappings e.g. {'avalara': '...', 'anrok': '...'}

Response

Successful Response

Tax category in API responses.

id
string<uuid>
required

Tax category ID

organization_id
string<uuid>
required

Organisation ID

code
string
required

Zenskar tax code (e.g. ZEN_TAX_001)

name
string
required

Category name

external_codes
External Codes · object

Provider external codes