TaxRates
Create TaxRate
Create a new TaxRate record.
POST
Create TaxRate
A tax rate is a location-specific percentage applied to products, plans, booking rates, event tickets, and charges; it can also carry a VAT exemption reason for compliance integrations.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TaxRate-Create role.Enums
eTaxExemptionReason — ExemptionReason values
eTaxExemptionReason — ExemptionReason values
Request Body
Required Fields
integer
required
ID of the location that owns this tax rate; tax-rate names must be unique within that location and can be used in other locations..
string
required
Required name used to identify this tax rate; it must be unique within the location..
number
required
Tax percentage applied to net amounts, expressed as a whole percentage; for example, enter 20 for 20%..
integer
required
Portuguese VAT exemption reason code used by compliance integrations; use None when no exemption code applies, otherwise select the applicable M-code..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the creation.
object
Contains the
Id of the newly created record.boolean
true if the taxrate was created successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response