If e-invoicing is enabled and all required sender and recipient details are in place, you'll be able to download invoices in the XML format directly from the invoice screen.
How to Download an XML Invoice
Open the invoice you want to download.
Make sure the invoice has been finalized.
Click on the Download button.
From the dropdown, select Download under the e-invoice section.
Once selected, the system will initiate the validation process to ensure all required data is correctly entered for generating the XRechnung XML file.
Requirements for Generating the XRechnung XML
To successfully generate an XRechnung XML file, ensure the following:
1. Invoice Information
Invoice must be finalized (it must have an invoice number).
π Learn more about invoice numbering options here.
β
2. Client (Bill To) Information
The invoice must contain the following information about the client (invoice recipient):
Client Company Email: Add the client's email under CRM > Companies > Organization Info.
The first "Work" email address entered will automatically be included in the XML invoice.
βBuyer Reference: This field is required when e-invoicing is enabled, and XRechnung is selected.
Adjust it in CRM > Companies > Info tab > E-Invoicing Settings.
βOptional for the Client: The Tax ID field is treated as the VAT ID (Umsatzsteuer-ID) in the XML file. The Umsatzsteuer-Identifikationsnummer (USt-IdNr) follows the format
DE123456789.
3. Sender (Bill From) Information
The invoice must contain the following information about the subsidiary (invoice sender):
Full Company Name, Street, City, ZIP, State, and Country
Mandatory for the Subsidiary: The Tax ID field is treated as the VAT ID (Umsatzsteuer-ID) in the XML file.
The Umsatzsteuer-Identifikationsnummer (USt-IdNr) follows the format
DE123456789.
4. Subsidiary Bank Account (Pay To) Information
A bank account for the subsidiary sending the invoice needs to be created in Settings > Company Info > Bank Accounts.
β
βMandatory Bank Account Fields:
Bank Account Name
Bank Name
Account Number
Currency
BIC/SWIFT
π Note: Without a valid bank account, the XML file cannot be generated.
β
Validation Status
Once the validation is complete:
1) Successful Validation
A "Download e-Invoice XRechnung" popup will appear and you can proceed with your e-invoice download.
β
2) Validation Errors
If any errors are detected, a popup will display all the issues encountered. These error messages will be human-readable and easy to understand.
β
π Example Error Messages:
"Bill From telephone number must have at least three digits."
"Bill from city is missing"
β
Troubleshooting Validation Errors
If errors occur during validation, check the following:
Buyer Reference: Ensure it is entered for the client in CRM > Companies.
Tax IDs: Verify that both the sender and client Tax IDs (Umsatzsteuer-ID) are in the correct format (
DE123456789
). Note: The clientβs Tax ID is optional.Bank Account: Confirm that a valid bank account is set up for the subsidiary.
Company Details: Ensure all mandatory fields are filled in, including email.
π For further assistance, review your e-invoicing settings in Set Up for Sending XRechnung Invoices.