Set up e-invoicing in Business Central
Before a flow can create an e-invoice, Business Central needs the company data and one E-Document Service per format. This guide walks through that one-time setup. For the background on services, see E-Document Services.
Prerequisites
- Business Central 26.3 or later with the German localization.
- The Microsoft apps E-Document Core and E-Document for Germany are installed.
- AutoFlow E-Document for Germany is installed.
1. Complete the company information
Open Company Information and fill in what Business Central checks before it creates an e-invoice. If something is missing, the Create E-Document step fails with Business Central's message.
| Data | Where |
|---|---|
| Name and address | General |
| VAT registration no. | Taxes / General |
| Bank account and IBAN | Payments |
| A seller contact with phone and e-mail | Contact fields of the company |
2. Create one E-Document Service per format
-
Search for E-Document Services and choose New.
-
Enter a Code and a description, for example
XRECHNUNG. -
Set Document Format to the format of this service:
Service Document Format XRechnung (XML) XRechnung ZUGFeRD (PDF with embedded data) ZUGFeRD PEPPOL BIS 3.0 DE (XML), optional PEPPOL BIS 3.0 DE -
Decide who sends the file, see the next section.
-
Repeat for each format you send.
3. Choose who sends: AutoFlow or Business Central
| Leave Service Integration | Result |
|---|---|
| Empty | The step only creates the file. Your flow sends it, for example with Send Email. See Send every posted invoice. |
| Set to a connector (Pagero, Avalara, Continia, B2Brouter, Logiq, SignUp) | The step also hands the document to Business Central, which transmits it. |
For a service with a connector, add the standard sending workflow once:
- Open Workflows and choose New Workflow from Template.
- Pick the e-document template Send to one service.
- On the response Send E-Document using setup, set the service you created.
- Enable the workflow.
Without an enabled workflow the document is created but never sent.
4. Set the buyer reference
Public-sector customers in Germany need a Leitweg-ID as buyer reference. On the service, the Buyer Reference setting decides where Business Central reads it from:
- Buyer Reference on the document,
- E-Invoice Routing No. on the customer (the recommended place, see Customer setup),
- Your Reference on the document.
Turn on Buyer Reference Mandatory if every invoice sent with this service must carry one. Business Central then refuses to create the e-invoice without it.
Next steps
- Decide per customer: XRechnung, ZUGFeRD or PDF
- Send every posted sales invoice and credit memo in the right format
Microsoft's documentation: Set up e-documents and Electronic invoicing in Germany.