Documentation

If there is no ready-made format for your accounting package (structure 3 in “Import and export: which format fits your accounting package?”), you export invoices via CSV or Excel. You set up a filter and export the columns you need. See also “General” for the full export process and “Exporting for accounting” for the checklist beforehand.

Debtors first, then invoices

An accounting package can only import an invoice once the matching debtor exists. So first export your customers (filter context Customer) and import them as debtors, and only then export the invoices (filter context Invoice). This is described step by step in “Exporting for accounting”.

Detail lines or totals?

For the invoices there are two levels. Which you choose depends on what your accounting import can handle.

Detail lines (invoice lines / journal entries)

One row per invoice line, each with its own ledger account and VAT. Use this when your accounting wants full journal entries or line detail. Requirement: the ledger accounts are set on the price rules (see “General”). Recommended columns:

ColumnNotes
Invoice numberGroups the lines per invoice.
Invoice datePosting date.
Customer number (cust_id)Links the invoice to the debtor.
Line descriptionDescription of the invoice line.
Ledger accountThe line’s ledger (from the price rule).
QuantityUsually 1 per line.
Amount excl. VATLine amount excluding VAT.
VAT codeFor mapping to your package’s VAT code.
VAT amountThe line’s VAT amount.

Totals (invoice total)

One row per invoice, with the total amount and the debtors ledger. Use this when your accounting import can handle invoice totals only and no line detail. Requirement: a debtors ledger is set (see “General”). Recommended columns:

ColumnNotes
Invoice numberUnique per invoice.
Invoice datePosting date.
Customer number (cust_id)Links the invoice to the debtor.
Debtors ledgerDebtors contra account.
Invoice amount excl. VATTotal excluding VAT.
VAT amountTotal VAT.
Invoice amount incl. VATTotal including VAT.

Setting up the filter

  1. Go to the Invoices (filter context Invoice).
  2. Filter the invoices you want to export. Usually a combination of status and invoice date, e.g.: status = "Final" and invoicedate > -30d.
  3. Pick the columns you need in the filter (see the tables above).
  4. Start the export from the toolbar: click the small triangle next to Excel and choose Custom.
  5. Choose the desired format (CSV or Excel) and optionally a maximum number of rows, then click Export.

The exact column names may differ per environment; check the available filter columns to see which fields your environment offers (see the filter columns documentation). In any case, include the fields listed above.