Skip to content
BILLX

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

Also available in:FrançaisالعربيةEspañolⵜⴰⵎⴰⵣⵉⵖⵜ

Woman working on an invoice spreadsheet on a laptop, surrounded by binders

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.

Woman working on an invoice spreadsheet on a laptop, surrounded by binders
Photo: Pexels

Importing Excel invoices, step by step

  1. 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).

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Retyping or importing your invoice history
CriterionRetyping by handImporting a checked file
TimeSeveral minutes per invoiceOne file for the whole history
Original numbersRisk of typosKept as they are
VATRecalculated, sometimes with the wrong rateKept and checked to the cent
DuplicatesHard to spotFlagged before import
ClientsRecords created one by oneRecognised by ICE, email or name
Binders full of paper invoices stacked on a desk
Photo: Pixabay, Pexels

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.

← All blog articles