Electronic Invoicing System API v1
Developers Guide
×
Menu
Index

4.3.1.1. Request

curl -X 'POST' \
  'https: //dev-eis-api.mra.mw//api/v1/api/v1/sales/submit-sales-transaction' \
  -H 'accept: text/plain' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMjAxNjI5MzkiLCJodHRwczovL21yYS5tdy9EZXZpY2VJZCI6IjNhNmQzNzAzLTFjMzktNDFlOC05OGNlLWIzOGQ5NTc0NTQwZCIsImh0dHBzOi8vbXJhLm13L1NlY3JldEtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L0FQSUtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L1RJTiI6IjIwMTYyOTM5IiwiZXhwIjoxNzI4OTI2NzI2LCJpc3MiOiJNUkEiLCJhdWQiOiJFSVNUZXJtaW5hbHMifQ.pg-jKtsxKh6L0pEbu4RdJaj_bMijXmUGRmoH9k6Mh4g'\
  -d '{
  "invoiceHeader": {
    "invoiceNumber": "string",
    "invoiceDateTime": "2025-05-28T06:57:11.368Z",
    "sellerTIN": "string",
    "buyerTIN": "string",
    "buyerName": "string",
    "buyerAuthorizationCode": "string",
    "siteId": "string",
    "globalConfigVersion": 0,
    "taxpayerConfigVersion": 0,
    "terminalConfigVersion": 0,
    "isReliefSupply": true,
    "vat5CertificateDetails": {
      "id": 0,
      "projectNumber": "string",
      "certificateNumber": "string",
      "quantity": 0
    },
    "paymentMethod": "string"
  },
  "invoiceLineItems": [
    {
      "id": 0,
      "productCode": "string",
      "description": "string",
      "unitPrice": 0,
      "quantity": 0,
      "discount": 0,
      "total": 0,
      "totalVAT": 0,
      "taxRateId": "string",
      "isProduct": true
    }
  ],
  "invoiceSummary": {
    "taxBreakDown": [
      {
        "rateId": "string",
        "taxableAmount": 0,
        "taxAmount": 0
      }
    ],
    "totalVAT": 0,
    "offlineSignature": "string",
    "invoiceTotal": 0
  }
}'
 
 
     The call to the submit sales transactions endpoint will be successful with the following parameters.
Json Path
Natural Name
Data Type
Restrictions
Comments
Authorization
Authorization Token
string
-mandatory
This will be computed from a  Terminal Activation Code
invoiceNumber
 
string
-mandatory
 
 
 
Notes
 
   If the isReliefSupply field in the invoiceHeader of the request is set to true, it means the transaction qualifies for VAT relief under Malawi’s regulations. In such cases:
  Additionally, if a buyerTIN is provided, it indicates a business-to-business (B2B) transaction. On the taxpayer portal, the taxpayer can choose to protect their TIN: