Create tax code

POST/api/v1/tax/codes

Create a new tax code.

Operation ID: create_tax_code_api_v1_tax_codes_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

codestringrequired

Tax code (e.g., 'TAXABLE', 'EXEMPT')

namestringrequired

Display name

descriptionstring

Description

is_taxableboolean

Whether items are taxable

Responses

201Successful Response

successboolean
messagestring
codestring
dataTaxCodeResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

409Conflict - Resource already exists

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject