Skip to Content

API 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.

POST

Validate IRN

/api/v1/nrs/irn/validate
Request body
{
  "irn": "INV202600001-{{SERVICE_ID}}-20261030",
  "business_id": "{{BUSINESS_ID}}"
}
Complete cURL request
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}}"
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
POST

Validate Invoice Schema

/api/v1/nrs/validate
Request body
{
  "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
  }
}
Complete cURL request
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
  }
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
POST

Sign Invoice

/api/v1/nrs/sign
Request body
{
  "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
  }
}
Complete cURL request
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
  }
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
POST

Sign and Transmit Invoice

/api/v1/nrs/sign-transmit
Request body
{
  "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
  }
}
Complete cURL request
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
  }
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
GET

Transmit Invoice

/api/v1/nrs/transmit/{{IRN}}
Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
GET

Get Each Invoice (Basic)

/api/v1/nrs/{{IRN}}/simple
Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
GET

Get Each Invoice (Advanced)

/api/v1/nrs/{{IRN}}
Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
GET

Lookup IRN (Get APP Status)

/api/v1/nrs/lookup/{{IRN}}
Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
POST

Create QR Code

/api/v1/nrs/qr-code/create
Request body
{
  "irn": "INV202600001-{{SERVICE_ID}}-20261030",
  "public_key": "{{PUBLIC_KEY}}",
  "certificate": "{{CERTIFICATE}}"
}
Complete cURL request
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}}"
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
POST

Validate QR Code

/api/v1/nrs/qr-code/validate
Request body
{
  "code": "{{QR_CODE_DATA}}"
}
Complete cURL request
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}}"
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
POST

Get Business Information

/api/v1/nrs/business/lookup
Request body
{
  "tin": "{{CUSTOMER_TIN}}"
}
Complete cURL request
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}}"
}'
Response example / verification
{
  "status": "example_only",
  "message": "Response structure to be confirmed by Mattobell sandbox testing",
  "data": {
    "irn": "INV202600001-{{SERVICE_ID}}-20261030"
  }
}
GET

Get Invoice Types

/api/v1/nrs/resources/invoices-types
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)

    200
    
        
            380
            Credit Note
        
        
            381
            Commercial Invoice
        
        
            384
            Debit Note
        
        
            385
            Self Billed Invoice
        
        
            386
            Factored Invoice
        
        
            388
            Statement of Account
        
        
            389
            Purchase Order
        
        
            390
            Proforma Invoice
        
        
            392
            Consignment Invoice
        
        
            393
            Self-billed Credit Note
        
        
            394
            Self-billed Invoice
        
        
            395
            Credit Note Request
        
        
            396
            Invoice Request
        
        
            397
            Final Settlement
        
        
            399
            Bill of Lading
        
        
            400
            Waybill
        
        
            402
            Shipping Instructions
        
        
            404
            Certificate of Origin
        
        
            406
            Customs Declaration
        
        
            408
            Packing List
        
    
GET

Get Payment Means

/api/v1/nrs/resources/payment-means
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)

    200
    
        
            10
            Cash
        
        
            20
            Cheque
        
        
            30
            Credit Transfer
        
        
            31
            Debit Transfer
        
        
            42
            ACH Credit
        
        
            43
            ACH Debit
        
        
            48
            Bank Card
        
        
            49
            Direct Debit
        
        
            50
            Credit Card
        
        
            58
            Banker's Draft
        
        
            97
            Other
        
        
            ZZZ
            Mutually Defined
        
    
GET

Get Tax Categories

/api/v1/nrs/resources/tax-categories
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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

Get All Services

/api/v1/nrs/resources/services
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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

Get All Products

/api/v1/nrs/resources/products
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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

Get All States

/api/v1/nrs/resources/states
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "code": 200,
  "data": [
    {
      "name": "Abia",
      "code": "NG-AB"
    },
    {
      "name": "Adamawa",
      "code": "NG-AD"
    }
  ],
  "sample_note": "Illustrative excerpt: additional records omitted."
}
GET

Get All Local Governments

/api/v1/nrs/resources/lgas
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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

Get All Units of Measurements

/api/v1/nrs/resources/units-of-measurement
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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

Get Currencies

/api/v1/nrs/resources/currencies
Request body — none (GET)
No JSON body is required. Supply the resource path and Accept header as shown in the cURL request.
Complete 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}}"
Response example / verification
{
  "status": "example_only",
  "message": "Response structure pending sandbox verification"
}
Example response (reference format)
{
  "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."
}
POST

Create Odoo draft invoice

/api/v1/invoices

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
{
  "external_reference": "EXT-2026-001",
  "customer": {
    "name": "Example Customer Limited",
    "email": "ap@example-customer.test"
  },
  "lines": [
    {
      "name": "Consultancy services",
      "quantity": 2,
      "price_unit": 95000
    }
  ]
}
Complete cURL request
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
    }
  ]
}'
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
GET

Retrieve Odoo invoice

/api/v1/invoices/{{INVOICE_ID}}

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
curl --request GET "{{BASE_URL}}/api/v1/invoices/{{INVOICE_ID}}" \
  --header "Accept: application/json" \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer {{API_KEY}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
GET

Retrieve invoice status

/api/v1/invoices/{{INVOICE_ID}}/status

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
GET

Download invoice

/api/v1/invoices/{{INVOICE_ID}}/download

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
POST

Prepare NRS document

/api/v1/invoices/{{INVOICE_ID}}/prepare

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
POST

Validate prepared invoice

/api/v1/invoices/{{INVOICE_ID}}/validate

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
POST

Sign prepared invoice

/api/v1/invoices/{{INVOICE_ID}}/sign

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
POST

Generate QR

/api/v1/invoices/{{INVOICE_ID}}/qr

Route exists in supplied Odoo 18 controller. Live deployment and end-to-end response are not verified.

Request body
No request body
Complete cURL request
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}}"
Response example / verification
{
  "note": "Actual response fields must be verified against deployed test instance"
}
Official NRS documentation: Invoice Schema · Generate IRN. These official pages are JavaScript-rendered and their full current field specifications could not be independently extracted in this review.