Interface

Importing invoices from a CSV file

The application itself has a German user interface; the names of menus and buttons are therefore given here in German.

Do you write your invoices in a program of your own? Then supply the invoice data as a CSV file. e-rechnung pro checks it and turns it into valid e-invoices.

For companies that write their invoices in a program of their own. That program exports the invoice data as a CSV file; e-rechnung pro turns it into valid e-invoices (XRechnung and ZUGFeRD), checks them and files them in the archive.

Where: menu ‘Rechnung erstellen’ (Create invoice) → ‘Rechnungen aus einer CSV-Datei einlesen’ (Import invoices from a CSV file). Procedure: select the file → ‘1. Prüfen’ (1. Check; nothing is created) → view the result → ‘2. Fehlerfreie einlesen’ (2. Import error-free ones). Imported invoices appear in the invoice list with the status ‘Neu’ (New) and go through the usual approval. A sample file is available for download in the same window (‘Muster-CSV herunterladen’, Download sample CSV).

Structure of the file

  • One row per invoice line item. Rows with the same invoice number together form one invoice. The details of the invoice and of the customer are taken from the first row of the invoice. Only the details of the line item are read from each row (marked ‘per line item’ in the table).
  • First row = column names. The order of the columns is up to you; upper and lower case make no difference, and spaces in the name count as underscores. Columns that the program does not know are skipped and reported as a notice.
  • Separator: semicolon (comma or tab are also recognised).
  • Character set: UTF-8 (also with BOM) or Windows-1252, just as Excel saves the file.
  • Numbers: in German notation, with a comma as the decimal separator; a full stop as thousands separator is allowed: 1.280,00. 1280.00 is also read. A number such as 1.280 without a comma is taken as 1.28 (one point two eight) — so use full stops as thousands separators only together with a comma.
  • Date: TT.MM.JJJJ (day.month.year) or JJJJ-MM-TT (year-month-day).
  • Prices are net prices in euros. The program calculates the VAT from the tax rate.
  • A maximum of 300 invoices and 2 MB per file.

Columns

Nine columns are mandatory; all others are optional. The last column of the tables lists further column names that the program also recognises.

Invoice

ColumnMandatoryContentsExampleAlso recognised as
rechnungsnummeryesYour invoice number; it is carried over unchanged and must not yet exist in the system2026-0815rechnungsnr, rechnung, nummer, belegnummer, invoice_number
rechnungsdatumyesDate of issue02.11.2026datum, belegdatum, invoice_date
leistungsdatumnoDay or end of the supply31.10.2026lieferdatum, delivery_date
leistung_vonnoStart of the service period, per line item. If all line items have the same period, it applies to the whole invoice; otherwise each line item keeps its own01.10.2026leistungszeitraum_von, zeitraum_von
leistung_bisnoEnd of the service period, per line item31.10.2026leistungszeitraum_bis, zeitraum_bis
zahlungsziel_tagenoPayment period in days from the invoice date; 0 = immediately. If not specified, 14 days14zahlungsziel, tage
faellig_amnoDue date instead of zahlungsziel_tage16.11.2026fällig_am, faelligkeit, fälligkeit, due_date
zahlungsbedingungennoYour own text instead of the standard sentenceZahlbar innerhalb von 30 Tagen ohne Abzug.zahlungsbedingung, payment_terms
skonto_prozentnoEarly-payment discount (Skonto) in per cent2skonto
skonto_tagenoEarly-payment discount period in days10–
skonto2_prozentnoSecond discount tier in per cent (longer deadline, lower rate)1–
skonto2_tagenoDeadline of the second discount tier in days20–
verwendungszwecknoText that the customer is to quote when making the transfer. If not specified, the invoice number appliesVertrag 4711 Novemberzahlungsreferenz, remittance
belegartno380 invoice (default), 381 credit note or 384 corrected invoice. The words rechnung, gutschrift, korrektur are also read380typ, type
bezug_rechnungnoFor credit notes and corrected invoices: number of the invoice to which the document refers. It must exist in the system. Mandatory for 384; for 381 an empty field produces a free-standing credit note without reference2026-0790bezug, preceding_invoice
steuerfallnoregel, kleinunternehmer, reverse_charge, steuerfrei, nullsatz, ig_lieferung, ausfuhr or nicht_steuerbar. If not specified, the default from your master data applies (Kleinunternehmer), otherwise regel. Except for regel, the tax rate must be 0 or be left emptyregelsteuerart
steuerbefreiung_grundnoReason with statutory provision. Mandatory for steuerfrei, otherwise an optional addition to the explanatory noteSteuerfrei nach § 4 Nr. 21 UStGbefreiungsgrund, steuergrund
notiznoRemark on the invoiceVielen Dank für Ihren Auftrag.bemerkung, note
rundungnoRounding amount, if your program rounds the amount payable; less than 1.00. It is included in the amount payable-0,02rundungsbetrag, rounding_amount

