Product Tax Codes
Create product tax code
Create an organization-scoped product tax code. Global product tax codes are system managed.
Additional validations
- Fails with
400if the product tax code has theNUMERALsource and Numeral has no product category with thatcode. Fails with424if Numeral is not connected or does not answer, because DualEntry cannot check thecode. - Fails with
400if the product tax code has theKINTSUGIsource and Kintsugi has no product category with thatcode. A Kintsugicodehas the form<category> / <subcategory>, for exampleDigital / B2C SaaS. Fails with424if Kintsugi is not connected or does not answer, because DualEntry cannot check thecode. - Fails with
400if the product tax code has theANROKsource and not every connected Anrok account has a product tax category with thatcode. Fails with424if Anrok is not connected or does not answer, because DualEntry cannot check thecode.
POST
Create product tax code
Authorizations
Headers
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:
255Body
application/json
Response
Created
Date and time the record was created
Date and time the record was last updated
Available options:
INTERNAL, AVALARA, NUMERAL, KINTSUGI, ANROK