Defined in: fbr-invoice.ts:27
One line of an invoice (spec §4.1, items). Amounts are in rupees.
| Property |
Type |
Description |
hsCode |
string |
HS code, e.g. 0101.2100. |
productDescription |
string |
- |
rate |
string |
Rate as FBR’s SaleTypeToRate API describes it: 18%, Rs.3, Exempt … |
uoM |
string |
Unit of measure as in FBR’s UoM API, e.g. Numbers, pieces, units. |
quantity |
number |
Up to 4 decimals. |
totalValues |
number |
“Total Sales Value (Including Tax)”. FBR’s own samples send 0. |
valueSalesExcludingST |
number |
- |
fixedNotifiedValueOrRetailPrice |
number |
Notified or retail price; required for Third Schedule goods. |
salesTaxApplicable |
number |
- |
salesTaxWithheldAtSource |
number |
- |
extraTax? |
number |
- |
furtherTax? |
number |
- |
sroScheduleNo? |
string |
Required when the rate is not 18% (error 0077). |
fedPayable? |
number |
- |
discount? |
number |
- |
saleType |
string |
Sale type as in FBR’s transaction type API, e.g. Goods at standard rate (default). |
sroItemSerialNo? |
string |
Required when sroScheduleNo is given (error 0078). |