From 2deff800e31086036aacbbc518a265208394fb60 Mon Sep 17 00:00:00 2001 From: jstaerk Date: Tue, 20 May 2025 08:53:20 +0200 Subject: [PATCH] updated schematrons --- .../schematron/ZF_233/FACTUR-X_BASIC-WL.sch | 584 +-- .../schematron/ZF_233/FACTUR-X_BASIC.sch | 758 +--- .../schematron/ZF_233/FACTUR-X_EN16931.sch | 1180 +----- .../schematron/ZF_233/FACTUR-X_EXTENDED.sch | 3508 +++-------------- .../schematron/ZF_233/FACTUR-X_MINIMUM.sch | 130 +- 5 files changed, 1164 insertions(+), 4996 deletions(-) diff --git a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC-WL.sch b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC-WL.sch index 29de139b..f1ce53ff 100644 --- a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC-WL.sch +++ b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC-WL.sch @@ -1,5 +1,5 @@ - Schema for Factur-X; 1.07.2; Accounting, BASIC without Lines + Schema for Factur-X; 1.07.3; Accounting, BASIC without Lines @@ -170,7 +170,7 @@ - + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). @@ -242,7 +242,7 @@ - + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). @@ -318,20 +318,20 @@ [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. @@ -438,6 +438,20 @@ [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + @@ -445,114 +459,76 @@ Element 'ram:TypeCode' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Content' must occur exactly 1 times. Element 'ram:SubjectCode' may occur at maximum 1 times. - - - + Value of 'ram:SubjectCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - - + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:SellerTradeParty' must occur exactly 1 times. Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -567,111 +543,71 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -680,66 +616,44 @@ Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - Element 'ram:GlobalID' is marked as not used in the given context. - - Element 'ram:ID' is marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -752,201 +666,127 @@ Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - + - + Value of '@schemeID' is not allowed. - - Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. Element 'ram:GlobalID' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:PaymentReference' may occur at maximum 1 times. @@ -961,8 +801,6 @@ Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -973,114 +811,68 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - - + Value of 'ram:DueDateTypeCode' is not allowed. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:InvoiceCurrencyCode' is not allowed. - - - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1089,70 +881,46 @@ Element 'ram:Name' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -1161,79 +929,55 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -1242,106 +986,72 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:Description' may occur at maximum 1 times. Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. @@ -1362,124 +1072,82 @@ Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - - - - Value of '@currencyID' is not allowed. - - - Attribute '@currencyID' is required in this context. - - - - - - + + Value of '@currencyID' is not allowed. - - Attribute '@currencyID' is required in this context. + + + Value of '@currencyID' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IBANID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:TaxCurrencyCode' is not allowed. diff --git a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC.sch b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC.sch index 9a8304eb..2fad9ccf 100644 --- a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC.sch +++ b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_BASIC.sch @@ -1,5 +1,5 @@ - Schema for Factur-X; 1.07.2; EN16931-COMPLIANT-BASIC + Schema for Factur-X; 1.07.3; EN16931-COMPLIANT-BASIC @@ -252,7 +252,7 @@ - + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). @@ -324,7 +324,7 @@ - + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). @@ -402,20 +402,20 @@ [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. @@ -556,7 +556,7 @@ - + [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). @@ -634,6 +634,20 @@ [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + @@ -641,120 +655,80 @@ Element 'ram:TypeCode' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Content' must occur exactly 1 times. Element 'ram:SubjectCode' may occur at maximum 1 times. - - - + Value of 'ram:SubjectCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - - + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - Element 'ram:SellerTradeParty' must occur exactly 1 times. Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -769,111 +743,71 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -882,66 +816,44 @@ Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - Element 'ram:GlobalID' is marked as not used in the given context. - - Element 'ram:ID' is marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -954,201 +866,127 @@ Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - + - + Value of '@schemeID' is not allowed. - - Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. Element 'ram:GlobalID' may occur at maximum 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:PaymentReference' may occur at maximum 1 times. @@ -1163,8 +1001,6 @@ Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -1175,114 +1011,68 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - - + Value of 'ram:DueDateTypeCode' is not allowed. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:InvoiceCurrencyCode' is not allowed. - - - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1291,70 +1081,46 @@ Element 'ram:Name' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -1363,79 +1129,55 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -1444,106 +1186,72 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:Description' may occur at maximum 1 times. Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. @@ -1564,128 +1272,84 @@ Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - - - - Value of '@currencyID' is not allowed. - - - Attribute '@currencyID' is required in this context. - - - - - - + + Value of '@currencyID' is not allowed. - - Attribute '@currencyID' is required in this context. + + + Value of '@currencyID' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IBANID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:TaxCurrencyCode' is not allowed. - - Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. @@ -1696,352 +1360,236 @@ Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. - - Element 'ram:LineID' must occur exactly 1 times. Element 'ram:IncludedNote' may occur at maximum 1 times. - - Element 'ram:Content' must occur exactly 1 times. - - Element 'ram:SubjectCode' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - Element 'ram:ChargeAmount' must occur exactly 1 times. Element variant 'ram:AppliedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="false"]' may occur at maximum 1 times. - - Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - Element 'ram:Reason' is marked as not used in the given context. - - Element 'ram:ReasonCode' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - Element 'ram:ApplicableTradeTax' must occur exactly 1 times. Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. diff --git a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EN16931.sch b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EN16931.sch index 86eefe5a..dc295305 100644 --- a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EN16931.sch +++ b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EN16931.sch @@ -1,5 +1,5 @@ - Schema for Factur-X; 1.07.2; EN16931-COMPLIANT (FULLY) + Schema for Factur-X; 1.07.3; EN16931-COMPLIANT (FULLY) @@ -264,7 +264,7 @@ - + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). @@ -336,7 +336,7 @@ - + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). @@ -414,20 +414,20 @@ [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. @@ -568,7 +568,7 @@ - + [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). @@ -646,6 +646,20 @@ [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + @@ -653,235 +667,155 @@ Element 'ram:TypeCode' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Content' must occur exactly 1 times. Element 'ram:SubjectCode' may occur at maximum 1 times. - - - + Value of 'ram:SubjectCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - - + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - Element 'ram:SellerTradeParty' must occur exactly 1 times. Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - Element variant 'ram:AdditionalReferencedDocument[ not(ram:TypeCode="916") and not(ram:TypeCode="50") and not(ram:TypeCode="130")]' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. @@ -892,114 +826,76 @@ Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - Attribute '@mimeCode' is required in this context. + + + Value of '@mimeCode' is not allowed. Attribute '@filename' is required in this context. - - - - - - Value of '@mimeCode' is not allowed. - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1016,249 +912,161 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -1267,90 +1075,58 @@ Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Element 'ram:GlobalID' is marked as not used in the given context. - - Element 'ram:ID' is marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -1367,369 +1143,235 @@ Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. Element 'ram:GlobalID' may occur at maximum 1 times. - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - Element 'ram:PaymentReference' may occur at maximum 1 times. @@ -1744,8 +1386,6 @@ Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -1756,175 +1396,103 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - - + Value of 'ram:DueDateTypeCode' is not allowed. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:InvoiceCurrencyCode' is not allowed. - - - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1933,82 +1501,54 @@ Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -2017,85 +1557,59 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -2104,112 +1618,76 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:Description' may occur at maximum 1 times. Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. @@ -2232,88 +1710,56 @@ Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - - - - Value of '@currencyID' is not allowed. - - - Attribute '@currencyID' is required in this context. - - - - - - + + Value of '@currencyID' is not allowed. - - Attribute '@currencyID' is required in this context. + + + Value of '@currencyID' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. @@ -2322,70 +1768,48 @@ Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:BICID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IBANID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:TaxCurrencyCode' is not allowed. - - Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. @@ -2396,203 +1820,137 @@ Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. - - Element 'ram:LineID' must occur exactly 1 times. Element 'ram:IncludedNote' may occur at maximum 1 times. - - Element 'ram:Content' must occur exactly 1 times. - - Element 'ram:SubjectCode' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ChargeAmount' must occur exactly 1 times. Element variant 'ram:AppliedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="false"]' may occur at maximum 1 times. - - Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - Element 'ram:Reason' is marked as not used in the given context. - - Element 'ram:ReasonCode' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - Element 'ram:ApplicableTradeTax' must occur exactly 1 times. @@ -2603,303 +1961,203 @@ Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:Description' must occur exactly 1 times. Element 'ram:Value' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@listID' is required in this context. - - - - - + Value of '@listID' is not allowed. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. diff --git a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EXTENDED.sch b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EXTENDED.sch index 75f84b54..822b1dff 100644 --- a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EXTENDED.sch +++ b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_EXTENDED.sch @@ -1,5 +1,5 @@ - Schema for Factur-X; 1.07.2; EN16931-CONFORMANT-EXTENDED + Schema for Factur-X; 1.07.3; EN16931-CONFORMANT-EXTENDED @@ -430,20 +430,20 @@ [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. @@ -652,6 +652,26 @@ [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + [BR-FXEXT-01]-If the Invoice Free Text subject Code (BT-21) is specified, either the coded message free text (BT-X-5) or the message free text (BT-22) must be specified, or both. If both BT-X-5 and BT-22 are specified, both must have the same meaning. + + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + @@ -663,310 +683,194 @@ Element 'ram:LanguageID' may occur at maximum 1 times. - - Element 'ram:CompleteDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:Description' is marked as not used in the given context. - - Element 'ram:EndDateTime' is marked as not used in the given context. - - Element 'ram:StartDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Content' may occur at maximum 1 times. Element 'ram:SubjectCode' may occur at maximum 1 times. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + Value of 'ram:SubjectCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - - - [BR-FXEXT-01]-If the Invoice Free Text subject Code (BT-21) is specified, either the coded message free text (BT-X-5) or the message free text (BT-22) must be specified, or both. If both BT-X-5 and BT-22 are specified, both must have the same meaning. - - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - - + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - Element 'ram:SellerTradeParty' must occur exactly 1 times. Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - Element variant 'ram:AdditionalReferencedDocument[ not(ram:TypeCode="916") and not(ram:TypeCode="50") and not(ram:TypeCode="130")]' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. @@ -977,80 +881,52 @@ Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - Attribute '@mimeCode' is required in this context. + + + Value of '@mimeCode' is not allowed. Attribute '@filename' is required in this context. - - - - - - Value of '@mimeCode' is not allowed. - - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:DeliveryTypeCode' must occur exactly 1 times. - - - + Value of 'ram:DeliveryTypeCode' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1063,234 +939,150 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1303,173 +1095,111 @@ Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1486,236 +1216,150 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1728,234 +1372,150 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -1968,234 +1528,150 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -2210,180 +1686,114 @@ Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:Name' must occur exactly 1 times. @@ -2400,473 +1810,299 @@ Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ModeCode' must occur exactly 1 times. - - - + Value of 'ram:ModeCode' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -2877,173 +2113,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -3054,173 +2228,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -3231,173 +2343,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:PaymentReference' may occur at maximum 1 times. @@ -3408,8 +2458,6 @@ Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -3424,200 +2472,120 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - - + Value of 'ram:DueDateTypeCode' is not allowed. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:InvoiceCurrencyCode' is not allowed. - - - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -3630,173 +2598,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -3809,173 +2715,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -3988,173 +2832,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -4167,207 +2949,133 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:IncludedTradeTax' must occur at least 1 times. Element 'ram:InvoiceSpecifiedReferencedDocument' may occur at maximum 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -4376,145 +3084,93 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:Description' must occur exactly 1 times. @@ -4523,14 +3179,10 @@ Element 'ram:AppliedTradeTax' must occur at least 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. @@ -4539,76 +3191,52 @@ Element 'ram:RateApplicablePercent' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -4617,104 +3245,72 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. @@ -4723,104 +3319,72 @@ Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - Element 'ram:TypeCode' must occur exactly 1 times. Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:Description' may occur at maximum 1 times. @@ -4831,89 +3395,55 @@ Element 'ram:PayeeTradeParty' may occur at maximum 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@unitCode' is required in this context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -4926,173 +3456,111 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. @@ -5115,88 +3583,56 @@ Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - - - - Value of '@currencyID' is not allowed. - - - Attribute '@currencyID' is required in this context. - - - - - - + + Value of '@currencyID' is not allowed. - - Attribute '@currencyID' is required in this context. + + + Value of '@currencyID' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:TypeCode' must occur exactly 1 times. @@ -5205,97 +3641,65 @@ Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:BICID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:IBANID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:SourceCurrencyCode' is not allowed. - - - + Value of 'ram:TargetCurrencyCode' is not allowed. - - - + Value of 'ram:TaxCurrencyCode' is not allowed. - - Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. @@ -5306,97 +3710,57 @@ Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. - - Element 'ram:LineID' must occur exactly 1 times. - - Element 'ram:Content' may occur at maximum 1 times. Element 'ram:SubjectCode' may occur at maximum 1 times. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + Value of 'ram:SubjectCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:LineStatusCode' is not allowed. - - - + Value of 'ram:LineStatusReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. @@ -5407,326 +3771,216 @@ Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - Attribute '@mimeCode' is required in this context. + + + Value of '@mimeCode' is not allowed. Attribute '@filename' is required in this context. - - - - - - Value of '@mimeCode' is not allowed. - - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:IncludedTradeTax' is marked as not used in the given context. - - Element 'ram:ChargeAmount' must occur exactly 1 times. Element 'ram:IncludedTradeTax' may occur at maximum 1 times. - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - + - + Value of '@unitCode' is not allowed. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:CalculatedAmount' must occur exactly 1 times. @@ -5737,471 +3991,295 @@ Element 'ram:RateApplicablePercent' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - Element 'ram:TypeCode' is marked as not used in the given context. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -6212,158 +4290,100 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ID' may occur at maximum 1 times. @@ -6374,152 +4394,98 @@ Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:CountryID' must occur exactly 1 times. Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:URIID' must occur exactly 1 times. - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. @@ -6530,66 +4496,46 @@ Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:LineID' is marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - - + Value of 'ram:ReferenceTypeCode' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - Element 'ram:CalculatedAmount' may occur at maximum 1 times. @@ -6598,273 +4544,177 @@ Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - + Value of 'ram:CategoryCode' is not allowed. - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - + Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - Element 'ram:Description' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' is marked as not used in the given context. - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:URIID' is marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - Element 'ram:ChargeIndicator' must occur exactly 1 times. Element 'ram:ActualAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - + Value of 'ram:ReasonCode' is not allowed. - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - Element 'ram:LineTotalAmount' must occur exactly 1 times. @@ -6879,122 +4729,78 @@ Element 'ram:TotalAllowanceChargeAmount' may occur at maximum 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:Description' must occur exactly 1 times. Element 'ram:Value' must occur exactly 1 times. - - - - + + Attribute @listID' marked as not used in the given context. - - - - - + Attribute @listVersionID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ClassName' may occur at maximum 1 times. - - Attribute '@listID' is required in this context. - - - - - + Value of '@listID' is not allowed. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' may occur at maximum 1 times. @@ -7007,97 +4813,63 @@ Element 'ram:UnitQuantity' may occur at maximum 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@schemeID' is required in this context. - - - - - + Value of '@schemeID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@unitCode' is required in this context. - - - - - + Value of '@unitCode' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - + + Attribute @schemeID' marked as not used in the given context. diff --git a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_MINIMUM.sch b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_MINIMUM.sch index dd86da5b..51ba07e9 100644 --- a/validator/src/main/resources/schematron/ZF_233/FACTUR-X_MINIMUM.sch +++ b/validator/src/main/resources/schematron/ZF_233/FACTUR-X_MINIMUM.sch @@ -1,5 +1,5 @@ - Schema for Factur-X; 1.07.2; Accounting, MINIMUM + Schema for Factur-X; 1.07.3; Accounting, MINIMUM @@ -63,124 +63,82 @@ Element 'ram:TypeCode' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Attribute '@format' is required in this context. - - - - - + Value of '@format' is not allowed. - - - + Value of 'ram:TypeCode' is not allowed. - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - Element 'ram:ID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + Value of 'ram:ID' is not allowed. - - - - - + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:SellerTradeParty' must occur exactly 1 times. Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - + + Attribute @schemeID' marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - - + - + Value of '@schemeID' is not allowed. - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - Element 'ram:Name' must occur exactly 1 times. @@ -191,73 +149,51 @@ Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - Element 'ram:CountryID' must occur exactly 1 times. - - - + Value of 'ram:CountryID' is not allowed. - - - + - + Value of '@schemeID' is not allowed. - - Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:ID' must occur exactly 1 times. - - Attribute '@schemeID' is required in this context. - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - - + Value of 'ram:InvoiceCurrencyCode' is not allowed. - - Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. @@ -268,42 +204,28 @@ Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - - - + + Attribute @currencyID' marked as not used in the given context. - - Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - - - - Value of '@currencyID' is not allowed. - - - Attribute '@currencyID' is required in this context. + + + Value of '@currencyID' is not allowed. \ No newline at end of file