Skip to content

E-invoicing

Create debit note

Issue a debit note against an invoice you already issued, to increase its amount for under-billing, price changes or extra charges.

POST{baseUrl}/{stage}/external/businesses/{businessId}/invoices

Issue a tax-compliant debit note against an invoice that has already been issued. Use a debit note to increase the amount on an earlier invoice, for example for under-billing, price adjustments, additional charges such as freight or handling, or extra goods or services supplied after invoicing.

A debit note uses the same endpoint and request structure as Create Invoice, with two differences:

  1. invoiceTypeCode must be "384" (Debit Note).
  2. invoiceBillingReference is mandatory and must reference the IRN and issue date of the original invoice.

The endpoint validates, signs, verifies parties and transmits or reports the debit note to NRS in one call, the same way it does for an invoice.

Request Structure

Headers

Content-Typerequired
application/json
Acceptrequired
application/json
X-Business-Keyrequired

Path Parameters

businessIdstringrequired
The unique identifier of the business

Debit Note Specific Fields

invoiceTypeCodeStringrequired
Must be "384" (Debit Note)Example: "384"
invoiceBillingReferenceArrayrequired
Links the debit note to the original invoice. At least one entry is required.
invoiceDocumentReferenceIrnStringrequired
IRN of the original invoice being debitedExample: "INV001-94ND90NR-20240611"
invoiceDocumentReferenceIssueDateStringrequired
Issue date of the original invoice. Format: YYYY-MM-DDExample: "2024-06-11"

Note: NRS invoice type codes do not follow the UN/CEFACT standard list. In the NRS code list, 384 is Debit 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 debit note:

Field / SectionGuidance
Supplier and customer detailsMust match the parties on the original invoice
invoiceIssueDateDate the debit note is issued, not the date of the original invoice
invoiceLineInclude only the additional items or the price difference being charged, not the full original lines
invoiceTaxTotalTax on the additional amount only, at the applicable tax category and rate
Monetary totalsReflect the additional amount only, not the original invoice total plus the increase. All amounts are positive values.
invoiceNoteRecommended: state the reason for the debit note

Example Request

A supplier issued invoice INV001-94ND90NR-20240611 for 10 bags of rice at ₦20,000 per bag (₦200,000 + ₦15,000 VAT). The agreed price was ₦22,000 per bag, so the supplier issues a debit note for the ₦2,000 per bag difference: ₦20,000 + ₦1,500 VAT = ₦21,500.

JSON
{
  "invoiceBusinessId": "6dj03c76-1d83-4a39-a4de-51bd70547aef",
  "invoiceIssueDate": "2024-06-20",
  "invoiceIssueTime": "10:15:00",
  "invoiceTypeCode": "384",
  "invoiceDocumentCurrencyCode": "NGN",
  "invoiceTaxCurrencyCode": "NGN",
  "requestType": "B2B",
  "invoiceNote": "Price adjustment: agreed unit price of NGN 22,000 per bag",

  "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 - Price Adjustment",
      "invoiceLineItemDescription": "Unit price adjustment from NGN 20,000 to NGN 22,000",
      "invoiceLineItemSellersItemIdentification": "Rice-50KG-001",
      "invoiceLineInvoicedQuantity": 10,
      "invoiceLineExtensionAmount": 20000,
      "invoiceLinePriceAmount": 2000,
      "invoiceLinePriceBaseQuantity": 1,
      "invoiceLinePriceUnit": "EA",
      "invoiceLineDiscountRate": 0,
      "invoiceLineDiscountAmount": 0,
      "invoiceLineFeeRate": 0,
      "invoiceLineFeeAmount": 0
    }
  ],

  "invoiceTaxTotal": [
    {
      "invoiceTaxTotalAmount": 1500,
      "invoiceTaxTotalSubTotal": [
        {
          "taxSubTotalTaxableAmount": 20000,
          "taxSubTotalTaxAmount": 1500,
          "taxSubTotalCategoryPercent": 7.5,
          "taxSubTotalCategoryId": "STANDARD_VAT"
        }
      ]
    }
  ],

  "invoiceLineExtensionAmount": 20000,
  "invoiceTaxExclusiveAmount": 20000,
  "invoiceTaxInclusiveAmount": 21500,
  "invoicePayableAmount": 21500
}

Response Format

Success Response (200)

JSON
{
  "data": {
    "invoiceId": 246,
    "invoiceCreatedAt": "2024-06-20T10:15:00Z",
    "invoiceStatus": "CREATED",
    "invoiceNumber": "DN001",
    "invoiceNote": "Price adjustment: agreed unit price of NGN 22,000 per bag",
    "invoiceBusinessId": "6dj03c76-1d83-4a39-a4de-51bd70547aef",
    "invoiceEntityId": "107",
    "invoiceIssueDate": "2024-06-20",
    "invoiceDueDate": null,
    "invoiceIssueTime": "10:15:00",
    "invoiceTypeCode": "384",
    "invoicePaymentStatus": "PENDING",
    "invoiceDocumentCurrencyCode": "NGN",
    "invoiceTaxCurrencyCode": "NGN",
    "invoicePayableAmount": 21500,
    "invoiceTaxExclusiveAmount": 20000,
    "invoiceTaxInclusiveAmount": 21500,
    "invoiceLineExtensionAmount": 20000,
    "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 debit note is linked to.

Validation Rules

All Create Invoice validation rules apply. In addition:

  • invoiceTypeCode must be "384".
  • invoiceBillingReference must contain at least one entry with both invoiceDocumentReferenceIrn and invoiceDocumentReferenceIssueDate.
  • All amounts are positive values. The 384 type code identifies the document as a debit.

Recommended Practice

  • The referenced IRN should belong to an invoice issued by the same supplier.
  • invoiceDocumentReferenceIssueDate should match the issue date of the referenced invoice.
  • The debit note issue date should not be earlier than the original invoice's issue date.

Notes

  • Additional amount only: A debit note carries only the increase. Do not repeat the original invoice amounts.
  • Multiple debit notes: You can raise more than one debit note against the same invoice, for example for several separate adjustments.
  • Do not edit the original invoice: An issued invoice cannot be changed. An increase is made by issuing a debit note, and a reduction by issuing a credit note.