Skip to content

horstoeko/zugferd

Repository files navigation

ZUGFeRD/XRechnung/Factur-X

Status

Latest Stable Version PHP version License

CI Release Status

Table of Contents

Latest information

Tip

I would like to thank you very much for the great encouragement and the fantastic contributions on your part. I wish you all a successful new year 2025 and hope that all the work on this library shows its positive results.

License

The code in this project is provided under the MIT license.

Overview

With horstoeko/zugferd you can read and write xml files containing electronic invoice data in the Minimum-, Basic-, EN16931-, Extended- and XRechnung Profile. In addition, it is possible to attach the XML data to an existing PDF file, which was created from an ERP system, for example. If both an XML file (or XML string) and a PDF file (or a PDF in the form of a string) exist, then a compliant PDF file with attachment can be created using the ZugferdDocumentPdfMerger class.

The advantage of this library is that you don't have to worry about whether a particular XML element exists in a desired profile - you can use the same program code for all supported profiles.

Supported profiles

  • EN16931 Minimum
  • EN16931 Basic
  • EN16931 Basic WL
  • EN16931 Comfort
  • EN16931 Extended
  • EN16931 XRechnung 1.x
  • EN16931 XRechnung 2.x
  • EN16931 XRechnung 3.x

Important

This package provides only support for CII-Syntax - not UBL-Syntax

Further information

Related projects

Dependencies

This package makes use of

Resources

Guide

For detailed explanation you may have a look in the examples of this package, the documentation attached to every release or our wiki.

The following parts are documentated in our Wiki: