Viewing E-Invoices

yuuvis® RAD 10.x »

E-invoices as *.xml files can be displayed in the preview via an XSL transformation.

The e-invoices require the 'application/xml' or 'text/xml' mimetype.

The following e-invoice formats are supported:

  • CrossIndustryInvoice: XRechnung invoice with the syntax CII or UNCEFACT, which is also used for the *.xml file attached in the ZUGFeRD PDF, or a Factur-X invoice, which is also just an *.xml file

  • ZUGFeRD 2.3.3

  • Factur-X 1.07.3

  • Invoice: XRechnung invoice with the syntax UBL

  • CreditNote: *.xml file with the syntax UBL

  • CrossIndustryDocument: used in the ZUGFeRD Version 1 XML. This e-invoice format is no longer legally compliant.

Language files for designations are integrated into the XSL transformation. Language files are available in German and English. English is used for every language except German.

Language files for other languages can be created and integrated on the basis of the German or English language file.

We are not liable for the display of this data from e-invoices. For security reasons, load the *.xml file in an ASCII viewer and use the value of the relevant XML tag.

Integrating the XSL Transformation

You integrate the XML transformation for e-invoices as *.xml files via the project-specific extend.json configuration file.

You specify the document types whose files are to be displayed after the transformation:

{
   "preview": {
      "xmlInvoiceObjectTypes": ["invoice","order"]
   }
}

The document types are specified via the technical names.

Creating Language Files for the XSL Transformation

The de.json and en.json language files are installed for the XSL transformation.

Path: \service-manager\webresource\public\client\assets_default\api\xrechnung\i18n

You can use these language files as templates for other language files. These need to be saved in the same path and require the language code of the corresponding language as the name. Example: fr.json:

Example of an entry from the en.json language file:

"yuv.media.viewer.e.invoice.bt5": "Currency",

Replace the language-specific value with the desired value in the corresponding language.