Skip to content
Profitaa Logo

Profitaa

  • Home
  • FeaturesExpand
    • NRS E-Invoicing Integration
    • Procurement, Multi-Inventory & Stock Control
    • Automated HR & Payroll
    • Simple Accounting Software for Growing Businesses
    • Business Investments & Banking
    • Production Pipeline & Manufacturing
    • Asset & Property Management
    • Easy Project Management & Task Tracking Software
    • For Accountants & Consultants
  • Preview
  • FAQ
  • PricingExpand
    • Basic Plan Pricing for Startups & Entrepreneurs
    • Standard Plan for Expanding Enterprises
    • Compare Pricing Plans; Basic vs Standard vs enterprise
  • LinksExpand
    • Contact Support
    • Publications
    • Enterprise Security, Trust & Data Compliance
    • Privacy Policy
    • Terms of Services
Sign Up
Account Login
Profitaa Logo
Profitaa
SIGN UP
Account Login
View Categories
  • Home
  • Help Topics
  • Integration
  • NRS MBS API Documentation

NRS MBS API Documentation

1 min read

0:00 / 1:32
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

# Profitaa ERP — Federal Inland Revenue Service (FIRS) MBS API Integration

 

Welcome to the Profitaa integration specs. This reference outlines how multi-tenant business nodes programmatically interact with the Merchant Buyer Solution (MBS) core ledger for real-time electronic invoice pre-clearance and cryptographic validation.

 

## 1. Protocol Architecture
– **Transport**: HTTPS POST over TLS 1.3
– **Data Formats**: UBL XML 2.1 / PEPPOL BIS Billing 3.0 (with fallback JSON schema mapping structures)
– **Authentication**: Stateless Tenant Header Injection (`x-api-key`, `x-api-secret`)

 

## 2. Core Operational Endpoints

### Real-Time Invoice Signing & Registration
– **Route**: `POST /api/v1/invoice/sign`
– **Description**: Submits finalized transaction arrays natively to the ledger. This route computes macro monetary total calculations, maps standard HSN tariff matrix filters, validates output tax lines, and permanently saves documents to the merchant account portal view dashboard.

– **Success Status**: `201 Created` / `200 OK`

 

### Stateless dry-run Dry Validation
– **Route**: `POST /api/v1/invoice/validate`
– **Description**: Validates data type arrays, element lengths, and calculation balances statelessly in memory without modifying backend storage histories.

 

### Invoice Lifecycle Amendments (Debit/Credit Notes)
– **Route**: `PATCH /api/v1/invoice/update`
– **Description**: Issues immutable correction adjustments.
– InvoiceTypeCode `381`: Credit Note (Full/Partial reversals referencing original parent IRN codes)
– InvoiceTypeCode `383`: Debit Note (Additional adjustments)

 

## 3. Local Cryptographic Hashing Protocol
To safeguard offline operability and system speed, the platform encodes the verification QR code string values on the fly within the local runtime scope:
1. Concatenates the registered unique `IRN` code with a current UNIX timestamp: `{IRN}.{TIMESTAMP}`
2. Encrypts the raw string package using local RSA-PKCS1 public-key encryption.
3. Base64-encodes the ciphertext output payload. This string variable dynamically populates the high-density print QR code element inside the customer invoice template layouts.

Updated on November 4, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Initiating a Connection HandshakeNRS MBS – Service Level Agreements

Powered by BetterDocs

Profitaa Logo
  • Home
  • Features
  • Preview
  • FAQ
  • Pricing
  • Links

© 2026 Profitaa

Facebook X Instagram TikTok YouTube
Scroll to top
  • Home
  • Features
    • NRS E-Invoicing Integration
    • Procurement, Multi-Inventory & Stock Control
    • Automated HR & Payroll
    • Simple Accounting Software for Growing Businesses
    • Business Investments & Banking
    • Production Pipeline & Manufacturing
    • Asset & Property Management
    • Easy Project Management & Task Tracking Software
    • For Accountants & Consultants
  • Preview
  • FAQ
  • Pricing
    • Basic Plan Pricing for Startups & Entrepreneurs
    • Standard Plan for Expanding Enterprises
    • Compare Pricing Plans; Basic vs Standard vs enterprise
  • Links
    • Contact Support
    • Publications
    • Enterprise Security, Trust & Data Compliance
    • Privacy Policy
    • Terms of Services