From a49e182609352f77b75e3c1ed4f86f242fc80602 Mon Sep 17 00:00:00 2001 From: oriol Date: Sat, 6 Apr 2024 16:57:54 +0200 Subject: [PATCH] codes changed closes #372 --- cii/schematron/codelist/EN16931-CII-codes.sch | 14 +++++----- .../EN16931-CII-validation-preprocessed.sch | 14 +++++----- cii/xslt/EN16931-CII-validation.xslt | 28 +++++++++---------- ubl/schematron/codelist/EN16931-UBL-codes.sch | 14 +++++----- .../EN16931-UBL-validation-preprocessed.sch | 14 +++++----- ubl/xslt/EN16931-UBL-validation.xslt | 28 +++++++++---------- 6 files changed, 56 insertions(+), 56 deletions(-) diff --git a/cii/schematron/codelist/EN16931-CII-codes.sch b/cii/schematron/codelist/EN16931-CII-codes.sch index 1ff7094f..1066be19 100644 --- a/cii/schematron/codelist/EN16931-CII-codes.sch +++ b/cii/schematron/codelist/EN16931-CII-codes.sch @@ -14,21 +14,21 @@ [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 @@ -72,7 +72,7 @@ [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -93,7 +93,7 @@ [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list @@ -125,7 +125,7 @@ context="ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator = true()]/ram:ReasonCode" flag="fatal"> [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list @@ -140,7 +140,7 @@ [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list diff --git a/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch b/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch index 0588c237..37f86774 100644 --- a/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch +++ b/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch @@ -946,13 +946,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2475. @@ -970,7 +970,7 @@ [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. + [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. [BR-CL-14]-Country codes in an invoice MUST be coded using ISO code list 3166-1 @@ -979,7 +979,7 @@ [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list + [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list [BR-CL-17]-Invoice tax categories MUST be coded using UNCL 5305 code list @@ -991,14 +991,14 @@ [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list + [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension diff --git a/cii/xslt/EN16931-CII-validation.xslt b/cii/xslt/EN16931-CII-validation.xslt index 78a99b2c..0f5bdf75 100644 --- a/cii/xslt/EN16931-CII-validation.xslt +++ b/cii/xslt/EN16931-CII-validation.xslt @@ -11915,9 +11915,9 @@ - + - + BR-CL-03 fatal @@ -11936,9 +11936,9 @@ - + - + BR-CL-04 fatal @@ -11957,9 +11957,9 @@ - + - + BR-CL-05 fatal @@ -12083,9 +12083,9 @@ - + - + BR-CL-13 fatal @@ -12146,9 +12146,9 @@ - + - + BR-CL-16 fatal @@ -12230,9 +12230,9 @@ - + - + BR-CL-20 fatal @@ -12273,9 +12273,9 @@ - + - + BR-CL-22 fatal diff --git a/ubl/schematron/codelist/EN16931-UBL-codes.sch b/ubl/schematron/codelist/EN16931-UBL-codes.sch index e4f381c4..48197590 100644 --- a/ubl/schematron/codelist/EN16931-UBL-codes.sch +++ b/ubl/schematron/codelist/EN16931-UBL-codes.sch @@ -15,20 +15,20 @@ [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 @@ -63,7 +63,7 @@ [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -86,7 +86,7 @@ [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list @@ -118,7 +118,7 @@ context="cac:AllowanceCharge[cbc:ChargeIndicator = true()]/cbc:AllowanceChargeReasonCode" flag="fatal"> [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list @@ -132,7 +132,7 @@ [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list diff --git a/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch b/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch index e5289e9f..9fe93541 100644 --- a/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch +++ b/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch @@ -1149,13 +1149,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2005. @@ -1170,7 +1170,7 @@ [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be + [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -1180,7 +1180,7 @@ [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list + [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list [BR-CL-17]-Invoice tax categories MUST be coded using UNCL5305 code list @@ -1192,13 +1192,13 @@ [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list + [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with diff --git a/ubl/xslt/EN16931-UBL-validation.xslt b/ubl/xslt/EN16931-UBL-validation.xslt index b0a53e19..96a1733c 100644 --- a/ubl/xslt/EN16931-UBL-validation.xslt +++ b/ubl/xslt/EN16931-UBL-validation.xslt @@ -15097,9 +15097,9 @@ - + - + BR-CL-03 fatal @@ -15118,9 +15118,9 @@ - + - + BR-CL-04 fatal @@ -15139,9 +15139,9 @@ - + - + BR-CL-05 fatal @@ -15244,9 +15244,9 @@ - + - + BR-CL-13 fatal @@ -15308,9 +15308,9 @@ - + - + BR-CL-16 fatal @@ -15392,9 +15392,9 @@ - + - + BR-CL-20 fatal @@ -15434,9 +15434,9 @@ - + - + BR-CL-22 fatal