E-invoicing
List received invoices
List invoices other businesses have sent to you through NRS.
POST{baseUrl}/{stage}/external/{businessId}/fetchInvoices
POST {baseUrl}/{stage}/external/businesses/{businessId}/fetchInvoices
Retrieves a paginated list of e-invoices received by the specified business, with optional filtering by payment status and date range.
Quick Reference
| Method | Endpoint | Content-Type |
|---|---|---|
| POST | {baseUrl}/{stage}/external/businesses/{businessId}/fetchInvoices | application/json |
Request
Path Parameters
stagestringrequired
Environment stageExample:
{stage}businessIdstring (UUID)required
Unique identifier of the receiving businessExample:
xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxHeaders
Content-Typerequired
application/json
Acceptrequired
application/json
X-Business-Keyrequired
Your business key
Request Body
pageintegerrequired
Page numberValidation: Must be ≥ 1
sizeintegerrequired
Number of invoices per pageValidation: Between 1 and 100
invoicePaymentStatusstring
Returns only invoices with this payment status. Omit to return all statuses.Validation: One of
PENDING, PAID, REJECTEDdateFromstring
Start of date range (inclusive)Validation:
YYYY-MM-DDdateTostring
End of date range (inclusive)Validation:
YYYY-MM-DDSample Request
{
"page": 1,
"size": 10,
"invoicePaymentStatus": "PENDING",
"dateFrom": "2026-09-01",
"dateTo": "2026-09-30"
}Response
Success Response (200)
{
"responseCode": "00",
"responseMessage": "Completed successfully",
"data": {
"invoices": [
{
"irn": "INV001-1A2B3C4D-20260928",
"pushedAt": "2026-09-28T17:19:33.776664",
"confirmedAt": null,
"invoiceData": {
"id": null,
"irn": "INV001-1A2B3C4D-20260928",
"payment_status": "PENDING",
"customization_id": null,
"issue_date": "2026-09-28",
"issue_time": "17:00:53",
"due_date": null,
"invoice_type_code": "381",
"order_reference": "",
"buyer_reference": "",
"note": "",
"tax_point_date": null,
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"accounting_supplier_party": {
"id": "c1d2e3f4-0000-4000-8000-000000000001",
"postal_address_id": "c1d2e3f4-0000-4000-8000-000000000002",
"party_name": "Sample Supplier Limited",
"tin": "12345678-0001",
"email": "accounts@supplier.example",
"telephone": "+2348010000101",
"business_description": "MANUFACTURING",
"postal_address": {
"id": "c1d2e3f4-0000-4000-8000-000000000002",
"street_name": "12, Sample Street",
"city_name": "LAGOS",
"postal_zone": "100001",
"country": "NG"
}
},
"accounting_customer_party": {
"id": "c1d2e3f4-0000-4000-8000-000000000003",
"postal_address_id": "c1d2e3f4-0000-4000-8000-000000000004",
"party_name": "Sample Customer PLC",
"tin": "87654321-0001",
"email": "ap@customer.example",
"telephone": "+2348010000201",
"business_description": "Customer",
"postal_address": {
"id": "c1d2e3f4-0000-4000-8000-000000000004",
"street_name": "Plot 7, Industrial Avenue",
"city_name": "OGUN",
"postal_zone": "110001",
"country": "NG"
}
},
"tax_total": [
{
"tax_amount": 75000.00,
"tax_subtotal": [
{
"taxable_amount": 1000000.00,
"tax_amount": 75000.00,
"tax_category": { "id": "STANDARD_VAT", "percent": 7.5 },
"taxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 1000000.00,
"tax_exclusive_amount": 1000000.00,
"tax_inclusive_amount": 1075000.00,
"payable_amount": 1075000.00
},
"invoice_line": [
{
"invoiced_quantity": 250,
"line_extension_amount": 1000000.00,
"item": {
"name": "Plain Shrink Film 350MM",
"description": "Plain Shrink Film 350MM",
"sellers_item_identification": "SKU-40011"
},
"price": { "price_amount": 4000.00, "base_quantity": 1, "price_unit": "KGS" },
"hsn_code": "3921.90",
"product_category": "Plastics; plates, sheets, film, foil and strip, other than cellular",
"discount_rate": 0,
"discount_amount": 0,
"fee_rate": 0,
"fee_amount": 0
}
]
}
}
],
"pagination": {
"page": 1,
"size": 10,
"hasNextPage": true,
"hasPreviousPage": false,
"totalCount": 1250
}
}
}Response Data Structure
Root
responseCodestring
"00" indicates successresponseMessagestring
Description of the result
data.invoicesarray
List of invoice records
data.paginationobject
Pagination details
Invoice Record
irnstring
Invoice Reference Number (unique per invoice)
pushedAtstring (ISO 8601)
Date and time the invoice was delivered to the receiving business
confirmedAtstring (ISO 8601) or null
Date and time receipt was confirmed;
null if not yet confirmedinvoiceDataobject
Full invoice detail (see below)
invoiceData
irnstring
Invoice Reference Number
payment_statusstring
PENDING, PAID or REJECTEDissue_datestring
Invoice issue date (
YYYY-MM-DD)issue_timestring or null
Invoice issue time (
HH:mm:ss)due_datestring or null
Payment due date (
YYYY-MM-DD)invoice_type_codestring
Invoice type code (e.g.
381, 385)order_referencestring or null
Purchase order reference
buyer_referencestring or null
Buyer reference
notestring or null
Additional notes
tax_point_datestring or null
Tax point date (
YYYY-MM-DD)document_currency_codestring
Invoice currency (e.g.
NGN)tax_currency_codestring
Tax currency (e.g.
NGN)accounting_supplier_partyobject
Supplier details (see Party)
accounting_customer_partyobject
Customer details (see Party)
tax_totalarray
Tax totals and breakdown by category
legal_monetary_totalobject
Invoice monetary totals
invoice_linearray
Invoice line items
Party (supplier and customer)
idstring (UUID)
Party record identifier
party_namestring
Registered name
tinstring
Tax Identification Number
emailstring
Email address
telephonestring or null
Phone number
business_descriptionstring
Business description
postal_addressobject
street_name, city_name, postal_zone, countrytax_total[]
tax_amountnumber
Total tax amount
tax_subtotal[].taxable_amountnumber
Amount the tax is applied to
tax_subtotal[].tax_amountnumber
Tax amount for the category
tax_subtotal[].tax_category.idstring
Tax category (e.g.
STANDARD_VAT)tax_subtotal[].tax_category.percentnumber
Tax rate (%)
legal_monetary_total
line_extension_amountnumber
Sum of line amounts
tax_exclusive_amountnumber
Total excluding tax
tax_inclusive_amountnumber
Total including tax
payable_amountnumber
Amount payable
invoice_line[]
invoiced_quantitynumber
Quantity invoiced
line_extension_amountnumber
Line amount (quantity × price)
item.namestring
Item name
item.descriptionstring
Item description
item.sellers_item_identificationstring
Supplier's item code
price.price_amountnumber
Unit price
price.base_quantitynumber
Base quantity for the price
price.price_unitstring
Unit of measure (e.g.
EA, KGS)hsn_codestring
HS code
product_categorystring
Product category
discount_rate / discount_amountnumber
Discount applied
fee_rate / fee_amountnumber
Fee applied
Pagination
pageinteger
Current page number
sizeinteger
Page size requested
hasNextPageboolean
Whether more pages exist
hasPreviousPageboolean
Whether previous pages exist
totalCountinteger
Total number of invoices matching the filters
Validation Rules
pageandsizeare required.pagemust be ≥ 1;sizemust be between 1 and 100.businessIdmust be a valid UUID and must match theX-Business-Keyprovided.dateFromanddateTomust be inYYYY-MM-DDformat;dateFrommust not be later thandateTo.- Only finalised invoices are returned. Deleted invoices are excluded.
Error Responses
| HTTP Status | Message | Cause | Resolution |
|---|---|---|---|
| 400 | Invalid page parameter | page is less than 1 | Use page ≥ 1 |
| 400 | Invalid size parameter | size is outside 1 to 100 | Use size between 1 and 100 |
| 401 | Unauthorized | Missing or invalid X-Business-Key | Provide a valid business key |
| 403 | Access denied | Key does not have access to this business | Check the business key and businessId |
| 404 | Business not found | businessId does not exist | Verify the businessId |
| 422 | Missing required fields | page or size not provided | Include both fields |
Example error response:
{
"responseCode": "400",
"responseMessage": "Invalid page parameter: must be greater than 0",
"data": null
}Integration Notes
- Retrieving all invoices: Call the endpoint with a date range and increase
pageuntilhasNextPageisfalse. - Deduplication: Use
irnas the unique key when storing invoices. - Payment status: Filter on
PENDINGfor payment processing. Omit the filter to get a complete record for reconciliation, since many invoices arrive already markedPAID. - Amounts: Parse monetary fields as decimals and round to 2 decimal places. Some values may be returned with extended precision.
- Human-readable copies: Invoices are delivered as JSON only. No PDF or HTML version is returned.
Qorpy API by Qucoon Limited, an NRS-approved Access PointAPI version v1