Electronic Invoicing System API v1
Developers Guide
×
Menu
Index

4.2.1.2. Response

 
The response from Get Latest Configuration contains details of the latest configuration. Refer to sample below
 
{
  "statusCode": 1,
  "remark": "Successful",
  "data": {
    "globalConfiguration": {
      "versionNo": 1,
      "taxRates": [
        {
          "id": "A",
          "name": "VAT-A",
          "chargeMode": "G",
          "ordinal": 5,
          "rate": 16.5
        },
        {
          "id": "E",
          "name": "Excempt",
          "chargeMode": "G",
          "ordinal": 2,
          "rate": null
        },
        {
          "id": "TL",
          "name": "Tourism Levy",
          "chargeMode": "G",
          "ordinal": 1,
          "rate": 1
        }
      ]
    },
    "terminalConfiguration": {
      "versionNo": 2,
      "terminalLabel": "Cashier 1",
      "emailAddress": "taxpayer@example.com",
      "phoneNumber": "+265888123456",
      "tradingName": "TRADING NAME",
      "addressLines": [
        "PO BOX 1234",
        "BLANTYRE",
        "* NAMIWAWA SERVICE CENTRE *"
      ],
      "offlineLimit": {
        "maxTransactionAgeInHours": 48,
        "maxCummulativeAmount": 5000000
      }
    },
    "taxpayerConfiguration": {
      "versionNo": 1,
      "tin": "20202020",
      "isVATRegistered": true,
      "taxOffice": {
        "code": "BLA",
        "name": "Blantyre Station"
      },
      "activatedTaxRateIds": [
        "A", "E", "TL"
      ]
    }
  },
  "errors": [
  ]
}