Tax Codes

List of tax codes

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=taxcodes

Example request:

http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.9&action=taxcodes&company=1

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 11,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "taxCode": 111,
      "taxCodeDescription": "111 (AU 111%)",
      "variable_selected": false
    },
    {
      "taxCode": 0,
      "taxCodeDescription": "0 (UK 0%)",
      "variable_selected": true
    },
    {
      "taxCode": 10,
      "taxCodeDescription": "10 (US 10%)",
      "variable_selected": false
    },
    {
      "taxCode": 56,
      "taxCodeDescription": "56 (ZA 1%)",
      "variable_selected": false
    }
  ]
}