Free purchase order template in Excel, totals and VAT calculated
A .xlsx purchase order for Morocco: quantity, price and discount on each line, VAT rate picked from a list, and the total excl. VAT, VAT per rate and total incl. VAT working themselves out. Buyer’s reference, delivery and terms included.
Download the Excel purchase order
Two workbooks: the blank order for your header and Studio Nour’s filled example for Maghreb Logistique, with the formulas in place. Click a total cell to see the calculation.
| Ref. | Description | Qty | Unit price | VAT | Total excl. VAT |
|---|---|---|---|---|---|
| CRE-LOGO | Visual identity design (logo + brand guide) | 1 package | 8,500.00 | 20 % | 8,500.00 |
| WEB-VIT | 6-page showcase website (FR/AR) | 1 package | 16,000.00 | 20 % | 14,400.00 |
| PHO-JOUR | Product photo shoot | 2 day | 3,200.00 | 20 % | 6,400.00 |
| IMP-FLY | A5 flyer printing (1,000 copies) | 3 lot | 650.00 | 20 % | 1,950.00 |
| Total excl. VAT | 32,050.00 |
|---|---|
| VAT 20 % | 6,410.00 |
| Total incl. VAT | 38,460.00 MAD |
This purchase order is issued for the amount of : Thirty-eight thousand four hundred sixty dirhams
Payment terms : Payment within 30 days of delivery.
Free template by Fatoura — app.tasyir.ma/en/free-templates
| Ref. | Description | Qty | Unit price | VAT | Total excl. VAT |
|---|---|---|---|---|---|
| Total excl. VAT | |
|---|---|
| VAT 20 % | |
| VAT 10 % | |
| Total incl. VAT |
This purchase order is issued for the amount of : [Amount in words]
Payment terms : [Payment terms, for example: 30 days by bank transfer]
Free template by Fatoura — app.tasyir.ma/en/free-templates
.xlsx file with no macros: it opens in Excel, LibreOffice Calc, Google Sheets and Numbers. Fill in the yellow cells; the totals calculate themselves.
What the workbook calculates
Line total with discount
Each line works out quantity × unit price excl. VAT × (1 − discount). A 10 % discount is one figure to type, and the line total follows.
VAT from a list: 20, 10 or 0
The VAT column offers the rates in force since 2026: 20 % and 10 %, plus 0 % for an exempt line, which needs its exemption mention.
VAT per rate, totals kept up to date
The workbook adds up VAT at 20 %, VAT at 10 % and the 0 % lines separately, then the totals excl. and incl. VAT. Everything recalculates when a figure changes.
Both parties’ ICE
Your company name, ICE (Common Company Identifier), IF (tax ID), RC (trade register) and taxe professionnelle at the top, the customer and their ICE opposite: easy to match with the invoice that follows.
Reference, delivery, terms
Cells for the buyer’s order reference, the delivery date and the payment terms, with the late-payment penalty mention.
Amount in words, typed
Excel cannot write a number in words without a macro: this cell is filled in by hand, with a link to the free “amount in words” tool.
How to fill in your purchase order in Excel
Open the workbook, add your header
In Excel, Calc, Sheets or Numbers, replace the fields in square brackets with your details. Save under another name: the blank file stays clean for the next order.
Note the reference and delivery
Copy the customer’s order reference, then the delivery date and the agreed terms: payment period and method.
Enter the lines
Quantity, unit price excl. VAT, any discount, then pick the rate from the list in the VAT column. The total cells are formulas: do not type in them.
Grow the table from the inside
Insert a row between two rows of the table and the totals count it. A row added below the table may be left out of the totals.
Amount in words, then print
Copy the total incl. VAT into the “amount in words” tool, paste the text into its cell, check the preview, then print for signature or save as PDF.
The filled example, sum by sum
The example holds a fictitious order from Maghreb Logistique SARL (Tangier, contact Hamza Alaoui) to Studio Nour SARL AU (Rabat), under the buyer’s reference DA, the year, then 0457. Click each total to see its formula.
- Visual identity (logo and guidelines): 1 flat fee × 8,500 MAD = 8,500.00 MAD excl. VAT.
- 6-page showcase website (FR/AR): 1 × 16,000 MAD × (1 − 10 %) = 14,400.00 MAD excl. VAT. The discount sits in its own column, not in the price.
- Product photo shoot: 2 days × 3,200 MAD = 6,400.00 MAD excl. VAT.
- A5 flyers (1,000 copies): 3 batches × 650 MAD = 1,950.00 MAD excl. VAT.
The four lines come to 31,250.00 MAD excl. VAT. They are all at 20 %, so the VAT falls under a single rate; the 10 % and 0 % cells stay at zero. The total incl. VAT is added below.
Try it: set the website discount to 0 and the total excl. VAT rises by 1,600 MAD, with the VAT and the total incl. VAT following. Pick 10 % for a line in the list and its VAT moves to that rate.
What is left to type: delivery within 15 days at the customer’s address, payment 30 days from delivery, and the total incl. VAT in words. The stamp and signature area waits for the customer’s approval.
Frequently asked questions
No spreadsheet needed: do it online
The purchase order generator does the same sums, checks the ICE format and the mentions, and downloads the order as PDF, Word or Excel. Free, no sign-up.