Item attributes
Detailed breakdown of item classification and tax calculation for TRA VFD
Tax Types and VAT Categories
The tax_type attribute determines the VAT treatment applied to the line item on the TRA fiscal receipt or invoice. Setting the correct tax_type is required for EFDMS compliance.
| Code | VAT Rate | Category Letter | Category Name | Description and Scope |
|---|---|---|---|---|
STANDARD | 18% (0.18) | A | Standard Rate | Standard VAT rate applied to most taxable goods and services in Tanzania. |
SPECIAL_RATE | 0% (0.00) | B | Special Rate | Sector-specific special rate prescribed under specific Ministerial orders. |
ZERO_RATED | 0% (0.00) | C | Zero Rated | Taxable at 0% with input VAT recovery. Applies to exported goods and international freight. |
SPECIAL_RELIEF | 0% (0.00) | D | Special Relief | Supplies provided under special statutory relief (e.g. diplomatic missions, donor-funded projects). |
EXEMPTED | 0% (0.00) | E | Exempt | Wholly exempt supplies under the VAT Act (e.g. financial services, unprocessed agricultural produce). |
Price and Discount Calculations
When registering catalog items via POST /items or specifying line items via POST /invoices, the following pricing attributes apply:
Unit Amount
The unit_amount represents the price of a single unit of the product or service in Tanzanian Shillings (TZS).
Invoice Amount Type (INCLUSIVE vs EXCLUSIVE)
INCLUSIVE vs EXCLUSIVE)The invoice-level property invoice_amount_type dictates how line item amounts are interpreted:
EXCLUSIVE: Theunit_amountexcludes VAT. DigiTax computes the line subtotal as $\text{Quantity} \times \text{Unit Amount}$, calculates VAT based on thetax_type(e.g. $\times 0.18$ forSTANDARD), and computestax_inclusive_totalas $\text{Subtotal} + \text{VAT}$.INCLUSIVE: Theunit_amountincludes VAT. DigiTax extracts the VAT portion using the statutory fraction ($\frac18118$ forSTANDARD) and calculates the tax-exclusive base amount accordingly.
Discounts
Line-level discounts can be applied in two ways:
discount_rate: A decimal fraction between0and1(e.g.0.1represents a 10% discount).fixed_discount: A fixed monetary amount deducted in TZS from the line subtotal.
Updated about 2 hours ago
Did this page help you?