E-invoicing
Create credit note
Issue a credit note against an invoice you already issued, to reduce or cancel its amount for returns, pricing errors or a cancelled supply.
Issue a tax-compliant credit note against an invoice that has already been issued. Use a credit note to reduce or cancel the amount on an earlier invoice, for example for returned goods, pricing errors, discounts given after invoicing or a cancelled supply.
A credit note uses the same endpoint and request structure as Create Invoice, with two differences:
invoiceTypeCodemust be"380"(Credit Note).invoiceBillingReferenceis mandatory and must reference the IRN and issue date of the original invoice.
The endpoint validates, signs, verifies parties and transmits or reports the credit note to NRS in one call, the same way it does for an invoice.
Request Structure
Headers
application/jsonapplication/jsonPath Parameters
Credit Note Specific Fields
"380" (Credit Note)Example: "380""INV001-94ND90NR-20240611""2024-06-11"Note: NRS invoice type codes do not follow the UN/CEFACT standard list. In the NRS code list, 380 is Credit Note. Always use the values returned by Get NRS Invoice Types.
Other Fields
All other mandatory and optional fields are the same as for Create Invoice. When creating a credit note:
| Field / Section | Guidance |
|---|---|
| Supplier and customer details | Must match the parties on the original invoice |
invoiceIssueDate | Date the credit note is issued, not the date of the original invoice |
invoiceLine | Include only the items being credited, with the quantity and amount being credited |
invoiceTaxTotal | Tax on the credited amount only, at the same tax category and rate as the original invoice |
| Monetary totals | Reflect the credited amount only, not the original invoice total. All amounts are positive values. |
invoiceNote | Recommended: state the reason for the credit note |
Example Request
A supplier issued invoice INV001-94ND90NR-20240611 for 10 bags of rice (₦200,000 + ₦15,000 VAT). The customer returns 2 bags, and the supplier issues a credit note for ₦43,000.
{
"invoiceBusinessId": "6dj03c76-1d83-4a39-a4de-51bd70547aef",
"invoiceIssueDate": "2024-06-20",
"invoiceIssueTime": "10:15:00",
"invoiceTypeCode": "380",
"invoiceDocumentCurrencyCode": "NGN",
"invoiceTaxCurrencyCode": "NGN",
"requestType": "B2B",
"invoiceNote": "Credit for 2 bags returned (damaged in transit)",
"invoiceBillingReference": [
{
"invoiceDocumentReferenceIrn": "INV001-94ND90NR-20240611",
"invoiceDocumentReferenceIssueDate": "2024-06-11"
}
],
"invoiceSupplierStreetName": "10, Banana Island Road",
"invoiceSupplierCityName": "Ikoyi",
"invoiceSupplierLga": "NG-LA-ETO",
"invoiceSupplierState": "NG-LA",
"invoiceSupplierCountry": "NG",
"invoiceSupplierPostalZone": "100243",
"invoiceSupplierPartyBusinessDescription": "Import and Sales of Foreign Rice",
"invoiceSupplierPartyTin": "24058123-0001",
"invoiceSupplierPartyEmail": "supplier_business@email.com",
"invoiceSupplierPartyTelephone": "+23480254099000",
"invoiceSupplierPartyName": "ABC Rice Ltd.",
"invoiceCustomerStreetName": "15, Glover Road",
"invoiceCustomerCityName": "Ikoyi",
"invoiceCustomerLga": "NG-LA-ETO",
"invoiceCustomerState": "NG-LA",
"invoiceCustomerCountry": "NG",
"invoiceCustomerPostalZone": "100243",
"invoiceCustomerPartyBusinessDescription": "Cement and building materials",
"invoiceCustomerPartyTin": "24058124-0001",
"invoiceCustomerPartyEmail": "customer_business@email.com",
"invoiceCustomerPartyTelephone": "+23480254099001",
"invoiceCustomerPartyName": "XYZ Ltd.",
"invoiceLine": [
{
"invoiceLineProductCategory": "Cereals; husked (brown) rice",
"invoiceLineHsnCode": "1006.2",
"invoiceLineItemName": "50kg Bag of Rice",
"invoiceLineItemDescription": "Premium long-grain brown rice",
"invoiceLineItemSellersItemIdentification": "Rice-50KG-001",
"invoiceLineInvoicedQuantity": 2,
"invoiceLineExtensionAmount": 40000,
"invoiceLinePriceAmount": 20000,
"invoiceLinePriceBaseQuantity": 1,
"invoiceLinePriceUnit": "EA",
"invoiceLineDiscountRate": 0,
"invoiceLineDiscountAmount": 0,
"invoiceLineFeeRate": 0,
"invoiceLineFeeAmount": 0
}
],
"invoiceTaxTotal": [
{
"invoiceTaxTotalAmount": 3000,
"invoiceTaxTotalSubTotal": [
{
"taxSubTotalTaxableAmount": 40000,
"taxSubTotalTaxAmount": 3000,
"taxSubTotalCategoryPercent": 7.5,
"taxSubTotalCategoryId": "STANDARD_VAT"
}
]
}
],
"invoiceLineExtensionAmount": 40000,
"invoiceTaxExclusiveAmount": 40000,
"invoiceTaxInclusiveAmount": 43000,
"invoicePayableAmount": 43000
}Response Format
Success Response (200)
{
"data": {
"invoiceId": 245,
"invoiceCreatedAt": "2024-06-20T10:15:00Z",
"invoiceStatus": "CREATED",
"invoiceNumber": "CN001",
"invoiceNote": "Credit for 2 bags returned (damaged in transit)",
"invoiceBusinessId": "6dj03c76-1d83-4a39-a4de-51bd70547aef",
"invoiceEntityId": "107",
"invoiceIssueDate": "2024-06-20",
"invoiceDueDate": null,
"invoiceIssueTime": "10:15:00",
"invoiceTypeCode": "380",
"invoicePaymentStatus": "PENDING",
"invoiceDocumentCurrencyCode": "NGN",
"invoiceTaxCurrencyCode": "NGN",
"invoicePayableAmount": 43000,
"invoiceTaxExclusiveAmount": 40000,
"invoiceTaxInclusiveAmount": 43000,
"invoiceLineExtensionAmount": 40000,
"invoiceBillingReference": [
{
"invoiceDocumentReferenceIrn": "INV001-94ND90NR-20240611",
"invoiceDocumentReferenceIssueDate": "2024-06-11"
}
]
},
"responseCode": "200",
"responseMessage": "Invoice created successfully"
}The response includes invoiceBillingReference, which confirms the original invoice the credit note is linked to.
Validation Rules
All Create Invoice validation rules apply. In addition:
invoiceTypeCodemust be"380".invoiceBillingReferencemust contain at least one entry with bothinvoiceDocumentReferenceIrnandinvoiceDocumentReferenceIssueDate.- All amounts are positive values. The
380type code identifies the document as a credit.
Recommended Practice
- The referenced IRN should belong to an invoice issued by the same supplier.
invoiceDocumentReferenceIssueDateshould match the issue date of the referenced invoice.- The credit note issue date should not be earlier than the original invoice's issue date.
- The credited amount should not exceed the amount on the original invoice.
Notes
- Partial or full credit: To cancel an invoice in full, credit all of its lines and amounts. To credit part of it, include only the affected lines and quantities.
- Multiple credit notes: You can raise more than one credit note against the same invoice, for example for several returns.
- Do not edit the original invoice: An issued invoice cannot be changed. Corrections are made by issuing a credit note.