From 416a0cb09e6a2e7b91c6ea0ed549f6a2fbae56c9 Mon Sep 17 00:00:00 2001 From: jstaerk Date: Sat, 18 Dec 2021 11:50:10 +0100 Subject: [PATCH] updated en16931 validation to version 1.3.7 --- History.md | 3 + .../xslt/EN16931-CII-validation.xslt | 237 ++++++++++-------- 2 files changed, 136 insertions(+), 104 deletions(-) diff --git a/History.md b/History.md index 4e028a3f..e62b5651 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,6 @@ +add signature comment into xml +upgraded en16931 validation to 1.3.7 + 2.3.2 ======= 2021-12-16 diff --git a/validator/src/main/resources/xslt/EN16931-CII-validation.xslt b/validator/src/main/resources/xslt/EN16931-CII-validation.xslt index f5c5d6c0..d8d94fda 100644 --- a/validator/src/main/resources/xslt/EN16931-CII-validation.xslt +++ b/validator/src/main/resources/xslt/EN16931-CII-validation.xslt @@ -4,6 +4,8 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> + @@ -242,7 +244,7 @@ - [BR-51]-The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. + [BR-51]-Only the last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. @@ -609,9 +611,9 @@ - + - + BR-CO-10 fatal @@ -669,21 +671,6 @@ - - - - BR-CO-15 - fatal - - - - [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - - - - - @@ -1065,6 +1052,21 @@ + + + + BR-CO-15 + fatal + + + + [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). + + + + + + @@ -1586,7 +1588,7 @@ - [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. + [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. @@ -1923,9 +1925,9 @@ - + - + BR-CO-09 fatal @@ -1939,8 +1941,8 @@ - - + + @@ -2103,9 +2105,9 @@ - + - + BR-AF-08 fatal @@ -2262,9 +2264,9 @@ - + - + BR-AG-08 fatal @@ -2416,8 +2418,8 @@ - - + + @@ -2575,8 +2577,8 @@ - - + + @@ -2734,8 +2736,8 @@ - - + + @@ -2928,9 +2930,9 @@ - + - + BR-O-08 fatal @@ -3306,9 +3308,9 @@ - + - + BR-Z-08 fatal @@ -3540,9 +3542,9 @@ - + - + BR-CO-17 fatal @@ -3593,7 +3595,7 @@ - + @@ -3749,7 +3751,7 @@ - + @@ -4040,7 +4042,7 @@ - + @@ -4061,7 +4063,7 @@ - + @@ -4126,6 +4128,27 @@ + + + + CII-SR-221 + warning + + + + [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present + + + + + + + + + + + + @@ -4213,26 +4236,11 @@ - - - - - - - CII-SR-221 - warning - - - - [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present - - - - + @@ -5078,7 +5086,7 @@ - + @@ -5114,7 +5122,7 @@ - + @@ -5900,7 +5908,7 @@ - + @@ -6175,9 +6183,9 @@ - + - + CII-SR-169 warning @@ -6205,9 +6213,9 @@ - + - + CII-SR-171 warning @@ -6311,7 +6319,7 @@ - + @@ -6947,7 +6955,7 @@ - + @@ -8273,7 +8281,7 @@ - + @@ -8759,7 +8767,7 @@ - + @@ -10055,7 +10063,7 @@ - + @@ -10211,7 +10219,7 @@ - + @@ -10262,7 +10270,7 @@ - + @@ -10298,7 +10306,7 @@ - + @@ -10364,7 +10372,7 @@ - + @@ -10415,7 +10423,7 @@ - + @@ -10451,7 +10459,7 @@ - + @@ -10502,7 +10510,7 @@ - + @@ -10568,7 +10576,7 @@ - + @@ -10814,7 +10822,7 @@ - + @@ -10850,7 +10858,7 @@ - + @@ -10916,7 +10924,7 @@ - + @@ -11342,7 +11350,7 @@ - + @@ -11558,7 +11566,7 @@ - + @@ -11772,6 +11780,27 @@ + + + + + + + + + + + CII-DT-097 + fatal + + + + [CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD. + + + + + @@ -11933,9 +11962,9 @@ - + - + BR-CL-10 fatal @@ -11954,9 +11983,9 @@ - + - + BR-CL-11 fatal @@ -11975,9 +12004,9 @@ - + - + BR-CL-13 fatal @@ -11996,9 +12025,9 @@ - + - + BR-CL-14 fatal @@ -12017,9 +12046,9 @@ - + - + BR-CL-15 fatal @@ -12143,9 +12172,9 @@ - + - + BR-CL-21 fatal @@ -12186,9 +12215,9 @@ - + - + BR-CL-23 fatal @@ -12207,9 +12236,9 @@ - + - + BR-CL-24 fatal @@ -12228,9 +12257,9 @@ - + - + BR-CL-25 fatal @@ -12249,9 +12278,9 @@ - + - + BR-CL-26 fatal