Skip to content
Axis Solutions ZMB
YouTube

Create Credit Note

The SaveCreditNoteAsync() method allows taxpayers to issue credit notes for previously issued invoices.
Credit notes must always reference the original ZRA invoice (rcptNo) that was returned when the initial sale was posted.

⚠️ Important Notes:

  • Credit notes are only valid if they are linked to a prior successful Normal Sale transaction.
  • A valid OriginalInvoiceNumber (ZRA’s rcptNo) must be supplied.
  • A refund reason must be provided (e.g., product return, discount, error correction).

SaveCreditNoteAsync() Method

  • Request Parameters:
FieldTypeRequiredDescription
CISInvoiceNumberstringYesUnique invoice number from the POS/ERP system
CustomerTPINstringYesCustomer’s TPIN
CustomerNamestringYesName of the customer
SalesTypeCodestringYesR = Return (Credit Note)
ReceiptTypeCodestringYesR = Credit Note
OriginalInvoiceNumberintYesZRA invoice number (rcptNo) from the original sale
RefundReasonCodestringYesCode explaining reason for credit note (e.g., 01 = Product return)
PaymentTypeCodestringYes01 = Cash, 02 = Credit, etc.
SalesStatusCodestringYes02 = Approved
ConfirmationDateTimestringYesDate/time of credit note (yyyyMMddHHmmss)
SalesDatestringYesCredit note issue date (yyyyMMdd)
TotalItemCountintYesNumber of line items
CurrencyTypeCodestringYesCurrency, e.g. ZMW
ExchangeRatedecimalYesExchange rate used
SaleCategoryCodestringYes2 = Credit Note
ItemListarrayYesList of items being credited (similar structure to sale items)

Usage Example

classification codes

Example Successful Response

{
  "success": true,
  "code": "000",
  "message": "Operation completed successfully",
  "timestamp": "2025-09-19 13:35:12",
  "data": {
    "rcptNo": 71,
    "intrlData": "W2I3QZMPW3VKRTFVBFPJMF7WAI",
    "rcptSign": "4JPHZ4JIYSOHNZWH",
    "vsdcRcptPbctDate": "20250919133504",
    "sdcId": "SDC0010002702",
    "mrcNo": "WIS00003709  ",
    "qrCodeUrl": "https://sandboxportal.zra.org.zm/indexInvoiceData?Data=10028907810004JPHZ4JIYSOHNZWH"
  },
  "error": null
}