Electronic Invoicing System API v1
Developers Guide
×
Menu
Index

4.1.1.2. Response

The response from the terminal activation request provides confirmation of the activation status and includes the following details about the activated terminal:
 
Below is the sample response.
 
{
 
    "statusCode": 1,
    "remark": "Terminal Activated, pending for confirmation request",
    "data": {
        "activatedTerminal": {
            "terminalId": "3a6d3703-1c39-41e8-98ce-b38d9574540d",
            "activationDate": "2024-05-14T19:25:27.8106046+02:00",
            "terminalCredentials": {
                "jwtToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMjAxNjI5MzkiLCJodHRwczovL21yYS5tdy9EZXZpY2VJZCI6IjNhNmQzNzAzLTFjMzktNDFlOC05OGNlLWIzOGQ5NTc0NTQwZCIsImh0dHBzOi8vbXJhLm13L1NlY3JldEtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L0FQSUtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L1RJTiI6IjIwMTYyOTM5IiwiZXhwIjoxNzI4OTI2NzI2LCJpc3MiOiJNUkEiLCJhdWQiOiJFSVNUZXJtaW5hbHMifQ.pg-jKtsxKh6L0pEbu4RdJaj_bMijXmUGRmoH9k6Mh4g",
                "secretKey": "f7542816a0883314a146a6d1276349d9e736a00"
            }
        },
        "configuration": {
            "globalConfiguration": {
                "id": 1,
                "versionNo": 1,
                "taxrates": [
                    {
                        "id": "T",
                        "name": "VAT",
                        "chargeMode": "Item",
                        "ordinal": 100,
                        "rate": 16.500
                    },
 
                    {
                        "id": "T1",
                        "name": "VAT",
                        "chargeMode": "Item",
                        "ordinal": 100,
                        "rate": 15.500
                    },
                    {
                        "id": "TR",
                        "name": "Tourism Levy",
                        "chargeMode": "Global",
                        "ordinal": 2,
                        "rate": 1.000
                    }
                ]
            },
            "terminalConfiguration": {
                "versionNo": 1,
                "terminalLabel": "Till-03",
                "emailAddress": "gthomu@mra.mw",
                "phoneNumber": "0884506894",
                "tradingName": "Sample Trader",
                "addressLines": [
                    "GIFT SHOP\r\nP.O BOX 9\r\nBLANTYRE"
                ],
 
                "offlineLimit": {
                    "maxTransactionAgeInHours": 0,
                    "maxCummulativeAmount": 13636363
                }
            },
 
            "taxpayerConfiguration": {
                "versionNo": 89,
                "tin": "20202020",
                "isVATRegistered": true,
                "taxOfficeCode": "SWE",
                "taxOffice": {
                    "code": "SWE",
                    "name": "Songwe"
                },
                "activatedTaxRateIds": [
                    "FIN",
                    "VAT"
                ],
                "activatedTaxrates": null
            }
        }
    },
    "errors": null
}