What master data does an E-Rechnung (German structured electronic invoice) need to be processed successfully?
By Daniel Stoffels
Short answer
An E-Rechnung needs complete, correctly assigned details of the invoicing parties, goods or services, tax and payment, together with the references required by the format used and the recipient. The details must be present in the structured dataset and consistent with one another; a correct layout alone does not prevent rejection. Check customer and item master data, field mapping and the generated file together.
Key points
- Invoice data comes from several sources: company data, customer master data, item master data and the specific business transaction.
- Buyer reference, purchase order number and Leitweg-ID (German public-sector invoice routing identifier) serve different purposes and must reach the correct fields.
- Tax category, tax rate, unit and calculation rules must be consistent in both business and technical terms.
- Validation checks defined rules; the actual goods or services, bank details and recipient assignment need additional controls.
Invoice recipient
Registered name, address, country and internal customer assignment
Buyer reference
the required identifier in the designated field
Units of measure
must match the quantity and pricing basis
Tax category
the tax classification of a line item
Bank details
changes to these require a separate control
Definition
Master data consists of basic details about business partners, items and your own company used over a longer period. An E-Rechnung combines these details with transaction data for the individual case, such as quantity, supply date and invoice amount, in a structured, machine-processable dataset.
Why an E-Rechnung starts with the data model
A PDF can visibly display an address, a purchase order number and a tax amount without unambiguously identifying their meaning for software. A structured invoice assigns this content to named fields. The receiving system can then identify the business partner, match the invoice to a purchase order and import amounts. This requires the exported fields to carry the correct meaning.
Invoice data may come from an ERP system, an application for connected business processes. Customer master data supplies the invoice address, the sales order supplies the purchase order reference and item master data supplies a unit of measure. The invoicing process adds the number, date and amounts. Changing the print template does not fix an incorrect mapping between these sources and the electronic invoice field.
For each required detail, record the business requirement, its source and the corresponding field in the invoice dataset. This field assignment is also called mapping. Document it so that sales, finance and software support use the same terms. A field named Reference is too imprecise without a description of its purpose.
Distinguish mandatory details from additional operational details
§ 14 Abs. 4 of the Umsatzsteuergesetz (UStG, German VAT Act) sets out, in broad terms, in particular the full names and addresses of the supplier and recipient, the supplier's tax number or VAT identification number, the issue date and invoice number. It also includes details of the quantity and nature of goods supplied or the scope and nature of other services, and the time of supply. The consideration, tax rate and tax amount or reference to a tax exemption also need attention.
This summary is not a complete review of every invoice type. The responsible tax specialists clarify which details and statements a specific business transaction needs. The distinction still helps with data preparation: some details are held permanently in company master data; others are taken from the order or delivery. A missing time of supply cannot reliably be derived from a general item description.
Not every important process detail is also a general mandatory tax detail. A purchase order number may be essential for matching at the buyer, and bank details for payment. Record these requirements separately as well. Avoid a single list in which tax requirements, format rules and customer requests appear alongside one another without being identified.
Invoicing parties, buyer reference and Leitweg-ID
Customer master data should distinguish the legal invoice recipient, delivery address and invoice route. Goods may go to a plant while a different address belongs on the invoice. Check the registered name, address, country and internal customer assignment. A correctly written address is of little use if the invoice is issued to the wrong entity.
The buyer reference supports allocation at the buyer. The Leitweg-ID is a specific identifier for routing and allocation in public-sector invoice receipt. It is not a general identifier for every private-sector business customer. Ask the recipient which reference is expected and which field it belongs in. Do not adopt a purchase order number as the buyer reference without checking.
Purchase order number, contract reference and buyer reference may all occur together. Where several purchase orders are involved, an arbitrary free-text field may not be sufficient for the agreed process. Check with the software provider which assignments the format used supports. Specify whether the reference is to be prefilled in customer master data or entered afresh for each order.
If a buyer requires an order-specific buyer reference, maintain it in the confirmed sales order and transfer it to the designated reference field in the invoice. The invoice address remains in customer master data. As control evidence, keep the recipient's requirement, the order and the field value read from the generated file together. This allows you to check whether the correct identifier from the correct source reaches the recipient.
Items, tax categories, units and payment
Item master data brings together the description of goods or services, unit of measure and pricing logic. Describe what is being invoiced so that the recipient can match it to the order. An internal item number alone does not explain the content. Units of measure must match the quantity and pricing basis: a price per item must not accidentally be transferred as a price per pack.
In the structured dataset, a tax category describes the tax classification of a line item. The tax rate is distinct from this. A blank tax rate or a value of zero does not, by itself, explain why no VAT is shown. Have categories, tax codes and any required statements checked by the relevant specialists. A technical default value must not replace a tax decision.
Bank details, payment method, payment terms and payments already made are further separate details. Check that the bank details output belong to the issuing entity. Changes to these require a separate control. Passing a format check does not confirm that the account actually belongs to the correct company or that agreed payment terms have been transferred correctly.
Clean up the data before the first dispatch
Define sources and responsibilities
Assign each required invoice field to a data source and a responsible person. Finance clarifies the business meaning, sales the recipient-specific details and software support the technical mapping. Record who approves changes and how unresolved details are identified before the invoice is created.
Check relevant customers and items
Start with the business transactions that will actually be invoiced. Look for duplicate customers, outdated addresses, missing references and conflicting units. Correct confirmed errors in the authoritative source. A one-off repair directly in the generated file lets the cause recur with the next invoice.
Test mapping and validation
Generate invoices with known expected values and check the dataset against the rules of the format in use that complies with EN 16931 (European electronic invoicing standard). Validation here means automated checking of defined structural and business rules. Retain the result with the format and validation version so that a later change remains comparable.
Track receipt and changes
Have the recipient confirm that references, line items and the amount payable arrive correctly. Then retest every material change to the export or master data using suitable cases. Approval should relate to a specific file and its data version, rather than just a software function in a menu.
Work through a simple dataset
The following round values have been chosen freely. One goods line comprises ten items at a net price of 100 euros each; a VAT rate of 19 per cent is assumed for the calculation. Discounts, shipping costs, advance payments and rounding differences are excluded. The buyer's identity and reference are checked separately as master data.
The line value is quantity multiplied by unit price. The tax amount is net amount multiplied by tax rate; the gross amount is net plus VAT. Here, the amount payable equals the gross amount. In a real transaction, payments already made may change the amount still outstanding. Check totals and amount payable separately.
| Field | Value | Check |
|---|---|---|
| Quantity | 10 items | Unit matches the item and order |
| Net unit price | 100 | Price applies per item |
| Net | 1,000 | 10 × 100 |
| VAT | 190 | 19 % of the net amount |
| Gross | 1,190 | 1,000 + 190 |
| Already paid | 0 | No advance payment in this invoice |
| Amount payable | 1,190 | 1,190 − 0 |
Common errors in master data
- Checking only the visible invoice: Compare the structured file with the order and master data. An attractively presented document can contain incorrect machine-readable fields.
- Using free text in place of reference fields: Enter the required identifier in the designated field. Otherwise it may be unusable for automated matching at the recipient.
- Adopting tax codes indiscriminately: Check their substantive meaning and mapping to tax categories. Identically named codes in different systems need not mean the same thing.
- Correcting units only at the end: Reconcile item, order and pricing basis together. Renaming a unit in the export can conceal a quantity error.
- Repairing each dispatch error individually: Trace recurring rejections back to master data, mapping or an export rule. Correct the underlying cause and repeat the test.
From Daniel Stoffels’ practice
Check the whole data picture
From my ERP experience, I know both well-prepared implementations tested several times and migrations without prior data cleansing. In the latter, the real work began only after go-live, with troubleshooting, training and familiarisation.
For me, this involved the whole data picture: items, customers, tax codes, open items and transaction data. Master data alone does not cover preparation for a migration.
Frequently asked questions
Must all customers provide a Leitweg-ID?
A Leitweg-ID is not a general customer attribute for every business relationship. Clarify with each recipient which allocation they need. Keep buyer reference, purchase order number and other identifiers separate so that the export can transfer them appropriately.
Can missing details be added to the PDF?
Adding details to the visible representation does not repair the structured dataset. Change the authoritative details and regenerate the invoice through the prescribed process. Then check that the visible and machine-readable content agree.
Who should approve master data changes?
Responsibility depends on the type of data. Recipient details need reliable confirmation, tax assignments need specialist review and bank changes need a separate control. Document processing and approval so that the origin of a change remains traceable.
What should you do with a technically valid invoice that is rejected?
Read the reason for rejection and compare it with the recipient's requirements. A missing purchase order or incorrect entity may fall outside the format rules checked. Assign the error to a cause rather than repeatedly sending the same file.
Sources
Last updated:
§ 14 Abs. 4 UStG on invoice details; EN 16931 as the substantive framework; general professional knowledge of master data and invoicing processes; Daniel Stoffels’ ERP experience
- § 14 UStG, Ausstellung von Rechnungen (accessed on )
Related questions
- What is EN 16931, and which formats are available for E-Rechnung (German electronic invoicing)?
- What obligations and deadlines apply to the E-Rechnung in Germany?
- How do you test the invoice process before E-Rechnung (German structured e-invoicing) becomes mandatory?
- Why do sales, warehouse and accounting have different figures, and how do you establish a single source of truth?