Create tax code value

Creates a new value for the given tax code. Returns 403 when the organization does not exist or the authenticated user is not an administrator of it. Returns 404 when the tax code does not exist, has already been deleted, or has no value list configured yet. Returns 409 when a value with the same id already exists for this tax code.

Path Params
string
required

String. The organization's internal ID (32-character hex string) or its externalSourceId. When the value matches the format of an internal ID, the internal ID takes precedence.

string
required

String. The ID of the tax code to add a value to (32-character hex string), as returned in the id field of the list or GET response.

Body Params
string
required
length ≤ 255

Caller-supplied identifier for this value. Must be unique within the tax code.

string
required
length ≤ 255

Display text of the tax code value. Must be non-empty and not whitespace-only.

integer | null

Sort position of the value within the list.

date-time | null

Date from which this value is active. ISO 8601 format.

date-time | null

Date until which this value is active. ISO 8601 format.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json