Reference

FBR Digital Invoicing Error Codes

When you submit a sales-tax invoice to FBR’s Digital Invoicing system, a rejection comes back as a numeric code against the offending field or line. This reference explains what each code is objecting to, the situations that trigger it, and the exact fix — so a rejection is a two-minute correction, not an afternoon.

65 codes across 8 categories. Search by code or title, or filter by category.

Buyer & seller identity

Registration numbers, registration type, and whether FBR recognises the parties on the invoice.

0002Common

Buyer registration number is not in the correct format

NTN and CNIC have fixed lengths and no punctuation. Formatted or padded values are rejected.

Read fix
0009Common

Buyer registration number is empty

Required whenever the buyer is declared registered. Optional only for unregistered buyers.

Read fix
0012Common

Buyer registration type is empty

The field must carry one of two exact values. There is no default and no inference.

Read fix
0053Very common

Buyer registration type does not match the buyer's profile

You declared the buyer registered or unregistered, and FBR's records say otherwise.

Read fix
0056Occasional

The buyer is not registered in the steel sector

Toll manufacturing requires the buyer to hold a steel sector registration, not merely to be registered.

Read fix
0058Occasional

Buyer and seller registration numbers are the same

An invoice cannot be issued to yourself. Usually a data error rather than an intentional transaction.

Read fix
0071Occasional

The buyer NTN is invalid

The number is well-formed but does not correspond to a valid taxpayer.

Read fix
0082Occasional

The seller is not registered for sales tax

FBR does not recognise the submitting party as a sales-tax-registered person.

Read fix
0083Occasional

Seller registration number does not match

The seller on the invoice differs from the registration the token was issued against.

Read fix
0100Occasional

Cotton ginner supplies require a registered buyer

This sale type cannot be used with unregistered buyers under any circumstances.

Read fix
0106Common

The buyer is not registered for sales tax

You declared the buyer registered, and FBR's records show no active sales tax registration.

Read fix
0107Occasional

Buyer registration number does not match

The number and the buyer name or details you submitted describe different taxpayers.

Read fix
0108Occasional

Seller registration number is not in the correct format

The same length and punctuation rules as the buyer identifier, applied to your own registration.

Read fix

Invoice header

Invoice type, dates, and invoice numbering rules applied to the document as a whole.

Product classification

HS codes, sale types, units of measurement, and tax rates — and the constraints that link them together.

0007Common

The sale type selected is not valid for this registration

The sale type exists but is not permitted for your business activity and sector as registered with FBR.

Read fix
0013Common

Sale type is empty or invalid

Sale type must be one of FBR's exact labels. Internal codes and abbreviations fail.

Read fix
0019Common

HS code is missing or invalid

Every line needs a valid HS code. There is no default and no way to omit it.

Read fix
0020Common

Rate is missing

The rate field is required on every line, including zero-rated and exempt ones.

Read fix
0044Common

HS code cannot be empty

The empty-field variant of the HS code check, raised before any validity lookup runs.

Read fix
0046Very common

The rate provided is not valid for the selected sale type

Each sale type permits only a defined set of rates. Yours is not in that set for the type you chose.

Read fix
0052Common

HS code does not match the provided sale type

The HS code is valid on its own but is not permitted under the sale type you selected for that line.

Read fix
0060Occasional

Certain service rates require a square-yard unit

Where a service rate is denominated per square yard, the unit must match.

Read fix
0061Occasional

Certain excise-mode service rates require a bill-of-lading unit

A per-bill rate on services with excise in sales tax mode requires the matching unit.

Read fix
0062Occasional

Steel melting and re-rolling requires a tonnage unit

The steel sale type accepts only metric tonnes, not kilograms or piece counts.

Read fix
0087Occasional

Petroleum levy rates are not configured correctly

A profile configuration problem rather than a payload one — it cannot be fixed in code.

Read fix
0090Common

Fixed notified value or retail price is required

Third Schedule lines must carry a retail price. Leaving the field at zero fails before any tax check runs.

Read fix
0092Occasional

Sale or purchase type is empty or invalid

The purchase-side counterpart to the sale type validation error.

Read fix
0096Occasional

Only an energy unit is allowed for this HS code

Electricity classifications require energy units rather than physical quantities.

Read fix
0097Occasional

Unit of measurement must be kilograms

Potassium chlorate lines accept only a kilogram unit. Any other value fails.

Read fix
0098Occasional

Quantity is required for sales of goods

Goods lines must carry a quantity, even where the tax is computed from value alone.

Read fix
0099Common

The unit of measurement is not allowed for this HS code

FBR constrains which units each HS code accepts. Units are also case-sensitive.

Read fix
0101Occasional

Toll manufacturing cannot be declared as a service

Processing work in the steel sector has its own sale type and must not use a services classification.

Read fix
0175Occasional

Retail price is required on purchase lines

Third Schedule purchases need a retail price for the same reason sales do.

Read fix

Tax calculation

Errors raised when the tax amount you submitted does not match what FBR recalculates from your own figures.

Data format

Numeric precision, null handling, and string formatting rules enforced before any business validation runs.

Debit & credit notes

Rules governing notes issued against an already-reported invoice.