VAT formulas
Net = Gross ÷ (1 + rate)
VAT = Gross − Net
Examples
| Amount | Rate | Result |
|---|---|---|
| 1,000 DH excl. VAT | 20% | 1,200 DH incl. VAT (VAT 200 DH) |
| 1,200 DH incl. VAT | 20% | 1,000 DH excl. VAT (VAT 200 DH) |
| 5,000 DH excl. VAT | 10% | 5,500 DH incl. VAT (VAT 500 DH) |
| 2,140 DH incl. VAT | 7% | 2,000 DH excl. VAT (VAT 140 DH) |
VAT rates in Morocco
- 20%: the standard rate, applied by default to most goods and services.
- 14%, 10% and 7%: reduced rates for the operations listed in the General Tax Code.
- 0%: exempt operations.
Recent finance acts have reorganised several reduced rates. Check the rate that applies to your business with the tax authority (DGI) or your accountant.
A common mistake to avoid
To find the net price, do not take 20% off the gross price. 1,200 DH − 20% = 960 DH, while the real net price is 1,000 DH. Always divide by (1 + rate).
Need a complete invoice with ICE, IF and RC numbers? Use our quote and invoice generator.
Multipliers to remember
| Rate | Net → Gross | Gross → Net | VAT share of the gross price |
|---|---|---|---|
| 20% | × 1.20 | ÷ 1.20 | 16.67% |
| 14% | × 1.14 | ÷ 1.14 | 12.28% |
| 10% | × 1.10 | ÷ 1.10 | 9.09% |
| 7% | × 1.07 | ÷ 1.07 | 6.54% |
The last column gives the VAT contained in a gross price: in 1,200 DH including VAT at 20%, VAT accounts for 16.67%, or 200 DH.
VAT on an invoice with several rates
When an invoice mixes several rates, calculate the VAT rate by rate, then add it up:
| Line | Net | Rate | VAT | Gross |
|---|---|---|---|---|
| Service | 8,000 DH | 20% | 1,600 DH | 9,600 DH |
| Supplies | 2,000 DH | 10% | 200 DH | 2,200 DH |
| Total | 10,000 DH | 1,800 DH | 11,800 DH |
The invoice must show the net total, the VAT amount for each rate and the gross total. Our quote and invoice generator splits it automatically.
Discount and VAT: in which order?
The discount comes off the net price, and VAT is then calculated on the discounted amount. Example: 5,000 DH net with a 10% discount gives 4,500 DH net, then 900 DH of VAT at 20%, so 5,400 DH including VAT. To work out a percentage discount or increase, use our percentage calculator.
Output VAT, input VAT and VAT payable
A VAT-registered business collects VAT on its sales and recovers the VAT paid on its purchases. It pays the difference to the DGI:
Example for one month: 150,000 DH of net sales at 20% gives 30,000 DH of output VAT. With 90,000 DH of net purchases at 20%, input VAT is 18,000 DH. The VAT to pay is therefore 12,000 DH. When input VAT exceeds output VAT, the business has a VAT credit.