Skip to main content
PATCH
Updates an existing tax class.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-companyid
string

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

id
string<uuid>
required
Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

Body

application/json

Request parameters

Updates an existing tax class. - Request

isStandard
boolean

Whether this tax class is the standard tax class. Setting this to true will set all other tax classes to non-standard.

name
string

The name of the tax class

taxType
enum<integer>

The type of the tax class

Available options:
0,
1,
2,
3,
4,
5

Response

The tax class has been successfully updated.