Sales management
How do you import Excel invoices into invoicing software?
Switch software without retyping your history: how to prepare your file, which columns to keep, how to handle the VAT of old invoices and which errors to fix before importing.
By BILLX team5 min read
Are you changing invoicing software, or finally leaving Excel? One question always comes up: what to do with old invoices? Retyping them one by one takes days and creates errors. The right method is to import your Excel invoices into the new software, after checking the file.
Here is how to prepare your workbook, which columns are essential, how to handle the VAT of historical invoices and which errors block an import. You can test your file right now, free and without an account, with our tool to import Excel invoices.
Importing Excel invoices, step by step
Why import rather than retype
Importing your history keeps everything in one place: who owes you what, what a client bought last year, the original numbers. An invoice already issued does not change: the import must take it as it is, not redo it. It is also a step towards paperless invoicing. Still keep your original files: copies of invoices are kept for ten years (art. 211 of the CGI).
Preparing the file: format and columns
Save your workbook as .xlsx or export it to CSV. Old .xls files and files with macros (.xlsm) must be saved again as .xlsx. Four pieces of information are essential:
- the original invoice number;
- the invoice date;
- the client: name, ICE or email;
- the total including tax, for the invoice or for each line.
To check VAT, add the total excluding tax and the VAT, or the lines: description, quantity, unit price excluding tax, VAT rate. Due date, status or currency are optional.
One invoice on several rows: the most common case
In Excel, an invoice often takes one row per item. The import must group all rows with the same number. If your file writes the number, date and client only on the first row (merged cells), these values must be "filled down". The client is then recognised by ICE, then email, then name, so it is not created twice.
Import Excel invoices without touching the original VAT
A historical invoice keeps its VAT rate and amount, even if rates have changed since. A good import recalculates nothing: it checks that the amounts add up (lines = total excluding tax, excluding tax minus discount plus VAT = total including tax) and flags a rate that is not a current Moroccan rate (0, 7, 10, 14 or 20%) without changing it. For the rules, see our guide to VAT in Morocco.
Fix Excel errors before importing
The same errors show up in almost every file:
- dates typed as text or in month/day format;
- unreadable amounts, or formulas with no saved value;
- a total including tax that differs from excluding tax + VAT;
- a rate written 0.2 instead of 20%;
- an ICE that does not have 15 digits;
- the same invoice entered twice under two numbers.
Fix them in the file before importing: it is faster than hunting for them afterwards.
What to demand from the software at import time
Before choosing, check that the software offers a dry run showing what will be imported, keeps the original numbers, does not send imported invoices to your clients, blocks duplicates and creates each client only once. Our article on free invoicing software in Morocco gives more selection criteria.
| Criterion | Retyping by hand | Importing a checked file |
|---|---|---|
| Time | Several minutes per invoice | One file for the whole history |
| Original numbers | Risk of typos | Kept as they are |
| VAT | Recalculated, sometimes with the wrong rate | Kept and checked to the cent |
| Duplicates | Hard to spot | Flagged before import |
| Clients | Records created one by one | Recognised by ICE, email or name |
Frequently asked questions
Can I import Excel invoices for free?
Yes. Reading, checking, preview, report and template in the BILLX tool are free and need no sign-up. An account is only needed to import the history into your workspace.
Do I need a specific Excel template?
No: you map each column of your file to a field, and common French and Arabic headers are recognised. If you are starting from scratch, first see what an invoice must contain in our article on the Excel, Word or PDF invoice template.
Will my old invoices keep their number?
In BILLX, yes: each imported invoice keeps its original number, date and VAT. An invoice whose number already exists is not created a second time.
What about credit notes and drafts?
A document with a negative total is flagged: import it as a credit note. Drafts are not imported: recreate them in the software. See also our article on the credit note in Morocco.
Further reading
Sales management
Morocco invoice template 2026: free Excel, Word or PDF
A Word, Excel or PDF invoice template in Morocco: the details it must carry under article 145 of the CGI, the limits of a home-made file and the right time to switch to software.
· 5 min read
Sales management
Free invoicing software in Morocco: which one to choose in 2026?
The criteria that matter when choosing free invoicing software in Morocco: ICE, VAT, numbering, languages, data export, free-plan limits and e-invoicing.
· 6 min read
Sales management
Free quote template Morocco: example, content and PDF, Word or Excel format
How to write a clear quote in Morocco: what it should contain, how to price it profitably, which format to choose and how to go from a signed quote to an invoice.
· 5 min read
Sales management
Proforma invoice in Morocco: definition, template and difference from an invoice
What an invoice pro forma is used for in Morocco, what it must contain, how it differs from a quote and an invoice, and how to move from one to the other without re-entering data.
· 4 min read
Sales management
Purchase order, delivery note and invoice in Morocco: the complete flow
Purchase order, delivery note, goods received note, then invoice: what each document is for, who issues it, and how to link them to get paid faster and without disputes.
· 4 min read