How to clear FBR Digital Invoice Scenario Testing: A Step-by-Step Guide for Users, Developers, and Accountants.

To initiate this vital testing phase, you must first navigate to the Technical Detail section within the FBR portal’s API Integration settings. At this point, it is crucial to provide accurate and verifiable information about your digital invoicing solution, as FBR uses this data to validate system compatibility. As part of this process, you’ll then be required to submit key software details. Specifically, this includes the ERP Software Provider (for example, Eyecon Consultant), the Software Name (such as APEX), and finally, its version number.
Moreover, ensuring the correctness of these entries is essential, as FBR uses them to match your organization’s system against its regulatory framework. In addition, clearly stating your ERP provider enhances transparency and supports a smoother onboarding process. Consequently, by supplying precise and trustworthy information at this stage, you increase the likelihood of successful API approval—thereby laying a solid foundation for compliant, real-time e-invoicing operations in the production environment.
The Importance of DI Scenario Testing
Your Mandatory Step for FBR Production Token and Go-Live
A critical part of this FBR e-invoicing setup involves accurately selecting your Business Nature (e.g., Manufacturer, Importer, Exporter, Distributor, Wholesaler) and relevant Sector (e.g., Mobile, Pharmaceuticals, Automobile, Textile). Based on these selections, the ‘Sandbox Environment’ tab then generates a unique FBR sandbox token along with a set of eligible tax scenarios – typically ranging from 9 to 12 or more.
To proceed further and obtain your FBR production token and go live, you must successfully clear all the assigned sandbox testing scenarios. This guide ensures you follow each step correctly, making your FBR e-invoicing solution robust, compliant, and fully ready for real-time invoice submission in the production environment.

