TaxRates
Update TaxRate
Update an existing TaxRate record.
PUT
Update TaxRate
Updates an existing TaxRate record. You must include the
Id of the record to update along with all required fields.
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-Edit role.Enums
eTaxExemptionReason — ExemptionReason values
eTaxExemptionReason — ExemptionReason values
Request Body
Required Fields
integer
required
The Id of the TaxRate record to update.
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 update.
object
Contains the
Id of the updated record.boolean
true if the taxrate was updated 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