Introduction

ZUGFeRD is a German standard for electronic invoicing designed to bridge the gap between traditional invoices and digital formats. ZUGFeRD combines a standard PDF/A-3 invoice with an embedded XML file containing the structured data. This hybrid approach makes it especially popular in B2B transactions, as it allows both people and accounting software to work with the same document. It is fully aligned with the European Norm EN 16931. It is worth noting that ZUGFeRD and Factur-X are a joint project between Germany and France, and their content is identical.
When referring to syntaxes, it is important to note that X-Rechnung, ZUGFeRD and Factur-X are all semantic data models. What this means is that they define the data that must be present in the invoice, but not the actual format of the data or the explicit name of the fields.To implement the semantic models, there are two syntaxes approved by the EU: UN/CEFACT Cross Industry Invoice (CII) and OpenOasis Universal Business Language (UBL).

Prerequisites

To convert invoices to ZUGFeRD format, ensure you have:
  • A valid API key and a basic understanding of the workflow engine and API.
  • An invoice with:
    • Supplier details (company name and required identities). Check the German regimes for specifics.
    • Line items with name, price, and applicable taxes.

ZUGFeRD Setup

To issue ZUGFeRD invoices, follow these instructions in the Invopop Console:
1

Connect the UN/CEFACT CII app

  1. Navigate to ConfigurationApps.
  2. Locate UN/CEFACT CII in the app discovery list.
  3. Click Connect to activate.
No additional configuration is needed.

Running

In your invoice data, make sure to include the ZUGFeRD addon and state the regime as DE.
Invopop uses the GOBL library to process conversions. GOBL’s implementation of XRechnung validates national business rules in addition to the rules defined in EN 16931-1. Some example invoices are provided below, along with an example workflow to send the invoices to. We also recommend using the GOBL Builder to create your own invoices. Be sure to set the regime field to DE in your invoices and include the ZUGFeRD addon. This will add extra validations to ensure the document is compliant with each standard.

Sample Invoices

You can now generate invoices in the two formats via the API or console. For more details, visit the GOBL docs or contact Invopop Support.

FAQ