Get Tax Entity
Request
GET:/{accountBookId}/taxentity
Request Parameters
Parameter | Description | Type | |
---|---|---|---|
taxEntityId | Tax Entity Id. | int | required |
Example Request URL:
Parameters:accountBookId
= 1 taxEntityId
= 1 URL:
GET: https://accounting-api.autocountcloud.com/1/taxentity?taxentityid=1
Response
Success Response
Status Code: 200
Response Body
object: Tax Entity View Model
Example Success Response Body
{
"taxEntityId": 1,
"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
}
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}