Adds a tax code to an account.
The unique ID of the account.
A valid API key with a scope of AccountLists
The tax code name. Required. Must be 16 characters or fewer and cannot be empty.
The tax agency. Optional — if omitted or explicitly sent as null, it is stored as an empty string. Maximum length is 32 characters if supplied.
The tax rate as a decimal (e.g. 0.0475 for 4.75%). Required.
"agency": "NC Dept. of Revenue",
code and rate are both required on create — there is no fallback default. agency is optional; omitting it or explicitly sending null both result in an empty string being stored.
Tax code names must be unique per account. Attempting to create a tax code with a code that already exists for the account will fail with a 409 conflict.
Location — the URL of the newly created tax code.
The tax code was created.
The tax code was not created. This occurs if code is missing, empty, or longer than 16 characters; if rate is missing; or if agency is longer than 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
A tax code with that code already exists for this account.
The unique ID of the tax code.
The tax rate as a decimal.