📄️ 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.
📄️ Decide per customer
The format follows one simple rule:
📄️ Send invoices and credit memos
You do not have to build this flow yourself. The template Rechnung als E-Dokument versenden (send invoice as e-document, code E-DOC.SEND-INVOICE) from the AutoFlow template gallery handles all customers with one flow: outside Germany it creates a PDF, for German customers a ZUGFeRD, and for the customers you marked with the XRECHNUNG profile an XRechnung. It takes the recipient from the customer's Document Layouts, falls back to the customer's e-mail, and sends the document by e-mail.
📄️ Send an e-invoice by email
This guide creates an XRechnung whenever a sales invoice is posted and sends it to the customer by email. It uses an E-Document Service without a service integration, so Business Central itself sends nothing – the flow does.