diff --git a/library/src/main/resources/stylesheets/cii-xr.xsl b/library/src/main/resources/stylesheets/cii-xr.xsl
index 421fe673..a5477125 100644
--- a/library/src/main/resources/stylesheets/cii-xr.xsl
+++ b/library/src/main/resources/stylesheets/cii-xr.xsl
@@ -1,2597 +1,2607 @@
-
-
-
-
-
- Author:
- KoSIT Bremen (kosit@finanzen.bremen.de)
-
- Fassung vom: 2020-06-30+02:00
- modifiziert durch Dr. Jan Thiele am: 2021-02-11+01:00
- Überführt eine zur EN 16931 konforme elektronische Rechnung in der konkreten Syntax UNCEFACT.CII.D16B
- in eine Instanz gemäß des Schemas für den Namensraum
- urn:ce.eu:en16931:2017:xoev-de:kosit:standard:xrechnung-1.
-
- Das Skript setzt voraus, dass das zu verarbeitende Dokument valide bzgl. des XML Schemas und der
- Schematron-Regeln der Quelle ist. Für nicht valide Dokumente ist das Ergebnis nicht definiert.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #SKONTO#
-
- TAGE
- WOCHEN
-
- =#PROZENT=#
-
-
-
-
-
-
- ;
-
-
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-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ILLEGAL DATE FORMAT: <para>Mit diesem Datentyp wird ein kalendarisches Datum
- abgebildet, wie es in der ISO 8601 Spezifikation <quote>Calendar date complete representation</quote>
- beschrieben ist (siehe ISO 8601:2004, Abschnitt 5.2.1.1). Das Datum beinhaltet keine Zeitangabe. Das
- konkret zu verwendende Format ist abhängig von der genutzten Syntax.</para>
- <para>Der Datentyp basiert auf dem Typ <quote>Date Time. Type</quote>, wie in ISO
- 15000-5:2014 Anhang B definiert.</para>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Liefert einen XPath-Pfad, welches $n eindeutig identifiziert.
-
-
-
-
-
-
-
-
-
-
- Liefert einen XPath-Pfad, welches $n eindeutig identifiziert.
-
-
-
-
- /
-
-
- [
-
- ]
-
-
-
- /@
-
-
-
+
+
+
+
+
+ Author:
+ KoSIT Bremen (kosit@finanzen.bremen.de)
+
+ Fassung vom: 2020-06-30+02:00
+ modifiziert durch Dr. Jan Thiele am: 2021-02-11+01:00
+ Überführt eine zur EN 16931 konforme elektronische Rechnung in der konkreten Syntax UNCEFACT.CII.D16B
+ in eine Instanz gemäß des Schemas für den Namensraum
+ urn:ce.eu:en16931:2017:xoev-de:kosit:standard:xrechnung-1.
+
+ Das Skript setzt voraus, dass das zu verarbeitende Dokument valide bzgl. des XML Schemas und der
+ Schematron-Regeln der Quelle ist. Für nicht valide Dokumente ist das Ergebnis nicht definiert.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #SKONTO#
+
+ TAGE
+ WOCHEN
+
+ =#PROZENT=#
+
+
+
+
+
+
+ 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ILLEGAL DATE FORMAT: <para>Mit diesem Datentyp wird ein kalendarisches Datum
+ abgebildet, wie es in der ISO 8601 Spezifikation <quote>Calendar date complete representation</quote>
+ beschrieben ist (siehe ISO 8601:2004, Abschnitt 5.2.1.1). Das Datum beinhaltet keine Zeitangabe. Das
+ konkret zu verwendende Format ist abhängig von der genutzten Syntax.</para>
+ <para>Der Datentyp basiert auf dem Typ <quote>Date Time. Type</quote>, wie in ISO
+ 15000-5:2014 Anhang B definiert.</para>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Liefert einen XPath-Pfad, welches $n eindeutig identifiziert.
+
+
+
+
+
+
+
+
+
+
+ Liefert einen XPath-Pfad, welches $n eindeutig identifiziert.
+
+
+
+
+ /
+
+
+ [
+
+ ]
+
+
+
+ /@
+
+
+
diff --git a/library/src/main/resources/stylesheets/xrechnung-html.de.xsl b/library/src/main/resources/stylesheets/xrechnung-html.de.xsl
index 55da04b4..f3f89253 100644
--- a/library/src/main/resources/stylesheets/xrechnung-html.de.xsl
+++ b/library/src/main/resources/stylesheets/xrechnung-html.de.xsl
@@ -1,227 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/library/src/main/resources/stylesheets/xrechnung-html.en.xsl b/library/src/main/resources/stylesheets/xrechnung-html.en.xsl
index dd251fb7..a17295f1 100644
--- a/library/src/main/resources/stylesheets/xrechnung-html.en.xsl
+++ b/library/src/main/resources/stylesheets/xrechnung-html.en.xsl
@@ -1,227 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/library/src/main/resources/stylesheets/xrechnung-html.fr.xsl b/library/src/main/resources/stylesheets/xrechnung-html.fr.xsl
index ccbafdd0..b085010e 100644
--- a/library/src/main/resources/stylesheets/xrechnung-html.fr.xsl
+++ b/library/src/main/resources/stylesheets/xrechnung-html.fr.xsl
@@ -1,227 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/library/src/main/resources/stylesheets/xrechnung-html.univ.xsl b/library/src/main/resources/stylesheets/xrechnung-html.univ.xsl
index 9a7af0c0..b668a188 100644
--- a/library/src/main/resources/stylesheets/xrechnung-html.univ.xsl
+++ b/library/src/main/resources/stylesheets/xrechnung-html.univ.xsl
@@ -2235,6 +2235,10 @@ function downloadData (element_id) {
:
+
:
diff --git a/library/src/test/resources/factur-x-vis-extended.de.html b/library/src/test/resources/factur-x-vis-extended.de.html
index 1d63ba13..94b5ac8b 100644
--- a/library/src/test/resources/factur-x-vis-extended.de.html
+++ b/library/src/test/resources/factur-x-vis-extended.de.html
@@ -2247,6 +2247,10 @@
Kennung der Versandanzeige:
+
+
Kennung des Lieferscheins:
+
L87654321012
+
Prozesskennung:
diff --git a/library/src/test/resources/factur-x-vis-ubl-creditnote.en.html b/library/src/test/resources/factur-x-vis-ubl-creditnote.en.html
index 1c7b7237..4c63e9c9 100644
--- a/library/src/test/resources/factur-x-vis-ubl-creditnote.en.html
+++ b/library/src/test/resources/factur-x-vis-ubl-creditnote.en.html
@@ -2354,6 +2354,10 @@
Dispatch note ID:
+
Process ID:
diff --git a/library/src/test/resources/factur-x-vis-ubl.en.html b/library/src/test/resources/factur-x-vis-ubl.en.html
index 65e10274..9903b576 100644
--- a/library/src/test/resources/factur-x-vis-ubl.en.html
+++ b/library/src/test/resources/factur-x-vis-ubl.en.html
@@ -1,1948 +1,1952 @@
-
-
-
-
-
-
XRechnung
-
-
-
-
-
-
-
-
-
We accept no liability for the correctness of the data
-
-
-
-
Buyer Information
-
-
-
Routing ID:
-
04011000-12345-03
-
-
-
-
Street / house number:
-
[Buyer address line 1]
-
-
-
-
-
-
Place:
-
[Buyer city]
-
-
-
-
Country:
-
DE (Deutschland)
-
-
-
ID:
-
[Buyer identifier]
-
-
-
-
-
-
-
-
-
-
Seller Information
-
-
-
-
Company name:
-
[Seller name]
-
-
-
Street / house number:
-
[Seller address line 1]
-
-
-
-
-
-
Place:
-
[Seller city]
-
-
-
-
Country code:
-
DE (Deutschland)
-
-
-
-
-
Name:
-
nicht vorhanden
-
-
-
Phone:
-
+49 1234-5678
-
-
-
E-mail address:
-
seller@email.de
-
-
-
-
-
-
-
-
-
Invoice details
-
-
-
-
-
Seller Information:
-
123456XX
-
-
-
Invoice date:
-
4.4.2016
-
-
-
Invoice type:
-
380 (Commercial invoice)
-
-
-
Currency
-
EUR (Euro)
-
-
-
Billing period:
-
-
-
-
-
-
-
-
-
-
-
-
Total amounts of the invoice
-
-
-
Line total
-
netto
-
314,86
-
-
-
Total discounts
-
netto
-
-
-
-
Total charges
-
netto
-
-
-
-
Grand total
-
netto
-
314,86
-
-
-
-
-
Grand total
-
brutto
-
336,90
-
-
-
Amount paid
-
brutto
-
-
-
-
rounding amount
-
brutto
-
-
-
-
Amount Due
-
brutto
-
336,90
-
-
-
-
-
-
-
-
-
Breakdown of VAT at invoice level
-
-
-
VAT category: S (Standard rate)
-
-
-
-
-
Grand total
-
netto
-
314,86
-
-
-
-
-
-
Reason for exemption::
-
ID for the exemption reason::
-
-
-
-
-
-
-
-
-
Direct debit
-
-
-
Mandate Reference No:
-
-
-
-
-
-
-
-
Transfer
-
-
-
-
IBAN:
-
DE75512108001245126199
-
-
-
-
-
-
-
-
-
-
Invoice Comment
-
-
-
-
Comment:
-
#ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden.
-
-
-
-
-
-
-
-
We accept no liability for the correctness of the data
-
-
-
-
LineZeitschrift [...]
-
-
-
Free text:
-
Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung
- erfolgt / erfolgte direkt vom Verlag
-
-
-
-
-
Order line number:
-
6171175.1
-
-
-
Account assignment information:
-
-
-
Billing period:
-
-
-
-
-
-
Price details
-
-
-
-
-
Unit price (net)
-
288,79
-
-
-
Total price (net)
-
288,79
-
-
-
-
-
-
-
-
Unit of measure code:
-
-
-
-
VAT:
-
S (Standard rate)
-
-
-
VAT rate in percent:
-
7%
-
-
-
-
-
-
-
-
-
Allowances at line level
-
-
-
Charges at invoice line level
-
-
-
-
-
-
-
Item Information
-
-
-
-
-
-
Name:
-
Zeitschrift [...]
-
-
-
Description:
-
Zeitschrift Inland
-
-
-
-
Customer's material number:
-
-
-
Article properties:
-
-
-
-
-
-
-
-
-
Item classification code:
-
0721-880X
-
-
-
Identifier to form the schema:
-
IB (ISBN (International Standard Book Number))
-
-
-
Version for creating the schema:
-
-
-
-
Country of origin code:
-
-
-
-
-
-
-
-
-
-
-
-
-
LinePorto + Versandkosten
-
-
-
-
-
-
-
Account assignment information:
-
-
-
Billing period:
-
-
-
-
-
-
Price details
-
-
-
-
-
Unit price (net)
-
26,07
-
-
-
Total price (net)
-
26,07
-
-
-
-
-
-
-
-
Unit of measure code:
-
-
-
-
VAT:
-
S (Standard rate)
-
-
-
VAT rate in percent:
-
7%
-
-
-
-
-
-
-
-
-
Allowances at line level
-
-
-
Charges at invoice line level
-
-
-
-
-
-
-
Item Information
-
-
-
-
-
-
Name:
-
Porto + Versandkosten
-
-
-
-
-
Customer's material number:
-
-
-
Article properties:
-
-
-
-
-
-
-
-
-
Item classification code:
-
-
-
-
Identifier to form the schema:
-
-
-
-
Version for creating the schema:
-
-
-
-
Country of origin code:
-
-
-
-
-
-
-
-
-
-
-
-
We accept no liability for the correctness of the data
-
-
-
-
Seller Information
-
-
-
Differing trade name:
-
[Seller trading name]
-
-
-
-
Electronic address:
-
seller@email.de
-
-
-
Electronic address scheme:
-
EM (Electronic mail)
-
-
-
Register number:
-
[HRA-Eintrag]
-
-
-
VAT ID:
-
DE 123456789
-
-
-
-
-
Further legal information:
-
123/456/7890, HRA-Eintrag in […]
-
-
-
-
-
-
-
-
-
-
-
Buyer Information
-
-
-
Differing trade name:
-
-
-
-
-
E-mail address:
-
buyer@info.de
-
-
-
Electronic address scheme:
-
EM (Electronic mail)
-
-
-
-
Scheme of register/register number:
-
-
-
-
-
-
VAT Statement Date Code:
-
-
-
-
Account assignment information:
-
-
-
-
-
-
-
-
-
-
-
Contract Information
-
-
-
-
Receipt confirmation ID:
-
-
-
-
-
-
Specification ID:
-
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
-
-
-
-
-
-
-
-
-
-
-
We accept no liability for the correctness of the data
-
-
-
-
Documents justifying the invoice
-
-
-
-
-
-
-
-
+
+
+
+
+
+
XRechnung
+
+
+
+
+
+
+
+
+
We accept no liability for the correctness of the data
+
+
+
+
Buyer Information
+
+
+
Routing ID:
+
04011000-12345-03
+
+
+
+
Street / house number:
+
[Buyer address line 1]
+
+
+
+
+
+
Place:
+
[Buyer city]
+
+
+
+
Country:
+
DE (Deutschland)
+
+
+
ID:
+
[Buyer identifier]
+
+
+
+
+
+
+
+
+
+
Seller Information
+
+
+
+
Company name:
+
[Seller name]
+
+
+
Street / house number:
+
[Seller address line 1]
+
+
+
+
+
+
Place:
+
[Seller city]
+
+
+
+
Country code:
+
DE (Deutschland)
+
+
+
+
+
Name:
+
nicht vorhanden
+
+
+
Phone:
+
+49 1234-5678
+
+
+
E-mail address:
+
seller@email.de
+
+
+
+
+
+
+
+
+
Invoice details
+
+
+
+
+
Seller Information:
+
123456XX
+
+
+
Invoice date:
+
4.4.2016
+
+
+
Invoice type:
+
380 (Commercial invoice)
+
+
+
Currency
+
EUR (Euro)
+
+
+
Billing period:
+
+
+
+
+
+
+
+
+
+
+
+
Total amounts of the invoice
+
+
+
Line total
+
netto
+
314,86
+
+
+
Total discounts
+
netto
+
+
+
+
Total charges
+
netto
+
+
+
+
Grand total
+
netto
+
314,86
+
+
+
+
+
Grand total
+
brutto
+
336,90
+
+
+
Amount paid
+
brutto
+
+
+
+
rounding amount
+
brutto
+
+
+
+
Amount Due
+
brutto
+
336,90
+
+
+
+
+
+
+
+
+
Breakdown of VAT at invoice level
+
+
+
VAT category: S (Standard rate)
+
+
+
+
+
Grand total
+
netto
+
314,86
+
+
+
+
+
+
Reason for exemption::
+
ID for the exemption reason::
+
+
+
+
+
+
+
+
+
Direct debit
+
+
+
Mandate Reference No:
+
+
+
+
+
+
+
+
Transfer
+
+
+
+
IBAN:
+
DE75512108001245126199
+
+
+
+
+
+
+
+
+
+
Invoice Comment
+
+
+
+
Comment:
+
#ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden.
+
+
+
+
+
+
+
+
We accept no liability for the correctness of the data
+
+
+
+
LineZeitschrift [...]
+
+
+
Free text:
+
Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung
+ erfolgt / erfolgte direkt vom Verlag
+
+
+
+
+
Order line number:
+
6171175.1
+
+
+
Account assignment information:
+
+
+
Billing period:
+
+
+
+
+
+
Price details
+
+
+
+
+
Unit price (net)
+
288,79
+
+
+
Total price (net)
+
288,79
+
+
+
+
+
+
+
+
Unit of measure code:
+
+
+
+
VAT:
+
S (Standard rate)
+
+
+
VAT rate in percent:
+
7%
+
+
+
+
+
+
+
+
+
Allowances at line level
+
+
+
Charges at invoice line level
+
+
+
+
+
+
+
Item Information
+
+
+
+
+
+
Name:
+
Zeitschrift [...]
+
+
+
Description:
+
Zeitschrift Inland
+
+
+
+
Customer's material number:
+
+
+
Article properties:
+
+
+
+
+
+
+
+
+
Item classification code:
+
0721-880X
+
+
+
Identifier to form the schema:
+
IB (ISBN (International Standard Book Number))
+
+
+
Version for creating the schema:
+
+
+
+
Country of origin code:
+
+
+
+
+
+
+
+
+
+
+
+
+
LinePorto + Versandkosten
+
+
+
+
+
+
+
Account assignment information:
+
+
+
Billing period:
+
+
+
+
+
+
Price details
+
+
+
+
+
Unit price (net)
+
26,07
+
+
+
Total price (net)
+
26,07
+
+
+
+
+
+
+
+
Unit of measure code:
+
+
+
+
VAT:
+
S (Standard rate)
+
+
+
VAT rate in percent:
+
7%
+
+
+
+
+
+
+
+
+
Allowances at line level
+
+
+
Charges at invoice line level
+
+
+
+
+
+
+
Item Information
+
+
+
+
+
+
Name:
+
Porto + Versandkosten
+
+
+
+
+
Customer's material number:
+
+
+
Article properties:
+
+
+
+
+
+
+
+
+
Item classification code:
+
+
+
+
Identifier to form the schema:
+
+
+
+
Version for creating the schema:
+
+
+
+
Country of origin code:
+
+
+
+
+
+
+
+
+
+
+
+
We accept no liability for the correctness of the data
+
+
+
+
Seller Information
+
+
+
Differing trade name:
+
[Seller trading name]
+
+
+
+
Electronic address:
+
seller@email.de
+
+
+
Electronic address scheme:
+
EM (Electronic mail)
+
+
+
Register number:
+
[HRA-Eintrag]
+
+
+
VAT ID:
+
DE 123456789
+
+
+
+
+
Further legal information:
+
123/456/7890, HRA-Eintrag in […]
+
+
+
+
+
+
+
+
+
+
+
Buyer Information
+
+
+
Differing trade name:
+
+
+
+
+
E-mail address:
+
buyer@info.de
+
+
+
Electronic address scheme:
+
EM (Electronic mail)
+
+
+
+
Scheme of register/register number:
+
+
+
+
+
+
VAT Statement Date Code:
+
+
+
+
Account assignment information:
+
+
+
+
+
+
+
+
+
+
+
Contract Information
+
+
+
+
Receipt confirmation ID:
+
+
+
+
+
+
+
Specification ID:
+
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
+
+
+
+
+
+
+
+
+
+
+
We accept no liability for the correctness of the data
+
+
+
+
Documents justifying the invoice
+
+
+
+
+
+
+
+
diff --git a/library/src/test/resources/factur-x-vis.fr.html b/library/src/test/resources/factur-x-vis.fr.html
index 176d36e4..e22b12ef 100644
--- a/library/src/test/resources/factur-x-vis.fr.html
+++ b/library/src/test/resources/factur-x-vis.fr.html
@@ -1924,6 +1924,10 @@
Identifiant du bordereau d'expédition:
+
+
Identifiant du bon de livraison:
+
+