Pre-Requisites & Setup:
Preparing for FBR Digital Invoice Scenario Testing
Before you can dive into FBR Digital Invoice scenario testing, you must first make sure that several key components are properly in place. To begin with, ensure that all required configurations are correctly set up. Additionally, verify that your system is fully prepared for integration. With that in mind, here are the essential elements you need to have ready:
- FBR Registration & Licensed Integrator:
To begin the initial registration process on the IRIS portal, you’ll need the expertise of a licensed integrator or a specialized digital invoicing software company. They will guide you through the necessary steps to set up your account for e-invoicing.
- Static IP Whitelisting for API Access:
A static IP address from your Internet Service Provider (e.g., PTCL, Storm Fiber, Trans world, Fiber link) is mandatory. This static IP must be whitelisted by FBR/PRAL. This crucial step ensures secure and authorized API access for your FBR e-invoicing solution.
- Accessing Sandbox Token and Eligible Scenarios:
Obtain the Sandbox API URL from the technical documentation provided by FBR. Your security token will typically be available within the IRIS portal under the Sandbox Environment section.
Developer Tip: When making API calls, first use this sandbox token as an authorization header in the format
Bearer [token]
. Then, this field must be dynamic, since it will be replaced with your FBR production token once you successfully clear all eligible scenarios and go live.
- Sample Sales Tax Invoice Data for Eligible Scenarios:
You will require diverse sample sales tax invoice data that aligns with the eligible scenarios provided by FBR. This includes various invoice types such as:
- Goods at Standard Rate (to Registered Buyers)
- Reduced Rate Sales
- Exempt Goods Sales
- …and others, each with their associated SRO (Statutory Regulatory Order) details, tax percentages, and serial numbers.
Accountant and Consultant Tips: To begin with, to facilitate your testing, we will provide sample data in JSON format for all required scenarios in the following sections.
FBR Digital Invoice Scenario Data ( JSON Examples )
Select the required data from the list below, and then post it using the software or Postman to ensure successful execution of all test scenarios.
Instructions:
To begin with, replace placeholder values like
YOUR_NTN
,YOUR_BUSINESS_NAME
,YOUR_PROVINCE
, andYOUR_ADDRESS
with your actual company’s details.In addition, ensure
invoiceDate
is a current or recent date inYYYY-MM-DD
format to avoid validation issues.Furthermore, use a unique
invoiceRefNo
for each test submission to prevent duplication.Lastly, for
buyer NTN/CNIC
, either use a valid test NTN/CNIC provided by the customer for sandbox testing, or alternatively, use a dummy one that FBR’s sandbox accepts.
This applies to the sale of goods subject to the standard sales tax rate made to sales tax registered
buyers. These buyers can usually claim input tax credits, allowing them to offset the tax paid on
purchases against the tax due on their own sales.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-10",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerNTNCNIC": "8885801",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "2046004",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN001",
"buyerRegistrationType": "Registered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 400,
"totalValues": 0,
"valueSalesExcludingST": 1000,
"fixedNotifiedValueOrRetailPrice": 0.0,
"salesTaxApplicable": 180,
"salesTaxWithheldAtSource": 0,
"extraTax": "",
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Goods at standard rate (default)",
"sroItemSerialNo": ""
}
]
}
When goods subject to the standard sales tax rate are sold to buyers who are not registered for sales tax
(usually individual consumers or small businesses not registered for tax) the seller charges the full sales
tax. Since the buyer is unregistered, they cannot claim input tax credits. This is often a business-to consumer (B2C) sale.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-10",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerNTNCNIC": "8885801",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1234567",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN002",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 400,
"totalValues": 0,
"valueSalesExcludingST": 1000,
"fixedNotifiedValueOrRetailPrice": 0.0,
"salesTaxApplicable": 180,
"salesTaxWithheldAtSource": 0,
"extraTax": "",
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Goods at standard rate (default)",
"sroItemSerialNo": ""
}
]
}
The steel sector is governed by strict traceability and sector-specific rules. These goods are commonly
traded by re-rollers and manufacturers. Tax authorities often regulate their tax treatment distinctly,
sometimes applying specific tax rates or requiring compliance with additional notifications or schedules
(like an SRO).
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerBusinessName": "Company 7",
"sellerNTNCNIC": "8885801",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "3710505701479",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"sellerAddress": "Karachi",
"invoiceRefNo": "0",
"scenarioId": "SN003",
"buyerRegistrationType": "Unregistered",
"items": [
{
"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": ""
}
]
}
Ship breakers dismantle old ships and recover scrap steel, which they then sell. This scrap steel is often
treated separately for tax purposes, recognizing the different industry context. Special rates or
exemptions might apply, and tax compliance is tailored to the ship-breaking sector.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-26",
"sellerNTNCNIC": "4130276175937",
"sellerBusinessName": "Company 8",
"sellerAddress": "Karachi",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "3710505701479",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250421-001",
"scenarioId": "SN004",
"items": [
{
"hsCode": "7204.1010",
"productDescription": "",
"rate": "18%",
"uoM": "MT",
"quantity": 1,
"totalValues": 0,
"valueSalesExcludingST": 175000,
"salesTaxApplicable": 31500,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Ship breaking",
"sroItemSerialNo": ""
}
]
}
Certain goods are taxed at a reduced sales tax rate (lower than the standard rate) to encourage
affordability or protect consumers. The Eighth Schedule lists these goods commonly basic food items,
medicines, or essential commodities.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-06-30",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "B2",
"sellerAddress": "Karachi",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN005",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0102.2930",
"productDescription": "product Description41",
"rate": "1%",
"uoM": "Numbers, pieces, units",
"quantity": 1.0,
"totalValues": 0.00,
"valueSalesExcludingST": 1000.00,
"fixedNotifiedValueOrRetailPrice": 0.00,
"salesTaxApplicable": 10,
"salesTaxWithheldAtSource": 50.23,
"extraTax": "",
"furtherTax": 120.00,
"sroScheduleNo": "EIGHTH SCHEDULE Table 1",
"fedPayable": 50.36,
"discount": 56.36,
"saleType": "Goods at Reduced Rate",
"sroItemSerialNo": "82"
}
]
}
Goods listed in the Sixth Schedule are exempt from sales tax, meaning sellers do not charge sales tax on
these goods. This exemption is usually to reduce the tax burden on essential or socially important items,
such as certain agricultural products, medicines, or basic necessities.
{
"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"
}
]
}
Zero-rated goods are those on which sales tax is charged at 0%. While the seller does not charge sales tax
to the buyer, the seller can claim input tax credits on purchases related to these goods. This is often
applied to exported goods or specific industries to promote exports and reduce tax layering.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerBusinessName": "Company 7",
"sellerNTNCNIC": "8885801",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "3710505701479",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"sellerAddress": "Karachi",
"scenarioId": "SN007",
"buyerRegistrationType": "Unregistered",
"invoiceRefNo": "0",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "0%",
"uoM": "Numbers, pieces, units",
"quantity": 100,
"totalValues": 0,
"valueSalesExcludingST": 100,
"salesTaxApplicable": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "327(I)/2008",
"fixedNotifiedValueOrRetailPrice": 0.00,
"fedPayable": 0,
"discount": 0,
"saleType": "Goods at zero-rate",
"sroItemSerialNo": "1"
}
]
}
Items listed under the Third Schedule are subject to sales tax on the basis of their printed retail price
rather than the transaction value. In such cases, manufacturers or importers are responsible for paying
sales tax at the point of production or import, not at the point of sale.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 7",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "3710505701479",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"sellerAddress": "Karachi",
"invoiceRefNo": "0",
"scenarioId": "SN008",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 100,
"totalValues": 145,
"valueSalesExcludingST": 0,
"fixedNotifiedValueOrRetailPrice": 1000,
"salesTaxApplicable": 180,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "3rd Schedule Goods",
"sroItemSerialNo": ""
}
]
}
Purchases from registered cotton ginners, subject to specific rules under cotton trade taxation. May
involve reverse charge or input tax mechanisms.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "2046004",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN009",
"buyerRegistrationType": "Registered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 0,
"totalValues": 2500,
"valueSalesExcludingST": 2500,
"fixedNotifiedValueOrRetailPrice": 0.00,
"salesTaxApplicable": 450,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Cotton ginners",
"sroItemSerialNo": ""
}
]
}
Mobile operators provide telecom services (calls, data, SMS). These services are typically taxed under
specific rules separate from goods, sometimes including additional regulatory fees. Invoices must account for both FED and GST, possibly varying by province.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerBusinessName": "Company 8",
"sellerNTNCNIC": "8885801",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250515-001",
"scenarioId": "SN010",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "17%",
"uoM": "Numbers, pieces, units",
"quantity": 1000,
"totalValues": 0,
"valueSalesExcludingST": 100,
"fixedNotifiedValueOrRetailPrice": 0.00,
"salesTaxApplicable": 17,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Telecommunication services",
"sroItemSerialNo": ""
}
]
}
Toll manufacturing involves a third-party processing raw steel into finished billets, ingots, or long bars on
behalf of another business. The processor issues an invoice for conversion charges (service), while the
principal may generate a separate invoice for the actual product sale. The sales tax treatment can differ
because ownership and processing roles are split.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-26",
"sellerNTNCNIC": "4130276175937",
"sellerBusinessName": "Company 8",
"sellerAddress": "Karachi",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "3710505701479",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"dataSource": "",
"scenarioId": "SN011",
"items": [
{
"hsCode": "7214.9990",
"productDescription": "",
"rate": "18%",
"uoM": "MT",
"quantity": 1,
"totalValues": 205000,
"valueSalesExcludingST": 205000,
"salesTaxApplicable": 36900,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Toll Manufacturing",
"sroItemSerialNo": ""
}
]
}
Petroleum products like petrol, diesel, or lubricants often have distinct sales tax rates or are subject to
federal excise duties due to their economic and environmental importance. These products may also
have multiple layers of tax or additional regulatory levies.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250515-001",
"scenarioId": "SN012",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "1.43%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"totalValues": 132,
"valueSalesExcludingST": 100,
"fixedNotifiedValueOrRetailPrice": 0.00,
"salesTaxApplicable": 1.43,
"salesTaxWithheldAtSource": 2,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "1450(I)/2021",
"fedPayable": 0,
"discount": 0,
"saleType": "Petroleum Products",
"sroItemSerialNo": "4"
}
]
}
Selling electricity to retailers who distribute to end consumers can have unique tax implications. Sales tax
or federal excise duty might be applied differently depending on whether the electricity is sold wholesale
or retail, with some exemptions for consumers.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250515-001",
"scenarioId": "SN013",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "5%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"totalValues": 212,
"valueSalesExcludingST": 1000,
"fixedNotifiedValueOrRetailPrice": 0.00,
"salesTaxApplicable": 50,
"salesTaxWithheldAtSource": 11,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "1450(I)/2021",
"fedPayable": 0,
"discount": 0,
"saleType": "Electricity Supply to Retailers",
"sroItemSerialNo": "4"
}
]
}
Natural gas sold to CNG (Compressed Natural Gas) filling stations may have special tax treatment to
promote cleaner fuels or regulate the energy sector. The tax rate and compliance requirements can differ
from other gas sales.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250515-001",
"scenarioId": "SN014",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"totalValues": 0,
"valueSalesExcludingST": 1000,
"salesTaxApplicable": 180,
"salesTaxWithheldAtSource": 0,
"fixedNotifiedValueOrRetailPrice": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Gas to CNG stations",
"sroItemSerialNo": ""
}
]
}
Sales of mobile handsets often attract standard sales tax but might be subject to additional duties or
regulatory charges, especially given the value of these goods. Governments sometimes adjust tax rates
on mobile phones to encourage or discourage imports.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-15",
"sellerBusinessName": "Company 8",
"sellerNTNCNIC": "8885801",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250515-001",
"scenarioId": "SN015",
"buyerRegistrationType": "Unregistered",
"additional1": "",
"additional2": "",
"additional3": "",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"totalValues": 0,
"valueSalesExcludingST": 1234,
"salesTaxApplicable": 222.12,
"salesTaxWithheldAtSource": 0,
"fixedNotifiedValueOrRetailPrice": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "NINTH SCHEDULE",
"fedPayable": 0,
"discount": 0,
"saleType": "Mobile Phones",
"sroItemSerialNo": "1(A)"
}
]
}
This refers to services where raw materials or semi-finished goods are converted into finished products
through manufacturing or processing. It involves charging for the value-added process (like dyeing,
packaging, machining), not the goods themselves. Sales tax on such services can differ from that on goods sales.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-16",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000078",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN016",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "5%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"totalValues": 0,
"valueSalesExcludingST": 100,
"salesTaxApplicable": 5,
"salesTaxWithheldAtSource": 0,
"fixedNotifiedValueOrRetailPrice": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Processing/Conversion of Goods",
"sroItemSerialNo": ""
}
]
}
Federal Excise Duty (FED) may be charged alongside sales tax, but in some cases, FED is collected
through the sales tax system (“ST mode”). This means the seller includes FED in the sales tax invoice,
streamlining collection.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-10",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "7000009",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"scenarioId": "SN017",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "8%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"valueSalesExcludingST": 100,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxApplicable": 8,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Goods (FED in ST Mode)",
"sroScheduleNo": "",
"sroItemSerialNo": ""
}
]
}
Certain services (e.g., advertisement, franchise, insurance) are liable to FED but invoiced under the sales
tax framework. This allows FBR to monitor service sector revenue streams without requiring separate
returns for FED and sales tax.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-06-14",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000056",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250421-001",
"scenarioId": "SN018",
"buyerRegistrationType": "Unregistered",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "8%",
"uoM": "Numbers, pieces, units",
"quantity": 20,
"totalValues": 0,
"valueSalesExcludingST": 1000,
"salesTaxApplicable": 80,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"saleType": "Services (FED in ST Mode)",
"sroItemSerialNo": ""
}
]
}
Businesses providing services such as consultancy, software development, and IT solutions in ICT are
taxed under a distinct ordinance. This can include variations in rates or exemptions.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250421-001",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN019",
"items": [
{
"hsCode": "0101.2900",
"productDescription": "TEST",
"rate": "5%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"totalValues": 0,
"valueSalesExcludingST": 100,
"salesTaxApplicable": 5,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "ICTO TABLE I",
"fedPayable": 0,
"discount": 0,
"saleType": "Services",
"sroItemSerialNo": "1(ii)(ii)(a)"
}
]
}
Electric vehicles may be incentivized through reduced sales tax rates or exemptions to encourage
environmentally friendly transportation. Invoices must categorize these vehicles distinctly (not as hybrids
or combustion), and declare engine/battery specs to validate tax benefits.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN020",
"invoiceRefNo": "SI-20250421-001",
"items": [
{
"hsCode": "0101.2900",
"productDescription": "TEST",
"rate": "1%",
"uoM": "Numbers, pieces, units",
"quantity": 122,
"totalValues": 0,
"valueSalesExcludingST": 1000,
"salesTaxApplicable": 10,
"salesTaxWithheldAtSource": 0,
"fixedNotifiedValueOrRetailPrice": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "6th Schd Table III",
"fedPayable": 0,
"discount": 0,
"saleType": "Electric Vehicle",
"sroItemSerialNo": "20"
}
]
}
Cement and concrete blocks are taxed at the standard rate and are subject to strict regulation due to
their environmental impact and role in construction. These products are also subject to input-output
ratios tracking due construction regulations.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "SI-20250421-001",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN021",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "Rs.3 per unit",
"uoM": "Numbers, pieces, units",
"quantity": 12,
"valueSalesExcludingST": 123,
"salesTaxApplicable": 36,
"fixedNotifiedValueOrRetailPrice": 3,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Cement /Concrete Block",
"sroItemSerialNo": ""
}
]
}
Potassium chlorate is a sensitive chemical used primarily in matchstick manufacturing and regulated
under special rules. It is subject to fixed tax per kilogram (weight) rather than value.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN022",
"invoiceRefNo": "SI-20250421-001",
"items": [
{
"hsCode": "3104.2000",
"productDescription": "TEST",
"rate": "18% + Rs.60/kg",
"uoM": "KG",
"quantity": 1,
"valueSalesExcludingST": 100,
"fixedNotifiedValueOrRetailPrice": 60,
"salesTaxApplicable": 78,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "EIGHTH SCHEDULE Table 1",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Potassium Chlorate",
"sroItemSerialNo": "56"
}
]
}
Sales of Compressed Natural Gas involve regulated pricing structures and specific tax treatments that
may include both FED and sales tax. CNG stations must issue invoices for every sale, indicating the
volume sold, tax applied, and billing rates. These transactions are generally high-frequency and often
managed via automated dispensing and billing systems.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN023",
"invoiceRefNo": "SI-20250421-001",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "Rs.200/unit",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"valueSalesExcludingST": 234,
"fixedNotifiedValueOrRetailPrice": 200,
"salesTaxApplicable": 24600,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "581(1)/2024",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "CNG Sales",
"sroItemSerialNo": "Region-I"
}
]
}
This SRO notifies specific goods subject to reduced, conditional, or fixed-rate taxation. These may include
solar equipment, medical devices, or energy-efficient appliances may include solar equipment, medical
devices, or energy-efficient appliances. Businesses dealing in such goods must identify the correct serial
numbers and apply appropriate tax treatments in their invoices.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-04-21",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Unregistered",
"scenarioId": "SN024",
"invoiceRefNo": "SI-20250421-001",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "25%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"valueSalesExcludingST": 1000,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxApplicable": 250,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "297(I)/2023-Table-I",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Goods as per SRO.297(I)/2023",
"sroItemSerialNo": "12"
}
]
}
Certain pharmaceutical products are taxed at a fixed sales tax rate under serial 81 of the Eighth Schedule.
These rates are often lower to make medicines affordable, and the fixed rate means the tax is a set amount or percentage regardless of price variations.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-16",
"sellerNTNCNIC": "8885801",
"sellerBusinessName": "Company 8",
"sellerAddress": "Karachi",
"sellerProvince": "Sindh",
"buyerNTNCNIC": "1000000000078",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Unregistered",
"invoiceRefNo": "",
"scenarioId": "SN025",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "0%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"valueSalesExcludingST": 100,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxApplicable": 0,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "EIGHTH SCHEDULE Table 1",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Non-Adjustable Supplies",
"sroItemSerialNo": "81"
}
]
}
Retailers selling taxable goods directly to end consumers must apply the standard rate of sales tax at the
point of sale. These transactions are typically conducted through Point-of-Sale (POS) systems integrated
with FBR’s IRIS platform. Since consumers are typically unregistered, retailers collect the tax without input
tax credit implications.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-16",
"sellerNTNCNIC": "7000008",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000078",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Registered",
"scenarioId": "SN026",
"invoiceRefNo": "SI-20250421-001",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 123,
"valueSalesExcludingST": 1000,
"fixedNotifiedValueOrRetailPrice": 0,
"salesTaxApplicable": 180,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "Goods at standard rate (default)",
"sroItemSerialNo": ""
}
]
}
Retailers selling goods under the 3rd Schedule, such as branded FMCGs, must charge and report sales
tax based on the maximum retail price (MRP), not the transactional or discounted.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-10",
"sellerNTNCNIC": "7000008",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "7000006",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"buyerRegistrationType": "Registered",
"invoiceRefNo": "",
"scenarioId": "SN027",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "test",
"rate": "18%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"valueSalesExcludingST": 0,
"fixedNotifiedValueOrRetailPrice": 100,
"salesTaxApplicable": 18,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "",
"fedPayable": 0,
"discount": 0,
"totalValues": 0,
"saleType": "3rd Schedule Goods",
"sroItemSerialNo": ""
}
]
}
Certain essential goods, such as baby milk and books, are subject to a reduced tax rate lower than the
standard 18% when sold to end consumers. This preferential rate is intended to keep vital or socially
important products affordable. Retailers selling such goods must ensure that the products are correctly
classified under the applicable tax schedule to qualify for the reduced rate.
{
"invoiceType": "Sale Invoice",
"invoiceDate": "2025-05-16",
"sellerNTNCNIC": "7000008",
"sellerBusinessName": "Company 8",
"sellerProvince": "Sindh",
"sellerAddress": "Karachi",
"buyerNTNCNIC": "1000000000000",
"buyerBusinessName": "FERTILIZER MANUFAC IRS NEW",
"buyerProvince": "Sindh",
"buyerAddress": "Karachi",
"invoiceRefNo": "",
"buyerRegistrationType": "Registered",
"scenarioId": "SN028",
"items": [
{
"hsCode": "0101.2100",
"productDescription": "TEST",
"rate": "1%",
"uoM": "Numbers, pieces, units",
"quantity": 1,
"valueSalesExcludingST": 99.01,
"fixedNotifiedValueOrRetailPrice": 100,
"salesTaxApplicable": 0.99,
"salesTaxWithheldAtSource": 0,
"extraTax": 0,
"furtherTax": 0,
"sroScheduleNo": "EIGHTH SCHEDULE Table 1",
"fedPayable": 0,
"discount": 0,
"totalValues": 100,
"saleType": "Goods at Reduced Rate",
"sroItemSerialNo": "70"
}
]
}
Troubleshooting Common Testing Issues
Invalid JSON Format:
First of all, check for any missing required fields, as they are essential for successful submission.
Secondly, verify that there are no incorrect data types (for example, a string instead of a number), which can cause validation failures.
Additionally, watch out for JSON syntax errors such as misplaced commas, missing braces, or incorrect quotation marks.
Solution:
To resolve these issues, you should first use a reliable JSON validator tool. Then, carefully cross-check your structure against FBR’s official documentation to ensure full compliance.
Authentication Errors (Invalid Token):
- Token may be expired, incorrect, or an entirely wrong API key might have been used.
- Solution: In such cases, regenerate the token and then ensure the correct header format is being applied.
IP Whitelisting Issues:
Your server’s IP might not be whitelisted by FBR/PRAL, which, as a result, blocks access.
Solution: Therefore, verify your whitelisted IPs with FBR/PRAL and confirm they are updated correctly.
Data Validation Errors (e.g., Invalid NTN, HS Code):
Buyer/Seller NTN or CNIC might either be not registered or entered incorrectly.
Additionally, HS codes may be invalid, or item descriptions may not match FBR’s approved list.
Moreover, tax calculations may be inaccurate or missing required adjustments.
Solution: To fix these, cross-check all data with FBR’s official records and rules, and double-check your calculations for accuracy.
Network/Connectivity Issues:
This may occur due to temporary FBR API downtime or even local internet issues at your end.
Solution: In such cases, check the current FBR system status and try the request again after some time.
Unexpected FBR Error Codes:
For such situations, refer to the FBR API documentation, which provides a comprehensive list of error codes along with their detailed meanings.
Beyond Testing:
The Go-Live Process
1. Completion of Sandbox Testing
To begin with, once sandbox testing is successfully completed, you should navigate to the “Production Environment” tab. At this point, you will be able to generate your production token, which is required in order to go live.
2. Switching to Production Environment
After generating the production token, the next step is to use it as your authentication key. From this point onward, you can start submitting live invoices to the FBR system.
3. Monitoring and Reporting
Once live submissions have started, it is important to ensure continuous monitoring of real-time invoice activity. Furthermore, make sure to use the FBR dashboard to track, validate, and verify all generated invoices for complete accuracy and compliance.
Need Help Clearing FBR Digital Invoice Scenario Testing?
At Eyecon Consultant, we specialize in guiding users, developers, and accountants through every step of the FBR Digital Invoicing process.
Let our experts help you clear your scenario testing smoothly and confidently.
{
“invoiceType”: “Sale Invoice”,
“invoiceDate”: “2025-06-17”,
“sellerNTNCNIC”: “3520218756853”,
“sellerBusinessName”: “Malik House”,
“sellerAddress”: “6-Gunpat Road Anarkali Lahore,”,
“sellerProvince”: “Punjab”,
“buyerNTNCNIC”: “3520224597613”,
“buyerBusinessName”: “Muhammad Khalid”,
“buyerAddress”: “Lahore,”,
“buyerProvince”: “Punjab”,
“buyerRegistrationType”: “Unregistered”,
“invoiceRefNo”: “”,
“scenarioId”: “SN024”,
“items”: [
{
“hsCode”: “4901.1000”,
“productDescription”: “URDU 9TH”,
“rate”: “25%”,
“uoM”: “Numbers, pieces, units”,
“quantity”: 5,
“totalValues”: 125,
“valueSalesExcludingST”: 100,
“fixedNotifiedValueOrRetailPrice”: 0,
“salesTaxApplicable”: 25,
“salesTaxWithheldAtSource”: 0,
“extraTax”: “”,
“furtherTax”: 0,
“sroScheduleNo”: “297(I)/2023-Table-I”,
“fedPayable”: 0,
“discount”: 0,
“saleType”: “Goods as per SRO.297(I)/2023”,
“sroItemSerialNo”: “12”
}
]
}
AOA
All other are clear but this SN024 is not accepting by FBR, May be there is error in my json file, i copied form above json mentioned in SN024 Tab
Please reply so that i can move to production environment
Contact +92 300 9778848
Can you please create a Valid JSON for scenario Id SN005 it should be testes validated from FBR validate api.
Muhammad Khalid
saleType: Goods as per SRO.297(|)/2023
copy it and check
this “| ” not I
Dear Sir,
Json of “SN028” is not get validated by pral…
Please Checck N Guid
rgds
This is very helpful.
Thank you so much for sample json for each scenarios.
I had completed some, but as someone not familiar with FBR Schedule types & ids, therefore faced lot of errors.
Thank you once again.
Glad it helped! Happy to know it made things easier for you.
Can you please create a Valid JSON for scenario Id SN005 it should be testes validated from FBR validate api
it is giving me exception of
Extra tax provided where sale is of reduced rate goods. Please verify if provided sale type is for Goods at reduced rate.
{
“dated”: “2025-09-02 16:57:04”,
“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
}
}
Against Senario SN004
Tested all scenarios successfully SN001, SN002, SN005, SN006, SN007, SN008, SN009, SN016, SN017, SN018, SN019, SN024, , SN026, SN027, SN028
what is the issue in SN028 {
“invoiceType”: “Sale Invoice”,
“invoiceDate”: “2025-08-11”,
“sellerNTNCNIC”: “0664118”,
“sellerBusinessName”: “ASHRAF WELDING HOUSE”,
“sellerProvince”: “Punjab”,
“sellerAddress”: “Lahore”,
“buyerNTNCNIC”: “0801063”,
“buyerBusinessName”: “Atlas Honda Ltd”,
“buyerProvince”: “Punjab”,
“buyerAddress”: “Sheikhupura”,
“invoiceRefNo”: “”,
“buyerRegistrationType”: “Registered”,
“scenarioId”: “SN028”,
“items”: [
{
“hsCode”: “0101.2100”,
“productDescription”: “TEST”,
“rate”: “1%”,
“uoM”: “Numbers, pieces, units”,
“quantity”: 1,
“valueSalesExcludingST”: 100,
“fixedNotifiedValueOrRetailPrice”: 100,
“salesTaxApplicable”: 1,
“salesTaxWithheldAtSource”: 0,
“extraTax”: 0,
“furtherTax”: 0,
“sroScheduleNo”: “EIGHTH SCHEDULE Table 1”,
“fedPayable”: 0,
“discount”: 0,
“totalValues”: 0,
“saleType”: “Goods at Reduced Rate”,
“sroItemSerialNo”: “70”
}
]
}
@Mughal, for extra tax blank field required…….. use “”,””
I am trying to validate S024 but not validating through SANDBOX testing rest all done successfully
RIZWAN
saleType: Goods as per SRO.297(|)/2023
copy it and check
this “| ” not I
Asslamoalikum
wonderful work and brilliant effort
all scenerios are very very usefull
thank you very much
But SN028 not validating by FBR
the response from fbr:
{
“dated”: “2025-09-10 13:36:03”,
“validationResponse”: {
“statusCode”: “01”,
“status”: “Invalid”,
“error”: “”,
“invoiceStatuses”: [
{
“itemSNo”: “1”,
“statusCode”: “01”,
“status”: “Invalid”,
“invoiceNo”: null,
“errorCode”: “0091”,
“error”: “Extra tax provided where sale is of reduced rate goods. Please verify if provided sale type is for Goods at reduced rate.”
}
]
}
}
whereas “extraTax”: 0, in Json
plz guide
I also faced this Problem and its solution is that change “extraTax”: 0, – > “extraTax”: “”,
Remove 0 and add empty string in place of it
{
“invoiceType”: “Sale Invoice”,
“invoiceDate”: “2025-05-26”,
“sellerNTNCNIC”: “4130276175937”,
“sellerBusinessName”: “Company 8”,
“sellerAddress”: “Karachi”,
“sellerProvince”: “Sindh”,
“buyerNTNCNIC”: “3710505701479”,
“buyerBusinessName”: “FERTILIZER MANUFAC IRS NEW”,
“buyerProvince”: “Sindh”,
“buyerAddress”: “Karachi”,
“invoiceRefNo”: “SI-20250421-001”,
“scenarioId”: “SN004”,
“items”: [
{
“hsCode”: “7204.1010”,
“productDescription”: “”,
“rate”: “18%”,
“uoM”: “MT”,
“quantity”: 1,
“totalValues”: 0,
“valueSalesExcludingST”: 175000,
“salesTaxApplicable”: 31500,
“fixedNotifiedValueOrRetailPrice”: 0,
“salesTaxWithheldAtSource”: 0,
“extraTax”: 0,
“furtherTax”: 0,
“sroScheduleNo”: “”,
“fedPayable”: 0,
“discount”: 0,
“saleType”: “Ship breaking”,
“sroItemSerialNo”: “”
}
]
}
Why SN004 is not Working? I am getting the Hs Code error Please help me in this one
here is corrected SN024 {
“invoiceType”: “Sale Invoice”,
“invoiceDate”: “{{current_date}}”,
“sellerNTNCNIC”: “{{seller_ntn}}”,
“sellerBusinessName”: “AST Knitwear”,
“sellerProvince”: “Punjab”,
“sellerAddress”: “304/1 Imtiaz Shaheed Road,Khayaban Colony No.2 Faisalabad”,
“buyerNTNCNIC”: “{{buyer_registered_ntn}}”,
“buyerBusinessName”: “Test Buyer Company”,
“buyerProvince”: “Punjab”,
“buyerAddress”: “Test Buyer Address”,
“buyerRegistrationType”: “Registered”,
“invoiceRefNo”: “”,
“scenarioId”: “SN024”,
“items”: [
{
“hsCode”: “0101.2100”,
“productDescription”: “TEST”,
“rate”: “25%”,
“uoM”: “Numbers, pieces, units”,
“quantity”: 123,
“valueSalesExcludingST”: 1000,
“fixedNotifiedValueOrRetailPrice”: 0,
“salesTaxApplicable”: 250,
“salesTaxWithheldAtSource”: 0,
“extraTax”: 0,
“furtherTax”: 0,
“sroScheduleNo”: “297(I)/2023-Table-I”,
“fedPayable”: 0,
“discount”: 0,
“totalValues”: 0,
“saleType”: “Goods as per SRO.297(|)/2023”,
“sroItemSerialNo”: “12”
}
]
}
Thanks!
At times, the FBR server does not return the invoice number in response, even though the invoice is successfully posted and appears on the FBR dashboard. This results in difficulty knocking off invoices in the local application and also creates the risk of duplicate invoicing. What is the most effective solution to prevent and handle this issue / each time get invoice number form FBR server.