Customer

ColumnMandatoryContentsExampleAlso recognised as
kunde_nameyesCompany or name of the customerBeispiel Wohnbau AGkunde, firma, kundenname, buyer_name
kunde_strasserecommendedStreet without house numberBeispielalleekunde_straße, strasse, straße
kunde_hausnummernoHouse number20hausnummer, hausnr
kunde_plzyesPostcode54321plz
kunde_ortyesTownBeispielstadtort
kunde_landnoCustomer’s country as a two-letter code or German name. If not specified, GermanyATland, kunde_laendercode, country
kunde_emailyesCustomer’s email address for receiving invoices. The e-invoice requires an electronic address of the recipienteingang@kunde.exampleemail, e-mail, e_mail
kunde_referenznoCustomer number or Leitweg-ID (mandatory for public contracting authorities). If not specified, the customer name is usedK-0001kundennummer, leitweg_id, leitweg-id, referenz, buyer_reference
kunde_ustidnoCustomer’s VAT identification number with country prefix. Mandatory for reverse_charge and ig_lieferungDE987654321ustid, ust_id, ust-id, ust-idnr
ansprechpartnernoContact person at the customerMax Beispielkontakt

Line item (per row)

ColumnMandatoryContentsExampleAlso recognised as
bezeichnungyesText of the line itemBeratung vor Ortleistung, artikel, position_text, text, name
beschreibungnoAdditional text for the line item (appears in the e-invoice and on the PDF)Termin am 12.10.zusatztext, description
artikelnummernoYour item numberB-100artikelnr, art_nr, artnr
mengeyesQuantity, greater than 012anzahl, quantity
einheitnoStk, Std, Tag, Monat, psch, m, m2, km, kg, l. If not specified, piece (Stück)Stdunit
einzelpreisyesNet price per unit, not negative95,00preis, einzelpreis_netto, netto_einzelpreis, price
steuersatznoVAT rate in per cent. If not specified, 19; outside standard taxation, 019ust, mwst, ust_satz, tax_rate
rabatt_prozentnoDiscount on the line item in per cent10rabatt
rabatt_betragnoDiscount on the line item as an amount in euros, instead of rabatt_prozent25,00–
rabatt_grundnoReason for the discount. If not specified, ‘Rabatt’ is shownTreuerabattrabattgrund

Customer references

ColumnMandatoryContentsExampleAlso recognised as
bestellnummernoCustomer’s order number4500012345bestell_nr, bestellnr, order_reference
vertragsnummernoContract numberV-2026-017vertrag, vertragsnr, contract_reference
projektnummernoProject numberP-0815projekt, projektnr, project_reference
auftragsnummernoYour own order numberAB-2026-0031auftrag, auftragsnr, sales_order_reference
versandanzeigenoNumber of the delivery note or despatch adviceLS-2026-0102lieferschein, lieferscheinnummer, despatch_advice_reference
wareneingangnoCustomer’s receiving adviceWE-4711wareneingangsmeldung, receiving_advice_reference
ausschreibungnoTender or lotVG-2026-17 Los 2los, vergabenummer, tender_reference
objektkennungnoIdentifier of the invoiced object, e.g. meter numberZ-00471objekt, zaehlernummer, zählernummer, object_identifier
kostenstellenoCustomer’s cost centre or accounting reference4711buchungsreferenz, buyer_accounting_reference
anhang_verweisnoInternet address of a document relating to the invoice. Files cannot be attached via the CSV filehttps://portal.kunde.example/aufmass/815anhang_url, anlage_url

Delivery address, direct debit, payee

ColumnMandatoryContentsExampleAlso recognised as
lieferadresse_namenoName of the recipient, if the delivery went to a different addressLager Wienlieferung_name, empfaenger_name
lieferadresse_strassenoStreet and house number of the delivery addressHafenstraße 4lieferadresse_straße, lieferung_strasse
lieferadresse_plznoPostcode of the delivery address1100lieferung_plz
lieferadresse_ortnoTown of the delivery addressWienlieferung_ort
lieferadresse_landnoCountry of the delivery address. If not specified, as for the customerATlieferung_land, lieferland
zahlungsartno58 or überweisung (default, credit transfer), 59 or lastschrift for SEPA direct debit59zahlart, payment_code
mandatsreferenznoMandatory for direct debit: customer’s mandate referenceM-2026-0042mandat, mandate_reference
kunde_ibannoMandatory for direct debit: customer’s IBAN from which the amount is collectedDE02120300000000202051iban_kunde, debited_account
zahlungsempfaenger_namenoDifferent payee, e.g. where the receivable has been assigned. If not specified, the default from the master data appliesMuster Factoring GmbHzahlungsempfänger_name, zahlungsempfaenger, zahlungsempfänger
zahlungsempfaenger_kennungnoIdentifier of the payeeF-1001zahlungsempfänger_kennung
zahlungsempfaenger_registernoRegister number of the payeeHRB 1234zahlungsempfänger_register

