Skip to main content

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​

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.

DataWhere
Name and addressGeneral
VAT registration no.Taxes / General
Bank account and IBANPayments
A seller contact with phone and e-mailContact fields of the company

2. Create one E-Document Service per format​

  1. Search for E-Document Services and choose New.

  2. Enter a Code and a description, for example XRECHNUNG.

  3. Set Document Format to the format of this service:

    ServiceDocument Format
    XRechnung (XML)XRechnung
    ZUGFeRD (PDF with embedded data)ZUGFeRD
    PEPPOL BIS 3.0 DE (XML), optionalPEPPOL BIS 3.0 DE
  4. Decide who sends the file, see the next section.

  5. Repeat for each format you send.

3. Choose who sends: AutoFlow or Business Central​

Leave Service IntegrationResult
EmptyThe 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:

  1. Open Workflows and choose New Workflow from Template.
  2. Pick the e-document template Send to one service.
  3. On the response Send E-Document using setup, set the service you created.
  4. 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​

Microsoft's documentation: Set up e-documents and Electronic invoicing in Germany.