Elbuz turns a sales invoice or an invoice into an XRechnung e-invoice under EN 16931 and e-mails it to the buyer: the XML and, optionally, a ZUGFeRD PDF. Incoming e-invoices from suppliers become purchase invoices.
When you need this:
- Your company in Germany sells to other businesses — the e-invoice goes out with one button in the document card, or on posting.
- The buyer is a public body — enter the Leitweg-ID once, and Elbuz remembers it for the next invoices.
- Suppliers send you XRechnung or ZUGFeRD — the file becomes a purchase invoice with products.
Where to start: “Directories” → “Documents” → “E-invoices (EU)” → “+ XRechnung (Germany)”.
What the “E-invoices (EU)” window does
- Connecting your German company — tax number, contact, rates and e-mail text.
- E-invoice from the document card — XRechnung in UBL or CII format, e-mailed from your Elbuz mailbox.
- Automatic sending — a posted document goes to the buyer by itself.
- Käuferreferenz and Leitweg-ID — filled in and remembered for each buyer.
- Gutschrift — correcting a sent invoice with a return from customer.
- Incoming e-invoices — suppliers' XML and PDF files become purchase invoices.
What you need to know about XRechnung
XRechnung is the German e-invoice standard based on the European standard EN 16931. It is not a PDF but an XML file that the buyer's software reads without manual entry. Since 2025, companies in Germany must accept such invoices, and from 2027–2028 they must issue them to other businesses.
| Term | What it is |
|---|---|
| UBL and CII | Two XML formats for XRechnung. The buyer must accept either; UBL is more common on public portals and Peppol |
| ZUGFeRD (Factur-X) | A PDF that contains the same invoice as XML. A person reads the PDF, software reads the XML |
| Käuferreferenz | A mandatory invoice field — the buyer's reference: their order number or internal code |
| Leitweg-ID | The Käuferreferenz of a public body. Without it, the public body will not accept the invoice |
| Gutschrift | A credit note: it corrects an invoice that has already been sent |
How to connect your company
- In contacts, mark your German company with the “My company” checkbox and fill in its street, city, postcode and a bank account with an IBAN in its card.
- Open the “E-invoices (EU)” window, click “+ XRechnung (Germany)” and choose the company.
- Fill in the tax number and the invoicing contact, then click “Save”.
| Field | What to enter |
|---|---|
| XML format | UBL or CII — both are XRechnung |
| VAT ID (USt-IdNr) | VAT number with the country code, for example DE123456789. If you have none, fill in the Steuernummer |
| Invoicing contact | Name, phone and e-mail. XRechnung is not accepted without them; the buyer will write about the invoice to this e-mail |
| Default rate, % | For lines with no rate in either the document or the product: 19 or 7 |
| Lines at 0% | Why there is no tax: zero rate, exempt, reverse charge, intra-EU supply, export outside the EU, outside the scope of VAT |
| Small business (Kleinunternehmer, § 19 UStG) | For a company that does not charge VAT: all lines go without tax, with the § 19 UStG note |
| Exemption reason (for E) | German text for lines without tax, for example “Steuerfrei gemäß § 4 Nr. 14 UStG” |
| Payment term, days | Counted from the invoice date if the document has no payment due date |
| E-mail text to the buyer | In the buyer's language; {number} is the invoice number, {company} is your company. The default text is in German |
| Attach a ZUGFeRD PDF | The document's print form with the XML inside is attached to the e-mail |
Reverse charge and intra-EU supply require the USt-IdNr of both your company and the buyer. Enter the buyer's USt-IdNr with the country code in the “VAT ID” field of the contact card: DE123456789. If the field is empty, Elbuz takes the number from the Elbuz CMS checkout, and failing that, from the “Tax ID (IPN)” field of the card.
Send automatically when posted
With the “Send automatically when posted” checkbox, a posted sales invoice or invoice of the company is queued for sending right away. A return (Gutschrift) is never sent automatically — only with the button.
The “Disconnect” button in the company row stops e-invoices; invoices already sent stay in the documents.
How to send an e-invoice to a buyer
An e-invoice is issued from a sales invoice, an invoice or a return from customer of your connected company. The document must be posted.
- Open the document and go to the “E-Rechnung” section.
- Check the “Buyer reference / Leitweg-ID” (what to enter).
- Click “Send e-invoice” and confirm.
The e-mail goes to the buyer's address from the document, otherwise from the contact card, via the mailbox set up in “Mail” → mailbox settings. The subject is “Rechnung ‹number› — ‹your company›”; the XML is attached and, if enabled, the PDF. The “XML” button downloads the file itself to deliver it another way, for example to a government portal.
| Status in the section | What it means |
|---|---|
| Not sent | There is no e-invoice yet |
| Queued / Sending | The e-mail is being built and sent |
| Sent | The e-mail has gone to the buyer; you see the recipient and the date |
| Failed validation | The document is missing data — the list is under the status (troubleshooting) |
| Sending error | The e-mail was not sent — check the mailbox |
Once sent, the document cannot be unposted: the buyer already has the invoice. A mistake is corrected with a return — a Gutschrift.
Käuferreferenz and Leitweg-ID
This field is mandatory in every XRechnung. Elbuz suggests a value itself: what you entered for this buyer last time, otherwise the order number, otherwise the document number.
- A public body gives you its Leitweg-ID — enter exactly that, or the invoice will be refused.
- A company often asks for its order number or a code; if it didn't, keep the suggested value.
Elbuz remembers the value you enter and fills it in for this buyer next time.
How to correct a sent invoice
A sent invoice is not changed or deleted — it is corrected with a credit note (Gutschrift):
- Based on the sales invoice, create a “Return from customer” document with the items to be returned or reduced, and post it.
- In the return's “E-Rechnung” section, click “Send e-invoice”.
The buyer receives a “Gutschrift ‹number›” e-mail that refers to the original invoice. If the invoice needs to be issued again, post a new sales invoice after the Gutschrift and send it.
How to upload incoming e-invoices
In the “E-invoices (EU)” window, drag suppliers' files into the “Incoming e-invoices” block: XRechnung (XML) or ZUGFeRD / Factur-X (PDF). Each file becomes an unposted purchase invoice of your company:
- supplier — by USt-IdNr; if not found, a new contact is created;
- products — by barcode (GTIN), SKU or exact name; if not found, new ones are created;
- a supplier's Gutschrift becomes a return to supplier.
Each file shows a result: “purchase invoice created”, “already uploaded”, or “not accepted” if the file is not an e-invoice. Check the invoice and post it as usual. The original XML stays in the document — “E-Rechnung” section, “XML” button.
Scenarios
An online store in Germany sells to businesses
What to turn on. Connect the company with “Send automatically when posted” and “Attach a ZUGFeRD PDF” checked. Fill in the e-mail and address in the cards of business buyers.
What you get. Every posted sales invoice becomes an XRechnung and is e-mailed to the buyer without a manager. A buyer with no XML software reads the PDF.
A public-sector customer gave you a Leitweg-ID
What to do. On the first invoice to this buyer, enter the Leitweg-ID in “Buyer reference / Leitweg-ID” and send it.
What you get. The invoice passes the government portal's validation, and later invoices to this buyer get the same Leitweg-ID automatically.
What to do when an invoice is not sent
| What you see | Why | What to do |
|---|---|---|
| “Post the document first” | An e-invoice is issued only from a posted document | Post the document and click “Send e-invoice” again |
| “The document’s company is not connected to e-invoices…” | The document was issued by a company that is not in the window | Add the company in the “E-invoices (EU)” window (connecting) |
| “Fill in street, city and postcode in your company card” | XRechnung requires the seller's full address | Fill in the address in your company's card |
| “For bank transfer add an IBAN to your company bank accounts” | An invoice payable by bank transfer is not accepted without an IBAN | Add a bank account with an IBAN to the company card |
| “Enter the buyer’s e-mail: the invoice is sent there” | Neither the document nor the contact card has an e-mail | Enter the e-mail in the document or the buyer's card |
| “Enter the buyer’s city and postcode…” | The buyer's address is incomplete | Fill in the address in the document or the contact card |
| “Reverse charge and intra-EU supply need the buyer’s VAT ID…” | Lines have the reverse charge or intra-EU supply category, but the buyer's number or yours is missing | Enter the buyer's USt-IdNr with the country code in the “VAT ID” field of their card, and yours in the connection |
| “Set the exemption reason in the company connection for tax-exempt lines (E)” | XRechnung does not accept an exemption without a reason | Fill in “Exemption reason (for E)” in the company connection |
| “E-mail not sent: check the sending mailbox…” | No mailbox is set up, or it does not send | Check the mailbox in “Mail” → mailbox settings and click “Send again” |
| “The e-invoice has been sent to the buyer — the document cannot be unposted…” | An invoice the buyer has received cannot be changed | Correct it with a return (Gutschrift) |
FAQ
Do I need a separate service or portal to send XRechnung?
No. Elbuz builds the invoice itself and e-mails it from your mailbox (sending).
Which should I choose — UBL or CII?
Either: the buyer must accept both. Unless the buyer asked otherwise, keep UBL (fields).
The buyer has no XML software — what will they see?
Turn on “Attach a ZUGFeRD PDF” — the e-mail will contain a regular PDF with the XML inside it (fields).
My company is a Kleinunternehmer. Can I issue XRechnung?
Yes. Turn on “Small business (Kleinunternehmer, § 19 UStG)” — lines go without VAT, with the mandatory note (fields).
I sent an invoice with a mistake — how do I cancel it?
You can't cancel it, only correct it with a Gutschrift credit note (correcting).
Where to find it and who has access
- Menu
- Directories → Documents → E-invoices (EU)
- Other entry points
- the card of a sales invoice, an invoice or a return from customer, “E-Rechnung” section
- Access right
- the “E-invoices (EU)” window in “Group permissions”; by default, only the administrators group
- Prepare
- your German company with its address and IBAN in contacts, with the “My company” checkbox
Related topics
- If your company also operates in Poland: invoices in KSeF.
- If your company also operates in Italy: FatturaPA e-invoices.
- If the e-mail to the buyer is not sent: connecting a mailbox.
- If you need to fill in your company details: your company details.
