Skip to content

How do you test the invoice process before E-Rechnung (German structured e-invoicing) becomes mandatory?

By Daniel Stoffels

Short answer

Test the entire invoice process from the order through creation, validation and receipt to matching the incoming payment. Use known expected values and cover corrections, partial invoices, overseas customers and incorrect master data alongside the standard case. Acceptance requires traceable results at each handover and a defined way of handling errors.

Key points

  • A successfully generated file demonstrates only part of the invoice process.
  • Each test case needs inputs, expected results, responsible reviewers and a documented actual outcome.
  • Format checking, actual receipt and substantive invoice checking answer different questions.
  • Error cases, retries and payment matching belong in acceptance just as much as the error-free standard case.
Testing step by step from order to payment

Definition

A complete invoice process test is the planned examination of every step in an invoice transaction using known inputs and expected results. It covers data transfer, invoice creation, technical checking, agreed transmission, processing by the recipient, storing and retrieving the original file, and subsequent payment matching or clarification.

Aligning the test with the business transaction

Start with a transaction that sales and finance can explain together. A goods order contains the customer, item, quantity, price, delivery reference and payment terms. It produces an invoice that the recipient should be able to match to its purchase order. Finally, an incoming payment must settle the correct open item. An open item is a receivable or liability that has not yet been fully settled.

If a technical demonstration ends after generating a file, the subsequent handovers remain untested. For acceptance, what matters is whether all the information needed survives the handovers. A correctly generated purchase order number may be lost during transmission or assigned incorrectly in the recipient's system. Conversely, a received record may be correct while the receivable has been created twice in your own system.

Define the scope explicitly: the entity concerned, invoice types, relevant customer routes and downstream processing. Coordinate the test with the recipient so that test documents are not treated as real receivables. Use clearly separated test transactions and agree how both sides recognise test data and handle it after completion.

Defining expected values before the run

  1. Freeze the input data

    Keep a traceable record of the customer, item, order and configuration for the test. Use freely chosen data and known calculation results. A changing customer master makes troubleshooting harder: it then remains unclear whether a new address, a changed tax mapping or a different export version changed the result.

  2. Describe the expected result

    For each case, note the required fields, amounts and status changes. Also describe what must not happen: a blocked invoice must not create a second open item. Separate technical checking status from substantive approval. A single green symbol in the transmission log does not cover both.

  3. Identify participants and evidence

    Name those responsible for the order, invoice, technical check, receipt and payment matching. Define which file, checking log and feedback substantiate each step. Another person can then read through the test without having seen the original demonstration.

  4. Agree acceptance conditions

    Determine which errors must be resolved before use and who makes the decision. Missing mandatory fields, incorrect totals or unclear duplicate processing prevent reliable verification. For remaining limitations, you need a documented decision and a workable processing route rather than silently overlooking them in the log.

Testing step by step from order to payment

  1. Represent the order and service

    Enter the order through the intended route and import the appropriate master data. Check invoice and delivery recipients, item description, quantity, unit and references. Document which delivery or service is being invoiced. The invoice must represent this business transaction rather than merely look arithmetically plausible.

  2. Create and validate the invoice

    Generate the structured file from the regular process. Compare the fields with the expected values and run validation for the format used. Validation means checking defined structural and business rules. Record the validation version, error messages and warnings; an overridden warning needs a traceable professional assessment.

  3. Check transmission and actual receipt

    Send the test document exclusively through the agreed test route. Obtain confirmation that the recipient can open the complete file and import the fields. A technical transmission message does not automatically confirm substantive acceptance. Pay particular attention to the buyer reference, purchase order matching and handling of attachments.

  4. Store and reopen the original file

    Store the original file actually issued or received with an unambiguous transaction reference. Have another person retrieve and reopen it using that reference. Compare the invoice number, references and amounts with the test transaction. A newly generated copy or screenshot does not replace this evidence.

  5. Reconcile the receivable and payment matching

    Compare the receivable created with the invoice. Represent an incoming payment as a test transaction and match it using the intended attributes. Check the remaining amount, status and payment reference. Actual bank transfers are not needed for this internal verification; an agreed technical test route can simulate the handover.

  6. Work through errors and resumption

    Interrupt a handover and check the status before trying again. A document already imported successfully must not be processed again. An unknown status requires clarification. Record who sees the error, how the cause is corrected and how the transaction then continues.

