Herzlich willkommen

Invoice Settings

The Invoice Settings group controls how the generated e-invoice is attached to the Magento invoice email and whether the XML is embedded in the PDF.

Invoice Settings
Invoice Settings
  • Attach e-invoice XML to invoice email (invoice/attach_xml_to_email): Attaches the generated XML file to the invoice email.
  • Embed e-invoice XML in PDF (invoice/add_xml_to_pdf): Generates a hybrid ZUGFeRD PDF into which the CII XML is embedded. The PDF thus contains both the human-readable presentation and the machine-readable data.
  • Attach PDF to invoice email (invoice/attach_pdf_to_email): Attaches the (possibly hybrid) PDF to the invoice email.

Embedding the XML in the PDF (ZUGFeRD hybrid) works with the standard Magento PDF as well as currently with the PDF modules Magetrend and Mageplaza. Regardless of this, the XML file is always available as a separate download and email attachment.

For classic B2B dispatch, the hybrid PDF (XML in PDF) plus an optional XML attachment is recommended. For pure XRechnung transmission to the public sector, the XML file is sufficient.