Get tax instances

This endpoint is deprecated.
POST/api/RPC.common.Api.TaxInstances.get?token=<TOKEN>

Key TaxInstances.get · API version 2.0.0

Parameters

5 body parameters inside data[]
FieldTypeDescription
idIntegerTax instance ID
namerequiredStringTax instance name
get_allBooleanGet all
offsetNumberOffset
limitNumberLimit

Request example

Search By Id:
{
   "data" : [
      {
         "id" : 13643
      }
   ]
}
Search By Name:
{
   "data" : [
      {
         "name" : "Standard"
      }
   ]
}
Search By All Params:
{
   "data" : [
      {
         "id" : 13643,
         "name" : "Standard"
      }
   ]
}
Get All:
{
	"data":[
		{}
	],
	"get_all":1,
	"limit":10000,
	"offset":0
}

cURL

Search By Id:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "id" : 13643      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.TaxInstances.get?token=<TOKEN>"
Search By Name:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "name" : "Standard"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.TaxInstances.get?token=<TOKEN>"
Search By All Params:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "id" : 13643,         "name" : "Standard"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.TaxInstances.get?token=<TOKEN>"
Curl example Get All:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{	"data":[		{}	],	"get_all":1,	"limit":10000,	"offset":0}	' "https://<DOMAIN_NAME>/api/RPC.common.Api.TaxInstances.get?token=<TOKEN>"

Response example

    HTTP/1.1 200 OK
{
   "result" : [
      {
         "name" : "Standard",
         "id" : 13643,
         "archive" : 0,
         "nm" : "Standard"
      }
   ],
   "total_count" : 1,
   "count" : 1
}