Checking the important variants against known results

The table uses freely chosen round net values in euros. It counts independent test cases rather than a connected revenue total. The numerical comparison checks that an amount is transferred unchanged. Here, Gutschrift means a commercial credit note correcting an invoice for the full original amount; an umsatzsteuerliche Gutschrift, a self-billed invoice issued by the recipient of the service under German VAT rules, would be a separate case.

No tax rate is specified for the overseas customer. The tax treatment must be established by the responsible specialists for the specific transaction before its technical export is tested. For partial invoices, the only check is whether two partial amounts cover an agreed total completely and without double counting. Different advance-payment and final-invoice procedures need their own expected values agreed with the responsible specialists.

For acceptance, add the actual result, evidence, responsible person and status of passed or open to the table. For each row, link the file actually checked and its log. This turns the overview into a worksheet whose result another person can trace.

Example: test cases with freely chosen net values in euros
CaseInputExpected result
Standard invoice1,000Net amount received 1,000; exactly one open transaction
Commercial credit noteCorrection of 1,000Original invoice and correction net to 0
Partial invoices400 + 600Total 1,000; no partial amount included twice
Overseas customer2,000Amount of 2,000 and tax mapping approved by the responsible specialists transferred unchanged
Incorrect master data1,000; required reference missingError detected; no unnoticed further processing
Payment matchingReceivable 1,000; payment 1,000Outstanding amount 0; payment matched exactly once

Documenting errors so they can be resolved

Useful error evidence identifies the test case, process step, expected result and actual deviation. Link the affected file and checking log. Saying the invoice will not go through offers little help. Saying the buyer reference is in the order but missing from the invoice record narrows the error to a verifiable handover.

Distinguish data errors, incorrect field mappings, unsupported format rules and organisational gaps. The actions differ: data is corrected, mappings adjusted, software versions aligned or responsibilities clarified. After correction, repeat the affected case and suitable related cases. A repaired normal case must not break the processing of a correction.

Acceptance records the tested scope and remaining limitations. It applies to the documented version. Changes to exports, format or core master data can trigger new tests. Retain a small, meaningful set of known cases that the team can follow even after a software change.

Common errors in invoice process testing

  • Only checking error-free cases: add missing references, contradictory data and interruptions. Only then does it become clear whether the process stops in a controlled way.
  • Equating transmission with acceptance: obtain feedback on actual import. Otherwise, the handover to the recipient remains untested.
  • Allowing corrections to overwrite: check the link between the original invoice and the correction. Processing must remain traceable even when a transaction is cancelled.
  • Omitting bank reconciliation: test complete and incomplete matches. A usable invoice process must carry outstanding amounts forward correctly.
  • Taking dates from memory: base planning on the separate overview of E-Rechnung obligations and deadlines. Technical acceptance does not replace checking which obligation applies to your own case.

From Daniel Stoffels’ practice

Tests belong before the start

I have experienced both types of go-live: well-prepared changes tested repeatedly with an orderly start, and changes without prior cleansing. With the poorly prepared starts, the real work only began afterwards.

My migration experience includes preparation, tests, training, dry runs, acceptance and support after the start. In the projects I have seen, the technical cutover date could not replace this work.

Frequently asked questions

How many test cases does a company need?

The number follows the genuinely different processes. Cover each material invoice type, each relevant transmission method and the most important error routes. Many almost identical standard invoices provide less insight than deliberately selected variants with clear expected values.

Can the software provider take responsibility for the entire acceptance process?

The provider can check technical functions and error messages. The company must confirm whether the customer, service, reference and amount fit its own business transaction. Coordinate technical and substantive checks and have those responsible accept their respective parts in a traceable way.

What needs to be added for early payment discounts or partial payments?

Add separate cases with agreed terms, a known payment amount and an expected remaining open item. Clarify the accounting treatment before the test. Then check whether payment matching and the remaining amount correspond to the defined expected values.

When is retesting needed after successful acceptance?

Repeat suitable cases after changes that affect data, invoice content or handovers. These include new export rules, format changes and new recipient requirements. Record the version checked each time so that earlier acceptance is not applied unchecked to a changed process.

Sources

Last updated:

General technical knowledge of process and acceptance testing; Daniel Stoffels' ERP and migration experience

Summary by Heldensystem

Related questions

Next step

Free initial call, 30 minutes