Skip to main content
PUT
Update product tax code
Global product tax codes are system managed. Additional validations
  • Fails with 400 if the product tax code has the NUMERAL source and Numeral has no product category with that code. Fails with 424 if Numeral is not connected or does not answer, because DualEntry cannot check the code.
  • Fails with 400 if the product tax code has the KINTSUGI source and Kintsugi has no product category with that code. A Kintsugi code has the form <category> / <subcategory>, for example Digital / B2C SaaS. Fails with 424 if Kintsugi is not connected or does not answer, because DualEntry cannot check the code.
  • Fails with 400 if the product tax code has the ANROK source and not every connected Anrok account has a product tax category with that code. Fails with 424 if Anrok is not connected or does not answer, because DualEntry cannot check the code.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Path Parameters

product_tax_code_id
integer
required

Body

application/json
code
string | null
Minimum string length: 1
description
string | null
Minimum string length: 1
is_active
boolean | null

Response

OK

created_at
string<date-time>
required

Date and time the record was created

updated_at
string<date-time>
required

Date and time the record was last updated

id
integer
required
code
string
required
description
string
required
source
enum<string>
required
Available options:
INTERNAL,
AVALARA,
NUMERAL,
KINTSUGI,
ANROK
is_active
boolean
required
is_global
boolean
required