Netmend

Netmend · Tools · e-fatura · English · Português

e-fatura CSV to a clean Excel

VAT by supplier and quarter, credit notes negative, duplicates removed. The file stays on this computer. Em português.

Nothing is uploadedUp to 12 filesWorks offline once installed

Semicolon CSV, Portuguese decimals (1.234,56) and Windows-1252 are fine. Free merges 12 files. A ZIP counts each CSV inside it.

No export at hand? The example is invented data (names say EXEMPLO, NIFs are not real companies). Download the example ZIP

    The Excel file

    One workbook. Dates are real dates. Amounts are numbers, including VAT.

    FaturasPor NIFPor mêsPor trimestreProblemas
    Example of the download. Invented rows, not a real export.
    DateIssuerTotalVAT
    03/02/2025ESCOLA AMOSTRA1,234.560.00
    20/03/2025RESTAURANTE EXEMPLO−10.00−1.87

    How to export from e-fatura

    The portal calls the download “Obter dados para Excel”. The file is still a CSV, and one search only keeps the latest 300 documents.

    Step 1

    Sign in at faturas.portaldasfinancas.gov.pt and open Faturação as Adquirente (the buyer).

    Step 2

    Open Consultar faturas. Set the dates, then click Pesquisar. For a business, filter to invoices marked afetas à atividade. If you have more than 300 invoices, export month by month.

    Step 3

    Click Obter dados para Excel and drop the CSV here, or a ZIP of several. Do not open the file in Excel and save it again first.

    What the portal CSV gets wrong

    Excel can open the file, and still add a credit note on top of the invoice it cancels. These are limits of the export itself, reported by people who convert it, not a promise that every future file will look the same.

    Credit notes stay positive

    A nota de crédito is a refund. In the CSV the amount is often positive, so a plain sum is too high. Here the type “Nota de crédito” (or NC) flips the sign.

    NIF stuck to the name

    One column often reads as nine digits, a dash, then the name. The NIF is split out and checked with the Portuguese mod-11 digit. A bad digit is listed under Problemas.

    1.234,56 becomes text

    Amounts over 1,000 use a dot for thousands and a comma for cents, sometimes with a € in front. Excel then refuses to sum them. The sheet stores real numbers.

    300 rows, then it stops

    One search keeps the latest 300 documents. Export several periods, or a ZIP of them. The free merge takes 12 files; overlapping invoices are kept once.

    Questions

    Does the file leave my computer?

    No. Reading, the NIF check and the Excel file all happen in this browser. There is no account and no upload. Closing the tab drops the data.

    Which export does it read?

    The CSV from Portal das Finanças, e-fatura, Consultar faturas (Adquirente), via “Obter dados para Excel”. Headers vary (Setor or Sector, Situação or Estado, NIF in its own column or glued to the name). A ZIP of those CSVs works too. It is not a SAF-T file.

    What is in the Excel file?

    Faturas, Por NIF, Por mês, Por trimestre and Problemas. Por setor is added when the export has a sector column. Each summary has the taxable base, VAT and total. Cancelled documents are left out of the totals. Dates are real Excel dates.

    Also on Netmend: Excel to SEPA XML · bank statement PDF to Excel · all tools. Questions: dayinportugal@gmail.com