FBR Integration Extension for Manager.io

We are pleased to introduce a new version extension for Manager.io, designed to help users in Pakistan seamlessly integrate with the FBR (Federal Board of Revenue) Digital Invoicing system.

This extension is a rewrite of the previous FBR Extension, with many adjustments and improvements inside.

Key Features

  • Send invoices directly to FBR from Manager.io without extra steps
  • Works with both Sandbox and Production environments
  • Automatic generation of required custom fields during setup
  • Built-in QR code generator for tax compliance
  • Real-time validation with clear error handling so you know what went wrong

Extras

  • A dedicated theme based on the default Manager template, customized and fine-tuned for FBR integration

:link: Extension URL: https://fbr-extension.azurewebsites.net



Feel free to test this extension in your own setup.
Suggestions, feedback, or improvement ideas are always welcome! :rocket:


3 Likes

@Mabaega Very nice. , :+1:

Thank You.:+1:

@Mabaega after updating with new extension,
Graphic became more appealing and color full got the Dark mode also, appreciated.
but in Business Details we don’t see Bearer Token.
when we start


this window help us to enter Bearer Token and we can post Invoices in Sandbox Environment. when we clear our all Scenario we get Production Environment Code through this we can post real time invoice to FBR.
How we can update this New Token in system, are we skipping any step…

The Bearer Token is securely stored within the Business Detail, but it will remain hidden from the user since no actual Custom Field is created.

To switch from Sandbox Mode to Production, you only need to register using your real business data.

If needed, you can also re-register by resetting the Business Detail data.
When submitting an invoice, the system will automatically redirect you to the Integration Setup.

1 Like

Hello,

I am facing this error;

Unauthorized access: Provided seller registration
number is not 13 digits (CNIC) or 7 digits (NTN) or the
authorized token does not exist against seller
registration number

Kindly please let me know where I am being error, my company NTN no is correct.

@Mabaega

Is it possible to convert No. of pieces to KGs in sales invoice depending on weight factor per piece.

@Imran2 i think it is important to generate the FBR Invoice as per GD. other then that in your system you can do this.

Ok sir thank you.

Dear Support Team,
I am facing this issue. Anyboday can help me?
@Mabaega

@Zeeshan_Khalid Welcome to Manager Family.
Are you getting the same message even after trying multiple times?
Works fine at my hand.

Syed_Salman_Ali yes i am getting same after multiple times.
Can you please send leave your contact number so i can get your precious help/guidence from you.

{
“success”: false,
“data”: {
“dated”: “2025-09-20 15:38:19”,
“validationResponse”: {
“statusCode”: “01”,
“status”: “Invalid”,
“error”: “”,
“invoiceStatuses”: [
{
“itemSNo”: “1”,
“statusCode”: “01”,
“status”: “Invalid”,
“errorCode”: “0013”,
“error”: “Sale type is provided. Please refer to relevant reference API in the technical document for DI API for valid sale types.”
}
]
}
},
“message”: “Validation failed, please review the server response for details”
}
I am facing the issue any body know ?

@Zeeshan_Khalid Hopefully, the rest of your scenarios will have been completed and you will only see this one problem. which Scenario are you trying to clear..?

I accidentally missed the part where it was required to click on “Generate Custom Fields“ to generate fields in DB.
now i don’t know how to go back, there no option to do that now, i deleted extension and installed again, but I am getting same issue.

now I see option for “Validate” that is not successful because data is not formatted correctly , how can I go back and add custom fields

@Mabaega Can you please guide me on

“If needed, you can also re-register by resetting the Business Detail data.”

how to reset it? i dont see any option

now delete this :point_down: (make it empty)
image
then generate new invoice. your required window will popup.

Go to Settings - Business Details
Click Reset Button.

2 Likes

thankyou, i was looking reset option in extension and invoice, I got it now

I am facing failed validation due to HS code, HS code is mentioned but its not transmitted, it also shows empty under “einvoice”

response is
“errorCode”: “0044”, “error”: “HS Code cannot be empty. Please refer to relevant reference API in the technical document for DI API for valid HS Code”

But HS code is mentioned inside newly created HScode field, i can see HS code in “invoice” tab under strings, but its empty in “einvoice”

Sandbox enviroment

Update: Got it
HScode is not working if directly put into sales invoice, it is working when i use in inventory item directly. it need update I think.

@Syed_Salman_Ali @Mabaega

i got all other issues solved, now i am getting this

"error": "Sale type not match with provided scenario No. SN003",

I dont understand, Sales type is “Sales invoice” , Unreg, CNIC mentioned. there is not enough details in error to understand

@Mian_Waqas_Azfar
this is SN003 parameters, check which one is you are missing.

  "hsCode": "7214.1010",
  "productDescription": "",
  "rate": "18%",
  "uoM": "MT",
  "quantity": 1,
  "totalValues": 0,
  "valueSalesExcludingST": 205000.0,
  "fixedNotifiedValueOrRetailPrice": 0.0,
  "salesTaxApplicable": 36900,
  "salesTaxWithheldAtSource": 0,
  "extraTax": 0,
  "furtherTax": 0,
  "sroScheduleNo": "",
  "fedPayable": 0,
  "discount": 0,
  "saleType": "Steel melting and re-rolling",
  "sroItemSerialNo": ""

this is the minimum fixed value , don’t low the amount.

"valueSalesExcludingST": 205000.0,