What you should know

  • Direct debit requires your creditor identifier to be entered under the master data in the settings.
  • Tax cases without VAT require the same details as in the input form, for example both VAT IDs for reverse_charge and ig_lieferung. If something is missing, the check states the reason. In case of doubt, clarify with your tax adviser which tax case applies.
  • Corrected invoice (384): the original invoice must already be in the program when the check is run. If the invoice and the correction are in the same file, import the invoice first and then check again. The correction only links the original invoice; it does not cancel it.
  • Not via CSV: allowance or surcharge on the whole invoice, surcharge on the line item, files as attachments and self-billed invoices. You enter these cases in the input form.
  • Euros only. There is no column for the currency.

Example

rechnungsnummer;rechnungsdatum;leistungsdatum;zahlungsziel_tage;kunde_name;kunde_strasse;kunde_hausnummer;kunde_plz;kunde_ort;kunde_land;kunde_email;kunde_referenz;bestellnummer;bezeichnung;beschreibung;menge;einheit;einzelpreis;steuersatz;steuerfall;leistung_von;leistung_bis;rabatt_prozent;rabatt_grund;verwendungszweck;notiz
2026-0815;02.11.2026;31.10.2026;14;Beispiel Wohnbau AG;Beispielallee;20;54321;Beispielstadt;DE;eingang@beispiel-wohnbau.example;K-0001;4500012345;Beratung vor Ort;Termine laut Stundennachweis;12;Std;95,00;19;regel;01.10.2026;31.10.2026;;;;Vielen Dank für Ihren Auftrag.
2026-0815;02.11.2026;31.10.2026;14;Beispiel Wohnbau AG;Beispielallee;20;54321;Beispielstadt;DE;eingang@beispiel-wohnbau.example;K-0001;4500012345;Dokumentation und Bericht;;1;Stk;650,00;19;regel;01.10.2026;31.10.2026;10;Treuerabatt;;
2026-0816;03.11.2026;;30;Hausverwaltung Sonnenhof GmbH;Sonnenweg;12;23456;Sonnenstadt;DE;buchhaltung@sonnenhof.example;K-0003;;Wartung Heizungsanlage, pauschal;;1;psch;1.280,00;19;regel;01.11.2026;30.11.2026;;;Vertrag 4711 November;

The first two rows produce one invoice with two line items, a shared service period and a 10% discount on the second line item. The third row is a second invoice with its own payment reference. The file calculates with 19% VAT; the tax case regel is therefore stated in it explicitly. If you are a small business (Kleinunternehmer), enter kleinunternehmer and the tax rate 0 instead.

A second example: a service to a business in Austria with tax liability of the customer and a different delivery address. It requires your VAT ID to be entered in your master data.

rechnungsnummer;rechnungsdatum;leistungsdatum;kunde_name;kunde_strasse;kunde_hausnummer;kunde_plz;kunde_ort;kunde_land;kunde_email;kunde_ustid;bezeichnung;menge;einheit;einzelpreis;steuerfall;lieferadresse_name;lieferadresse_strasse;lieferadresse_plz;lieferadresse_ort
2026-0817;04.11.2026;03.11.2026;Muster Handel GmbH;Ringstraße;7;1010;Wien;AT;rechnung@muster-handel.example;ATU12345678;Schulung vor Ort;2;Tag;900,00;reverse_charge;Muster Handel GmbH, Lager;Hafenstraße 4;4020;Linz

What happens during the check

Each invoice is checked individually: mandatory details, numbers and dates, duplicate invoice numbers and the rules of the e-invoice (EN 16931 and XRechnung). For each invoice the result states ‘in Ordnung’ (OK) or the reason for rejection with its row number. Only error-free invoices are created; you correct the others in your file and import it again — numbers that have already been created are rejected as ‘existiert bereits’ (already exists) and are not created twice.

Your own company details (name, address, tax number, bank details) come from the program’s master data, not from the file.

Frequently asked questions

Are existing PDF invoices converted?

No. What is imported is the invoice data from the CSV file; new e-invoices are generated from it as XRechnung and ZUGFeRD PDF. The data cannot be read reliably enough from a finished PDF.

What happens if there are errors in the file?

Nothing is created during the check. Each invoice is given the result OK or the error message with its row number. Only error-free invoices are created.

Can an invoice be imported twice?

No. An invoice number that already exists in the system is rejected.

Create e-invoices (E-Rechnungen) yourself now

Try e-rechnung pro for 28 days with the full range of functions – online in your browser or locally on your computer.

Use online Download for Windows Watch training videos

Online €9.50 plus VAT per user per month · annual licence €98 plus VAT · Prices & licence