Update Tax Entity
Request
PUT:/{accountBookId}/taxentity
Request Parameters
Parameter | Description | Type | |
---|---|---|---|
taxEntityId | Tax Entity Id. | int | required |
Request Body
object: Tax Entity Input Model
Example Request Body
caution
When updating tax entity data, only the fields to be updated need to be added to the request body. Fields that do not need to be updated should be omitted entirely instead of being left with a blank value.
Omitting the field in the request body will maintain the original value of the field while leaving the field value blank will remove the existing value of the field in the tax entity record.
Omitting the field in the request body will maintain the original value of the field while leaving the field value blank will remove the existing value of the field in the tax entity record.
Example: Add email address to record created in Create Tax Entity.
{
"emailAddress": "apparelSupplier@gmail.com"
}
Example Request URL:
Parameters:accountBookId
= 1 taxEntityId
= 1 URL:
PUT: https://accounting-api.autocountcloud.com/1/taxentity?taxentityid=1
Response
Success Response
Code: 204
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}