MATTOBELL
NRS System Integrator
IntroductionNRS invoice processing
Validate IRNValidate Invoice SchemaSign InvoiceSign and Transmit InvoiceTransmit InvoiceGet Each Invoice (Basic)Get Each Invoice (Advanced)Lookup IRN (Get APP Status)Create QR CodeValidate QR CodeGet Business InformationReference data
Get Invoice TypesGet Payment MeansGet Tax CategoriesGet All ServicesGet All ProductsGet All StatesGet All Local GovernmentsGet All Units of MeasurementsGet CurrenciesImplemented Odoo API
Create Odoo draft invoiceRetrieve Odoo invoiceRetrieve invoice statusDownload invoicePrepare NRS documentValidate prepared invoiceSign prepared invoiceGenerate QRAPI integration reference · Version 6.2 · 30 October 2026
Mattobell NRS System Integrator API Documentation
Introduction
Welcome to the Mattobell NRS e-Invoicing System Integrator API documentation. This reference describes the integration workflow for preparing structured electronic invoices, validating invoice reference numbers and invoice data, processing digital signatures, transmitting invoices, retrieving invoice status, and managing associated QR information.
The API documentation is intended for ERP developers, implementation teams, and technical reviewers integrating business invoicing systems with Nigeria Revenue Service (NRS) electronic invoicing processes. Request and response examples use illustrative values and must be configured with the appropriate business identifiers and credentials.
Integration workflow
Register the business and configure the integration environment; obtain the required credentials and service identifiers; construct the NRS invoice payload; validate the IRN and invoice structure; perform the applicable signing and transmission steps; then retrieve status and QR information for audit and reconciliation.
Using this reference
Use the navigation panel to locate each operation. Endpoint sections include the HTTP method, resource path, request body where applicable, and a copyable cURL example. The canonical invoice JSON demonstrates the supplier, customer, tax, line-item, and monetary-total structure.
Endpoint paths: Examples in the NRS processing and reference-data sections describe the integration interface and should be checked against the configured environment before use. The Odoo invoice operations section documents the routes found in the supplied module.
Reference-data operations use GET requests. They do not require request JSON bodies; the examples show the URL, headers, and representative returned records.
Authentication and environment
API authentication is configured for the relevant integration environment. For the existing Odoo controller, send Authorization: Bearer
BASE_URL: configure the actual deployment host. BUSINESS_ID / SERVICE_ID / IRN: obtain from your registered NRS test environment. Never publish credentials or private certificates.
Canonical NRS invoice payload — complete illustration
Example of the structured NRS invoice document used in the integration workflow.
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}Monetary consistency: 2 × ₦95,000 = ₦190,000; discount ₦19,000; taxable ₦171,000; VAT 7.5% = ₦12,825; payable ₦183,825. Schema-level acceptance still requires NRS validation.
Validate IRN
{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"business_id": "{{BUSINESS_ID}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/irn/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"business_id": "{{BUSINESS_ID}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Validate Invoice Schema
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Sign Invoice
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/sign" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Sign and Transmit Invoice
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/sign-transmit" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Transmit Invoice
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/transmit/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Get Each Invoice (Basic)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/{{IRN}}/simple" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Get Each Invoice (Advanced)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Lookup IRN (Get APP Status)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/lookup/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Create QR Code
{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"public_key": "{{PUBLIC_KEY}}",
"certificate": "{{CERTIFICATE}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/qr-code/create" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"public_key": "{{PUBLIC_KEY}}",
"certificate": "{{CERTIFICATE}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Validate QR Code
{
"code": "{{QR_CODE_DATA}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/qr-code/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"code": "{{QR_CODE_DATA}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Get Business Information
{
"tin": "{{CUSTOMER_TIN}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/business/lookup" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"tin": "{{CUSTOMER_TIN}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Get Invoice Types
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/invoices-types" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}200380Credit Note 381Commercial Invoice 384Debit Note 385Self Billed Invoice 386Factored Invoice 388Statement of Account 389Purchase Order 390Proforma Invoice 392Consignment Invoice 393Self-billed Credit Note 394Self-billed Invoice 395Credit Note Request 396Invoice Request 397Final Settlement 399Bill of Lading 400Waybill 402Shipping Instructions 404Certificate of Origin 406Customs Declaration 408Packing List
Get Payment Means
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/payment-means" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}20010Cash 20Cheque 30Credit Transfer 31Debit Transfer 42ACH Credit 43ACH Debit 48Bank Card 49Direct Debit 50Credit Card 58Banker's Draft 97Other ZZZMutually Defined
Get Tax Categories
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/tax-categories" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"code": "STANDARD_GST",
"value": "Standard Goods and Services Tax",
"percent": "Not Available"
},
{
"code": "REDUCED_GST",
"value": "Reduced Goods and Services Tax",
"percent": "Not Available"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Services
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/services" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"description": "Growing of cereals (except rice), leguminous crops and oil seeds",
"code": "0111"
},
{
"description": "Growing of rice",
"code": "0112"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Products
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/products" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"draw": 0,
"recordsTotal": 5612,
"recordsFiltered": 5612,
"data": [
{
"hscode": "0101.21",
"description": "Horses; live, pure-bred breeding animals"
},
{
"hscode": "0101.29",
"description": "Horses; live, other than pure-bred breeding animals"
}
],
"input": {
"start": "1",
"length": "10",
"hscode": "0101.21"
},
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All States
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/states" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"name": "Abia",
"code": "NG-AB"
},
{
"name": "Adamawa",
"code": "NG-AD"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Local Governments
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/lgas" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"name": "Aba North",
"code": "NG-AB-ANO",
"state_code": "NG-AB"
},
{
"name": "Aba South",
"code": "NG-AB-ASO",
"state_code": "NG-AB"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Units of Measurements
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/units-of-measurement" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"code": "10",
"name": "group",
"description": "A unit of count defining the number of groups (group: set of items classified together)."
},
{
"code": "11",
"name": "outfit",
"description": "A unit of count defining the number of outfits (outfit: a complete set of equipment / materials / objects used for a specific purpose)."
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get Currencies
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/currencies" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
{
"symbol": "CA$",
"name": "Canadian Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "CAD",
"name_plural": "Canadian dollars"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Create Odoo draft invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
{
"external_reference": "EXT-2026-001",
"customer": {
"name": "Example Customer Limited",
"email": "ap@example-customer.test"
},
"lines": [
{
"name": "Consultancy services",
"quantity": 2,
"price_unit": 95000
}
]
}curl --request POST "{{BASE_URL}}/api/v1/invoices" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}" \
--data '{
"external_reference": "EXT-2026-001",
"customer": {
"name": "Example Customer Limited",
"email": "ap@example-customer.test"
},
"lines": [
{
"name": "Consultancy services",
"quantity": 2,
"price_unit": 95000
}
]
}'{
"note": "Actual response fields must be verified against deployed test instance"
}Retrieve Odoo invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Retrieve invoice status
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/status" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Download invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/download" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Prepare NRS document
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/prepare" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Validate prepared invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Sign prepared invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/sign" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Generate QR
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/qr" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}MATTOBELL
NRS System Integrator
IntroductionNRS invoice processing
Validate IRNValidate Invoice SchemaSign InvoiceSign and Transmit InvoiceTransmit InvoiceGet Each Invoice (Basic)Get Each Invoice (Advanced)Lookup IRN (Get APP Status)Create QR CodeValidate QR CodeGet Business InformationReference data
Get Invoice TypesGet Payment MeansGet Tax CategoriesGet All ServicesGet All ProductsGet All StatesGet All Local GovernmentsGet All Units of MeasurementsGet CurrenciesImplemented Odoo API
Create Odoo draft invoiceRetrieve Odoo invoiceRetrieve invoice statusDownload invoicePrepare NRS documentValidate prepared invoiceSign prepared invoiceGenerate QRAPI integration reference · Version 6.2 · 30 October 2026
Mattobell NRS System Integrator API Documentation
Introduction
Welcome to the Mattobell NRS e-Invoicing System Integrator API documentation. This reference describes the integration workflow for preparing structured electronic invoices, validating invoice reference numbers and invoice data, processing digital signatures, transmitting invoices, retrieving invoice status, and managing associated QR information.
The API documentation is intended for ERP developers, implementation teams, and technical reviewers integrating business invoicing systems with Nigeria Revenue Service (NRS) electronic invoicing processes. Request and response examples use illustrative values and must be configured with the appropriate business identifiers and credentials.
Integration workflow
Register the business and configure the integration environment; obtain the required credentials and service identifiers; construct the NRS invoice payload; validate the IRN and invoice structure; perform the applicable signing and transmission steps; then retrieve status and QR information for audit and reconciliation.
Using this reference
Use the navigation panel to locate each operation. Endpoint sections include the HTTP method, resource path, request body where applicable, and a copyable cURL example. The canonical invoice JSON demonstrates the supplier, customer, tax, line-item, and monetary-total structure.
Endpoint paths: Examples in the NRS processing and reference-data sections describe the integration interface and should be checked against the configured environment before use. The Odoo invoice operations section documents the routes found in the supplied module.
Reference-data operations use GET requests. They do not require request JSON bodies; the examples show the URL, headers, and representative returned records.
Authentication and environment
API authentication is configured for the relevant integration environment. For the existing Odoo controller, send Authorization: Bearer <API_KEY>. Set BASE_URL to the configured host and supply the required business and service identifiers.
BASE_URL: configure the actual deployment host. BUSINESS_ID / SERVICE_ID / IRN: obtain from your registered NRS test environment. Never publish credentials or private certificates.
Canonical NRS invoice payload — complete illustration
Example of the structured NRS invoice document used in the integration workflow.
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}Monetary consistency: 2 × ₦95,000 = ₦190,000; discount ₦19,000; taxable ₦171,000; VAT 7.5% = ₦12,825; payable ₦183,825. Schema-level acceptance still requires NRS validation.
Validate IRN
{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"business_id": "{{BUSINESS_ID}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/irn/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"business_id": "{{BUSINESS_ID}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Validate Invoice Schema
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Sign Invoice
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/sign" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Sign and Transmit Invoice
{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}curl --request POST "{{BASE_URL}}/api/v1/nrs/sign-transmit" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"business_id": "{{BUSINESS_ID}}",
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"issue_date": "2026-10-30",
"due_date": "2026-11-13",
"issue_time": "10:00:00",
"invoice_kind": "B2B",
"invoice_type_code": "381",
"document_currency_code": "NGN",
"tax_currency_code": "NGN",
"payment_status": "PENDING",
"accounting_supplier_party": {
"party_name": "Example Supplier Limited",
"tin": "{{SUPPLIER_TIN}}",
"email": "billing@example-supplier.test",
"telephone": "+2348000000000",
"business_description": "Business consulting",
"postal_address": {
"street_name": "10 Example Road",
"city_name": "Ikeja",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"accounting_customer_party": {
"party_name": "Example Customer Limited",
"tin": "{{CUSTOMER_TIN}}",
"email": "ap@example-customer.test",
"telephone": "+2348000000001",
"business_description": "Business services",
"postal_address": {
"street_name": "20 Sample Street",
"city_name": "Lagos",
"postal_zone": "100001",
"country": "NG",
"state": "Lagos State",
"lga": "Ikeja"
}
},
"invoice_line": [
{
"isic_code": "7020",
"service_category": "Management consultancy activities",
"invoiced_quantity": 2,
"discount_rate": 10,
"discount_amount": 19000,
"fee_rate": 0,
"fee_amount": 0,
"line_extension_amount": 171000,
"item": {
"name": "Consultancy services",
"description": "Professional consultancy",
"sellers_item_identification": "CONS-001"
},
"price": {
"price_amount": 95000,
"base_quantity": 1,
"price_unit": "H87"
}
}
],
"tax_total": [
{
"tax_amount": 12825,
"tax_subtotal": [
{
"taxable_amount": 171000,
"tax_amount": 12825,
"tax_category": {
"id": "STANDARD_VAT",
"percent": 7.5
},
"TaxCategoryPercent": 7.5
}
]
}
],
"legal_monetary_total": {
"line_extension_amount": 171000,
"tax_exclusive_amount": 171000,
"tax_inclusive_amount": 183825,
"payable_amount": 183825
},
"payment_summary": {
"balance_due": 183825,
"payment_count": 0,
"total_paid": 0
}
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Transmit Invoice
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/transmit/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Get Each Invoice (Basic)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/{{IRN}}/simple" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Get Each Invoice (Advanced)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Lookup IRN (Get APP Status)
No request body
curl --request GET "{{BASE_URL}}/api/v1/nrs/lookup/{{IRN}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}Create QR Code
{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"public_key": "{{PUBLIC_KEY}}",
"certificate": "{{CERTIFICATE}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/qr-code/create" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"irn": "INV202600001-{{SERVICE_ID}}-20261030",
"public_key": "{{PUBLIC_KEY}}",
"certificate": "{{CERTIFICATE}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Validate QR Code
{
"code": "{{QR_CODE_DATA}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/qr-code/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"code": "{{QR_CODE_DATA}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Get Business Information
{
"tin": "{{CUSTOMER_TIN}}"
}curl --request POST "{{BASE_URL}}/api/v1/nrs/business/lookup" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}" \
--data '{
"tin": "{{CUSTOMER_TIN}}"
}'{
"status": "example_only",
"message": "Response structure to be confirmed by Mattobell sandbox testing",
"data": {
"irn": "INV202600001-{{SERVICE_ID}}-20261030"
}
}Get Invoice Types
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/invoices-types" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}200380Credit Note 381Commercial Invoice 384Debit Note 385Self Billed Invoice 386Factored Invoice 388Statement of Account 389Purchase Order 390Proforma Invoice 392Consignment Invoice 393Self-billed Credit Note 394Self-billed Invoice 395Credit Note Request 396Invoice Request 397Final Settlement 399Bill of Lading 400Waybill 402Shipping Instructions 404Certificate of Origin 406Customs Declaration 408Packing List
Get Payment Means
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/payment-means" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}20010Cash 20Cheque 30Credit Transfer 31Debit Transfer 42ACH Credit 43ACH Debit 48Bank Card 49Direct Debit 50Credit Card 58Banker's Draft 97Other ZZZMutually Defined
Get Tax Categories
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/tax-categories" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"code": "STANDARD_GST",
"value": "Standard Goods and Services Tax",
"percent": "Not Available"
},
{
"code": "REDUCED_GST",
"value": "Reduced Goods and Services Tax",
"percent": "Not Available"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Services
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/services" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"description": "Growing of cereals (except rice), leguminous crops and oil seeds",
"code": "0111"
},
{
"description": "Growing of rice",
"code": "0112"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Products
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/products" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"draw": 0,
"recordsTotal": 5612,
"recordsFiltered": 5612,
"data": [
{
"hscode": "0101.21",
"description": "Horses; live, pure-bred breeding animals"
},
{
"hscode": "0101.29",
"description": "Horses; live, other than pure-bred breeding animals"
}
],
"input": {
"start": "1",
"length": "10",
"hscode": "0101.21"
},
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All States
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/states" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"name": "Abia",
"code": "NG-AB"
},
{
"name": "Adamawa",
"code": "NG-AD"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Local Governments
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/lgas" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"name": "Aba North",
"code": "NG-AB-ANO",
"state_code": "NG-AB"
},
{
"name": "Aba South",
"code": "NG-AB-ASO",
"state_code": "NG-AB"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get All Units of Measurements
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/units-of-measurement" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"code": "10",
"name": "group",
"description": "A unit of count defining the number of groups (group: set of items classified together)."
},
{
"code": "11",
"name": "outfit",
"description": "A unit of count defining the number of outfits (outfit: a complete set of equipment / materials / objects used for a specific purpose)."
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Get Currencies
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
curl --request GET "{{BASE_URL}}/api/v1/nrs/resources/currencies" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: {{AUTH_SCHEME_TO_CONFIRM}} {{API_KEY}}"{
"status": "example_only",
"message": "Response structure pending sandbox verification"
}{
"code": 200,
"data": [
{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
{
"symbol": "CA$",
"name": "Canadian Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "CAD",
"name_plural": "Canadian dollars"
}
],
"sample_note": "Illustrative excerpt: additional records omitted."
}Create Odoo draft invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
{
"external_reference": "EXT-2026-001",
"customer": {
"name": "Example Customer Limited",
"email": "ap@example-customer.test"
},
"lines": [
{
"name": "Consultancy services",
"quantity": 2,
"price_unit": 95000
}
]
}curl --request POST "{{BASE_URL}}/api/v1/invoices" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}" \
--data '{
"external_reference": "EXT-2026-001",
"customer": {
"name": "Example Customer Limited",
"email": "ap@example-customer.test"
},
"lines": [
{
"name": "Consultancy services",
"quantity": 2,
"price_unit": 95000
}
]
}'{
"note": "Actual response fields must be verified against deployed test instance"
}Retrieve Odoo invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Retrieve invoice status
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/status" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Download invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/download" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Prepare NRS document
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/prepare" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Validate prepared invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/validate" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Sign prepared invoice
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/sign" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}Generate QR
Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.
No request body
curl --request POST "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}/qr" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{API_KEY}}"{
"note": "Actual response fields must be verified against deployed test instance"
}