Create Tax Entity
Request
POST:/{accountBookId}/taxentity
Request Body
object: Tax Entity Input Model
Example Request Body
{
"tin": "C70156814709",
"taxBranchId": "",
"classification": "B",
"identityType": null,
"identityNo": null,
"businessRegistrationNumber": "467189881221",
"sstRegistrationNumber": "",
"tourismTaxRegistrationNumber": "",
"msicCode": "00000",
"businessActivityDescription": "NOT APPLICABLE",
"name": "Apparel Supplier",
"address": "Jalan Wawasan 4/12, Pusat Bandar Puchong, Puchong, Selangor",
"postCode": "47100",
"city": "Puchong",
"phone": "03-5192 9527",
"emailAddress": "apparelSupplier@gmail.com",
"countryCode": "MYS",
"stateCode": "10",
"taxCategory": null,
"taxClassification": null
}
Example Request URL:
Parameters:accountBookId
= 1 URL:
POST: https://accounting-api.autocountcloud.com/1/taxentity
Response
Success Response
Code: 201
Response Headers
location
: The link to the created record, similar to request url in Get Tax Entity API method.
Example Success Response Headers
content-length: 0
date: Thu,09 Mar 2023 09:08:39 GMT
location: https://accounting-api.autocountcloud.com/1/taxentity?taxentityid=1
server: Microsoft-IIS/10.0
x-powered-by: ASP.NET
x-rate-limit-limit: 1m
x-rate-limit-remaining: 99
x-rate-limit-reset: 2023-03-09T09:09:38.2738255Z
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}