FBR DI Integration Extension for Manager.io

Digital Invoicing Technical Assistance - Federal Board Of Revenue Government Of Pakistan

ā€˜items’: [

    {

        "hsCode": "0102.2930",

        "productDescription": "product Description41",

        "rate": "0%",

        "uoM": "Numbers, pieces, units",

        "quantity": 1.0,

        "totalValues": 1000.00,

        "valueSalesExcludingST": 1000.00,

        "fixedNotifiedValueOrRetailPrice": 0.00,

        "salesTaxApplicable": 0,

        "salesTaxWithheldAtSource": 0,

        "extraTax": "",

        "furtherTax": 0,

        "sroScheduleNo": "SIXTH SCHEDULE Table 1",

        "fedPayable": 0,

        "discount": 0,

        "saleType": "Exempt Goods",

        "sroItemSerialNo": "1"

    }

\]

there is an issue when going for SN006, the item payload saleType should be Exempt Goods although i’m getting error related to it

ā€œstatusā€:ā€œInvalidā€,ā€œerrorCodeā€:ā€œ0007ā€,ā€œerrorā€:ā€œProvided sale type is not valid. Please refer to relevant
reference API in the technical document for DI API for valid sale types.ā€

SN006 :backhand_index_pointing_down:

  "invoiceType": "Sale Invoice",
  "invoiceDate": "2025-07-01",
  "sellerBusinessName": "Company 8",
  "sellerNTNCNIC": "8885801",
  "sellerProvince": "Sindh",
  "sellerAddress": "Karachi",
  "buyerNTNCNIC": "2046004",
  "buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
  "buyerProvince": "Sindh",
  "buyerAddress": "Karachi",
  "invoiceRefNo": "SI-20250515-001",
  "scenarioId": "SN006",
  "buyerRegistrationType": "Registered",
  "items": [
    {
      "hsCode": "0102.2930",
      "productDescription": "product Description41",
      "rate": "Exempt",
      "uoM": "Numbers, pieces, units",
      "quantity": 1.0,
      "totalValues": 0.00,
      "valueSalesExcludingST": 10,
      "fixedNotifiedValueOrRetailPrice": 0.00,
      "salesTaxApplicable": 0,
      "salesTaxWithheldAtSource": 50.23,
      "extraTax": "",
      "furtherTax": 120.00,
      "sroScheduleNo": "6th Schd Table I",
      "fedPayable": 50.36,
      "discount": 56.36,
      "saleType": "Exempt goods",
      "sroItemSerialNo": "100"

Thanks sir

AOA

SIR

I am facing this error;

{
ā€œsuccessā€: false,
ā€œdataā€: {
ā€œinvoiceKeyā€: ā€œ39a49e08-193f-4233-9bd0-211483031ef8ā€,
ā€œpralServerResponseā€: {
ā€œdatedā€: ā€œ2025-12-30 16:42:51ā€,
ā€œvalidationResponseā€: {
ā€œstatusCodeā€: ā€œ01ā€,
ā€œstatusā€: ā€œInvalidā€,
ā€œerrorCodeā€: ā€œ0052ā€,
ā€œerrorā€: ā€œHS Code does not match with provided sale type. Please refer to relevant reference API in the technical document for DI API for valid HS Code against sale type.ā€,
ā€œinvoiceStatusesā€: null
}
}
},
ā€œmessageā€: ā€œValidation failed, please review the server response for detailsā€
}

Error message is clear HS Code is not matching with the selected Scenario are you using Manager.io…?

Dear Sir Syed Salman Ali,

Assalam-o-Alaikum.

Yes Sir, I am currently using Manager.io for FBR digital invoicing. I have resolved the HS Code issue, and now my invoice is successfully appearing on the FBR portal Sandbox environment.

I would like to clarify a few points and request your guidance:

Sandbox Processing Time completed the sandbox configuration in Manager.io and submitted the invoice. However, the invoice appeared on the FBR sandbox portal after approximately 5 to 6 hours.Kindly confirm whether this delay is normal in the sandbox environment, or if invoices are usually processed instantly. I would like to understand whether sandbox operates on a delayed sync or batch process.

Moving from Sandbox to Production EnvironmentAt the moment, my Manager IO extension is configured for the sandbox environment only, and invoices are visible there successfully.Please guide me on the complete process to move from sandbox to production, including:

Required configuration changes in Manager IO

Any approvals or steps needed on the FBR portal

QR Code & Production InvoicesThe invoice generated from Manager IO already contains a QR Code.Kindly confirm how this same setup (QR-enabled invoice) will work once shifted to the production environment.

Production Security Token IssueCurrently, on the FBR portal Production Environment, the Security Token is showing as ā€œN/Aā€ and has not yet been issued.Please guide me on:

How and when the production security token is generated

Any prerequisites or actions required from my side to obtain it

I would appreciate your step-by-step guidance on what actions are required next so that I can successfully start live production invoicing.

Looking forward to your support.

Best regards,

Zubairullah Farooqui

@Zubairullah_Farooqui my apologies for late reply, yes you have to clear all Scenario, when all scenario clear you will see the Production Token on portal,

Yes it is normal. (Depending on working days)

Jazzak Allah for the confirmation Sir.

Error
ā€œdatedā€: ā€œ2026-01-01 19:34:13ā€,

"validationResponse": {

    "statusCode": "01",

    "status": "Invalid",

    "error": "",

    "invoiceStatuses": \[

        {

            "itemSNo": "1",

            "statusCode": "01",

            "status": "Invalid",

            "invoiceNo": **null**,

            "errorCode": "0078",

            "error": "Valid Item Sr. No. is mandatory where SRO/Schedule No. is provided. Please refer to relevant reference API in the technical document for DI API for valid Item Sr. No. for the provided SRO/Schedule No."

        }

    \]

}

}

How to get sroItemSerialNo

@Syed_Salman_Ali Dear Sir,

Dear Sir @Syed_Salman_Ali,
Nowadays, the FBR Digital Invoicing server is not working properly; sandbox testing for new clients is not functioning. is it true.

@Umar_Farooq_Ansari no brother not true.
Friday half day, Saturday and Sunday Sandbox don’t reply normal. That’s the point.

@Arshad_Mohsin_Zaman please describe your requirement in detail.

@Arshad_Mohsin_Zaman which Scenario you are trying to clear.

Dear Sir, @Syed_Salman_Ali

For registering a new client on the FBR Digital Invoicing system, kindly advise which IP address is preferred to be entered for whitelisting.

For example, is it better to provide the server/hosting public IP address, or should a local IP address (e.g., 192.168.1.1) be listed?
Currently, I am facing issues while whitelisting the IP address, so your guidance in this matter would be appreciated. and we can use same IP address if whitelisted for another client

Thank you for your support.

Best regards,
Umar Farooq Ansari

Thank You Sir @Syed_Salman_Ali

kindly share any fbr helpline number or official email address for support related to sandbox or production access, particularly for IP address whitelisting or related technical queries.

Thank you for your support.

Hello @Umar_Farooq_Ansari, unfortunately it’s not Manager that is whitelisting IPs.

In this case, the FPR should give instructions on how you can get them to whitelist your IP.

@Umar_Farooq_Ansari please follow the link for IP Address. :backhand_index_pointing_down:

Hello, is it possible for that this extension is used for FBR POS and PRA POS for restaurants?