diff --git a/cii/schematron/CII/EN16931-CII-model.sch b/cii/schematron/CII/EN16931-CII-model.sch index dbf9afe7..08aeaa16 100644 --- a/cii/schematron/CII/EN16931-CII-model.sch +++ b/cii/schematron/CII/EN16931-CII-model.sch @@ -3,7 +3,7 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + @@ -36,16 +36,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -60,8 +60,8 @@ - - + + @@ -106,10 +106,10 @@ - - - - + + + + @@ -168,9 +168,9 @@ - - - + + + @@ -221,10 +221,10 @@ - - - - + + + + @@ -237,11 +237,11 @@ - - - - - + + + + + @@ -251,10 +251,10 @@ - - - - + + + + diff --git a/cii/schematron/CII/EN16931-CII-syntax.sch b/cii/schematron/CII/EN16931-CII-syntax.sch index fcb497a4..3f9fbf6f 100644 --- a/cii/schematron/CII/EN16931-CII-syntax.sch +++ b/cii/schematron/CII/EN16931-CII-syntax.sch @@ -4,178 +4,208 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - + - - + + - - + + - + @@ -205,50 +235,68 @@ - + - + - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - + - + @@ -257,69 +305,109 @@ - - - - + + + + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - + + + + + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + @@ -327,22 +415,28 @@ - + - - - - - - - - + + + + + + + + - + @@ -360,7 +454,6 @@ - @@ -371,22 +464,28 @@ - + - + - + - + - - - - + + + + @@ -395,89 +494,117 @@ - - + + - + - + - + - - - - - + + + + + - - + + - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - + - - + + - + - - + + - + @@ -485,24 +612,32 @@ - + - + - + - - - - + + + + + + + + + - + - + @@ -513,45 +648,51 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - + - + - - + + - + - + @@ -559,7 +700,8 @@ - + @@ -568,7 +710,8 @@ - + @@ -623,38 +766,52 @@ - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/cii/schematron/EN16931-CII-validation.sch b/cii/schematron/EN16931-CII-validation.sch index ef94fb84..d0e26e90 100644 --- a/cii/schematron/EN16931-CII-validation.sch +++ b/cii/schematron/EN16931-CII-validation.sch @@ -7,7 +7,6 @@ - diff --git a/cii/schematron/abstract/EN16931-CII-syntax.sch b/cii/schematron/abstract/EN16931-CII-syntax.sch index aeab7692..e18d6735 100644 --- a/cii/schematron/abstract/EN16931-CII-syntax.sch +++ b/cii/schematron/abstract/EN16931-CII-syntax.sch @@ -6,52 +6,52 @@ - - [CII-SR-001] - SpecifiedTransactionID should not be present - [CII-SR-002] - TestIndicator should not be present - [CII-SR-003] - BusinessProcessSpecifiedDocumentContextParameter should exist maximum once - [CII-SR-006] - BIMSpecifiedDocumentContextParameter should not be present - [CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present - [CII-SR-008] - ApplicationSpecifiedDocumentContextParameter should not be present - [CII-SR-009] - GuidelineSpecifiedDocumentContextParameter must exist exactly once - [CII-SR-010] - ID must exist exactly once - [CII-SR-011] - SubsetSpecifiedDocumentContextParameter should not be present - [CII-SR-012] - MessageStandardSpecifiedDocumentContextParameter should not be present - - - [CII-SR-013] - Name should not be present - [CII-SR-014] - TypeCode must exist exactly once - [CII-SR-015] - DateTime should not be present - [CII-SR-016] - CopyIndicator should not be present - [CII-SR-017] - Purpose should not be present - [CII-SR-018] - ControlRequirementIndicator should not be present - [CII-SR-019] - LanguageID should not be present - [CII-SR-020] - PurposeCode should not be present - [CII-SR-021] - RevisionDateTime should not be present - [CII-SR-022] - VersionID should not be present - [CII-SR-023] - GlobalID should not be present - [CII-SR-024] - RevisionID should not be present - [CII-SR-025] - PreviousRevisionID should not be present - [CII-SR-026] - CategoryCode should not be present - [CII-SR-027] - Subject should not be present - [CII-SR-028] - ContentCode should not be present - - [CII-SR-032] - ID should not be present - [CII-SR-033] - EffectiveSpecifiedPeriod should not be present - [CII-SR-034] - IssuerTradeParty should not be present - - - [CII-SR-030] - Content should exist maximum once - - - [CII-SR-035] - DescriptionCode should not be present - [CII-SR-036] - ParentLineID should not be present - [CII-SR-037] - LineStatusCode should not be present - [CII-SR-038] - LineStatusReasonCode should not be present - - [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present - - + + [CII-SR-001] - SpecifiedTransactionID should not be present + [CII-SR-002] - TestIndicator should not be present + [CII-SR-003] - BusinessProcessSpecifiedDocumentContextParameter should exist maximum once + [CII-SR-006] - BIMSpecifiedDocumentContextParameter should not be present + [CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present + [CII-SR-008] - ApplicationSpecifiedDocumentContextParameter should not be present + [CII-SR-009] - GuidelineSpecifiedDocumentContextParameter must exist exactly once + [CII-SR-010] - ID must exist exactly once + [CII-SR-011] - SubsetSpecifiedDocumentContextParameter should not be present + [CII-SR-012] - MessageStandardSpecifiedDocumentContextParameter should not be present + + + [CII-SR-013] - Name should not be present + [CII-SR-014] - TypeCode must exist exactly once + [CII-SR-015] - DateTime should not be present + [CII-SR-016] - CopyIndicator should not be present + [CII-SR-017] - Purpose should not be present + [CII-SR-018] - ControlRequirementIndicator should not be present + [CII-SR-019] - LanguageID should not be present + [CII-SR-020] - PurposeCode should not be present + [CII-SR-021] - RevisionDateTime should not be present + [CII-SR-022] - VersionID should not be present + [CII-SR-023] - GlobalID should not be present + [CII-SR-024] - RevisionID should not be present + [CII-SR-025] - PreviousRevisionID should not be present + [CII-SR-026] - CategoryCode should not be present + [CII-SR-027] - Subject should not be present + [CII-SR-028] - ContentCode should not be present + + [CII-SR-032] - ID should not be present + [CII-SR-033] - EffectiveSpecifiedPeriod should not be present + [CII-SR-034] - IssuerTradeParty should not be present + + + [CII-SR-030] - Content should exist maximum once + + + [CII-SR-035] - DescriptionCode should not be present + [CII-SR-036] - ParentLineID should not be present + [CII-SR-037] - LineStatusCode should not be present + [CII-SR-038] - LineStatusReasonCode should not be present + + [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present + + [CII-SR-039] - IncludedNote should exist maximum once [CII-SR-040] - Content should exist maximum once [CII-SR-041] - SubjectCode should not be present @@ -59,76 +59,76 @@ [CII-SR-043] - CategoryCode should not be present [CII-SR-044] - Subject should not be present - - [CII-SR-045] - ID should not be present - [CII-SR-046] - schemeID must be present if GlobalID is present - - [CII-SR-048] - ManufacturerAssignedID should not be present - [CII-SR-049] - TradeName should not be present - [CII-SR-050] - TypeCode should not be present - [CII-SR-051] - NetWeightMeasure should not be present - [CII-SR-052] - GrossWeightMeasure should not be present - [CII-SR-053] - ProductGroupID should not be present - [CII-SR-054] - EndItemTypeCode should not be present - [CII-SR-055] - EndItemName should not be present - [CII-SR-056] - AreaDensityMeasure should not be present - [CII-SR-057] - UseDescription should not be present - [CII-SR-058] - BrandName should not be present - [CII-SR-059] - SubBrandName should not be present - [CII-SR-060] - DrainedNetWeightMeasure should not be present - [CII-SR-061] - VariableMeasureIndicator should not be present - [CII-SR-062] - ColourCode should not be present - [CII-SR-063] - ColourDescription should not be present - [CII-SR-064] - Designation should not be present - [CII-SR-065] - FormattedCancellationAnnouncedLaunchDateTime should not be present - [CII-SR-066] - FormattedLatestProductDataChangeDateTime should not be present - [CII-SR-067] - ID should not be present - [CII-SR-068] - TypeCode should not be present - - [CII-SR-070] - ValueMeasure should not be present - [CII-SR-071] - MeasurementMethodCode should not be present - - [CII-SR-073] - ValueCode should not be present - [CII-SR-074] - ValueDateTime should not be present - [CII-SR-075] - ValueIndicator should not be present - [CII-SR-076] - ContentTypeCode should not be present - [CII-SR-077] - ValueSpecifiedBinaryFile should not be present - [CII-SR-078] - ApplicableProductCharacteristicCondition should not be present - [CII-SR-079] - ApplicableReferencedStandard should not be present - [CII-SR-080] - ApplicableMaterialGoodsCharacteristic should not be present - - [CII-SR-081] - SystemID should not be present - [CII-SR-082] - SystemName should not be present - [CII-SR-083] - ClassName should not be present - [CII-SR-084] - SubClassCode should not be present - [CII-SR-085] - ClassProductCharacteristic should not be present - [CII-SR-086] - ApplicableReferencedStandard should not be present - - [CII-SR-087] - IndividualTradeProductInstance should not be present - [CII-SR-088] - CertificationEvidenceReferenceReferencedDocument should not be present - [CII-SR-089] - InspectionReferenceReferencedDocument should not be present - - [CII-SR-090] - ID should exist maximum once. - [CII-SR-091] - Name should not be present - [CII-SR-092] - SubordinateTradeCountrySubDivision should not be present - - [CII-SR-093] - LinearSpatialDimension should not be present - [CII-SR-094] - MinimumLinearSpatialDimension should not be present - [CII-SR-095] - MaximumLinearSpatialDimension should not be present - [CII-SR-096] - ManufacturerTradeParty should not be present - [CII-SR-097] - PresentationSpecifiedBinaryFile should not be present - [CII-SR-098] - MSDSReferenceReferencedDocument should not be present - [CII-SR-099] - AdditionalReferenceReferencedDocument should not be present - [CII-SR-100] - LegalRightsOwnerTradeParty should not be present - [CII-SR-101] - BrandOwnerTradeParty should not be present - [CII-SR-102] - IncludedReferencedProduct should not be present - [CII-SR-103] - InformationNote should not be present - - + + [CII-SR-045] - ID should not be present + [CII-SR-046] - schemeID must be present if GlobalID is present + + [CII-SR-048] - ManufacturerAssignedID should not be present + [CII-SR-049] - TradeName should not be present + [CII-SR-050] - TypeCode should not be present + [CII-SR-051] - NetWeightMeasure should not be present + [CII-SR-052] - GrossWeightMeasure should not be present + [CII-SR-053] - ProductGroupID should not be present + [CII-SR-054] - EndItemTypeCode should not be present + [CII-SR-055] - EndItemName should not be present + [CII-SR-056] - AreaDensityMeasure should not be present + [CII-SR-057] - UseDescription should not be present + [CII-SR-058] - BrandName should not be present + [CII-SR-059] - SubBrandName should not be present + [CII-SR-060] - DrainedNetWeightMeasure should not be present + [CII-SR-061] - VariableMeasureIndicator should not be present + [CII-SR-062] - ColourCode should not be present + [CII-SR-063] - ColourDescription should not be present + [CII-SR-064] - Designation should not be present + [CII-SR-065] - FormattedCancellationAnnouncedLaunchDateTime should not be present + [CII-SR-066] - FormattedLatestProductDataChangeDateTime should not be present + [CII-SR-067] - ID should not be present + [CII-SR-068] - TypeCode should not be present + + [CII-SR-070] - ValueMeasure should not be present + [CII-SR-071] - MeasurementMethodCode should not be present + + [CII-SR-073] - ValueCode should not be present + [CII-SR-074] - ValueDateTime should not be present + [CII-SR-075] - ValueIndicator should not be present + [CII-SR-076] - ContentTypeCode should not be present + [CII-SR-077] - ValueSpecifiedBinaryFile should not be present + [CII-SR-078] - ApplicableProductCharacteristicCondition should not be present + [CII-SR-079] - ApplicableReferencedStandard should not be present + [CII-SR-080] - ApplicableMaterialGoodsCharacteristic should not be present + + [CII-SR-081] - SystemID should not be present + [CII-SR-082] - SystemName should not be present + [CII-SR-083] - ClassName should not be present + [CII-SR-084] - SubClassCode should not be present + [CII-SR-085] - ClassProductCharacteristic should not be present + [CII-SR-086] - ApplicableReferencedStandard should not be present + + [CII-SR-087] - IndividualTradeProductInstance should not be present + [CII-SR-088] - CertificationEvidenceReferenceReferencedDocument should not be present + [CII-SR-089] - InspectionReferenceReferencedDocument should not be present + + [CII-SR-090] - ID should exist maximum once. + [CII-SR-091] - Name should not be present + [CII-SR-092] - SubordinateTradeCountrySubDivision should not be present + + [CII-SR-093] - LinearSpatialDimension should not be present + [CII-SR-094] - MinimumLinearSpatialDimension should not be present + [CII-SR-095] - MaximumLinearSpatialDimension should not be present + [CII-SR-096] - ManufacturerTradeParty should not be present + [CII-SR-097] - PresentationSpecifiedBinaryFile should not be present + [CII-SR-098] - MSDSReferenceReferencedDocument should not be present + [CII-SR-099] - AdditionalReferenceReferencedDocument should not be present + [CII-SR-100] - LegalRightsOwnerTradeParty should not be present + [CII-SR-101] -BrandOwnerTradeParty should not be present + [CII-SR-102] -IncludedReferencedProduct should not be present + [CII-SR-103] - InformationNoteshould not be present + + [CII-SR-069] - Description should exist maximum once. [CII-SR-072] - Value should exist maximum once. - + [CII-SR-104] - BuyerReference should not be present [CII-SR-105] - BuyerRequisitionerTradeParty should not be present [CII-SR-106] - ApplicableTradeDeliveryTerms should not be present @@ -146,13 +146,13 @@ [CII-SR-117] - ChangeReason should not be present [CII-SR-118] - OrderUnitConversionFactorNumeric should not be present [CII-SR-439] - ChargeAmount should exist maximum once - + [CII-SR-119] - Only allowances on price a price should be present [CII-SR-120] - ID should not be present [CII-SR-121] - SequenceNumeric should not be present [CII-SR-122] - CalculationPercent should not be present [CII-SR-123] - BasisAmount should not be present - [CII-SR-124] - BasisQuantityshould not be present + [CII-SR-124] - BasisQuantity should not be present [CII-SR-125] - PrepaidIndicator should not be present [CII-SR-126] - UnitBasisAmount should not be present [CII-SR-127] - ReasonCode should not be present @@ -161,21 +161,21 @@ [CII-SR-130] - CategoryTradeTax should not be present [CII-SR-131] - ActualTradeCurrencyExchange should not be present [CII-SR-440] - ActualAmount should exist maximum once - - [CII-SR-445] - IncludedTradeTax should not be present - [CII-SR-132] - ValiditySpecifiedPeriod should not be present + + [CII-SR-445] - IncludedTradeTax should not be present + [CII-SR-132] - ValiditySpecifiedPeriod should not be present [CII-SR-133] - DeliveryTradeLocation should not be present [CII-SR-134] - TradeComparisonReferencePrice should not be present [CII-SR-135] - AssociatedReferencedDocument should not be present - + [CII-SR-136] - TypeCode should not be present - + [CII-SR-138] - MinimumQuantity should not be present [CII-SR-139] - MaximumQuantity should not be present [CII-SR-140] - ChangeReason should not be present [CII-SR-141] - OrderUnitConversionFactorNumeric should not be present [CII-SR-142] - AppliedTradeAllowanceCharge should not be present - [CII-SR-446] - IncludedTradeTax should not be present + [CII-SR-446] - IncludedTradeTax should not be present [CII-SR-143] - ValiditySpecifiedPeriod should not be present [CII-SR-144] - DeliveryTradeLocation should not be present [CII-SR-145] - TradeComparisonReferencePrice should not be present @@ -186,10 +186,10 @@ [CII-SR-148] - ItemSellerTradeParty should not be present [CII-SR-149] - ItemBuyerTradeParty should not be present [CII-SR-150] - IncludedSpecifiedMarketplace should not be present - [CII-SR-447] - UltimateCustomerOrderReferencedDocument should not be present - - - + [CII-SR-447] - UltimateCustomerOrderReferencedDocument should not be present + + + [CII-SR-151] - RequestedQuantity should not be present [CII-SR-152] - ReceivedQuantity should not be present [CII-SR-153] - ChargeFreeQuantity should not be present @@ -218,13 +218,13 @@ [CII-SR-176] - ConsumptionReportReferencedDocument should not be present [CII-SR-177] - RequestedQuantity should not be present - + [CII-SR-178] - PaymentReference should not be present [CII-SR-179] - InvoiceIssuerReference should not be present [CII-SR-180] - TotalAdjustmentAmount should not be present [CII-SR-181] - DiscountIndicator should not be present [CII-SR-182] - CalculatedAmount should not be present - + [CII-SR-183] - IndicatorString should not be present [CII-SR-184] - ID should not be present [CII-SR-185] - SequenceNumeric should not be present @@ -236,7 +236,7 @@ [CII-SR-191] - CategoryTradeTax should not be present [CII-SR-192] - ActualTradeCurrencyExchange should not be present [CII-SR-193] - ID should not be present - + [CII-SR-194] - SubtotalCalculatedTradeTax should not be present [CII-SR-195] - SpecifiedLogisticsServiceCharge should not be present [CII-SR-196] - SpecifiedTradePaymentTerms should not be present @@ -252,10 +252,9 @@ [CII-SR-206] - NetLineTotalAmount should not be present [CII-SR-207] - NetIncludingTaxesLineTotalAmount should not be present [CII-SR-208] - ProductWeightLossInformationAmount should not be present - + [CII-SR-209] - SpecifiedFinancialAdjustment should not be present [CII-SR-210] - InvoiceReferencedDocument should not be present - [CII-SR-212] - PayableSpecifiedTradeAccountingAccount should not be present [CII-SR-213] - SetTriggerCode should not be present [CII-SR-214] - TypeCode should not be present @@ -271,7 +270,7 @@ [CII-SR-442] - Reference should not be present [CII-SR-222] - RoleCode should not be present - + [CII-SR-223] - LegalClassificationCode should not be present [CII-SR-224] - Name should not be present [CII-SR-225] - PostalTradeAddress should not be present @@ -283,7 +282,7 @@ [CII-SR-231] - PersonID should not be present [CII-SR-232] - URIID should not be present [CII-SR-233] - ChannelCode should not be present - + [CII-SR-234] - DirectTelephoneUniversalCommunication should not be present [CII-SR-235] - MobileTelephoneUniversalCommunication should not be present [CII-SR-236] - FaxUniversalCommunication should not be present @@ -294,19 +293,19 @@ [CII-SR-241] - InstantMessagingUniversalCommunication should not be present [CII-SR-242] - SpecifiedNote should not be present [CII-SR-243] - SpecifiedContactPerson should not be present - + [CII-SR-244] - ChannelCode should not be present [CII-SR-245] - CompleteNumber should not be present - + [CII-SR-246] - AssociatedRegisteredTax should not be present [CII-SR-247] - EndPointURIUniversalCommunication should not be present [CII-SR-248] - LogoAssociatedSpecifiedBinaryFile should not be present - + [CII-SR-249] - RoleCode should not be present - [CII-SR-250] - Description should not be present + [CII-SR-250] - Description should not be present [CII-SR-251] - LegalClassificationCode should not be present [CII-SR-252] - Name should not be present - + [CII-SR-254] - PostalTradeAddress should not be present [CII-SR-255] - AuthorizedLegalRegistration should not be present @@ -317,7 +316,7 @@ [CII-SR-260] - PersonID should not be present [CII-SR-261] - URIID should not be present [CII-SR-262] - ChannelCode should not be present - + [CII-SR-263] - DirectTelephoneUniversalCommunication should not be present [CII-SR-264] - MobileTelephoneUniversalCommunication should not be present [CII-SR-265] - FaxUniversalCommunication should not be present @@ -327,21 +326,21 @@ [CII-SR-269] - VOIPUniversalCommunication should not be present [CII-SR-270] - InstantMessagingUniversalCommunication should not be present [CII-SR-271] - SpecifiedNote should not be present - [CII-SR-272] - SpecifiedContactPerson should not be present - + [CII-SR-272] - SpecifiedContactPerson should not be present + [CII-SR-273] - ChannelCode should not be present [CII-SR-274] - CompleteNumber should not be present - + [CII-SR-275] - AssociatedRegisteredTax should not be present [CII-SR-276] - EndPointURIUniversalCommunication should not be present [CII-SR-277] - LogoAssociatedSpecifiedBinaryFile should not be present - + [CII-SR-278] - SalesAgentTradeParty should not be present [CII-SR-279] - BuyerRequisitionerTradeParty should not be present [CII-SR-280] - BuyerAssignedAccountantTradeParty should not be present [CII-SR-281] - SellerAssignedAccountantTradeParty should not be present [CII-SR-282] - BuyerTaxRepresentativeTradeParty should not be present - + [CII-SR-283] - GlobalID should not be present [CII-SR-284] - RoleCode should not be present [CII-SR-285] - Description should not be present @@ -351,7 +350,7 @@ [CII-SR-289] - AssociatedRegisteredTax should not be present [CII-SR-290] - EndPointURIUniversalCommunication should not be present [CII-SR-291] - LogoAssociatedSpecifiedBinaryFile should not be present - + [CII-SR-292] - ProductEndUserTradeParty should not be present [CII-SR-293] - ApplicableTradeDeliveryTerms should not be present [CII-SR-294] - LineID should not be present @@ -374,11 +373,11 @@ [CII-SR-456] - DefinedTradeContact of BuyerTradeParty shall exist maximum once [CII-SR-457] - IssuerAssignedID with TypeCode 50 should exist maximum once [CII-SR-458] - IssuerAssignedID with TypeCode 130 should exist maximum once - + [CII-SR-459] - SellerTradeParty URIUniversalCommunication should exist maximum once + [CII-SR-460] - BuyerTradeParty URIUniversalCommunication should exist maximum once - + [CII-SR-308] - RelatedSupplyChainConsignment should not be present - [CII-SR-309] - RoleCode should not be present [CII-SR-310] - Description should not be present [CII-SR-311] - SpecifiedLegalOrganization should not be present @@ -387,12 +386,12 @@ [CII-SR-314] - SpecifiedTaxRegistration should not be present [CII-SR-315] - EndPointURIUniversalCommunication should not be present [CII-SR-316] - LogoAssociatedSpecifiedBinaryFile should not be present - + [CII-SR-317] - UltimateShipToTradeParty should not be present [CII-SR-318] - ShipFromTradeParty should not be present [CII-SR-319] - ActualDespatchSupplyChainEvent should not be present [CII-SR-320] - ActualPickUpSupplyChainEvent should not be present - + [CII-SR-321] - ID should not be present [CII-SR-322] - DateTime should not be present [CII-SR-323] - TypeCode should not be present @@ -403,7 +402,7 @@ [CII-SR-328] - EarliestOccurrenceDateTime should not be present [CII-SR-329] - OccurrenceSpecifiedPeriod should not be present [CII-SR-330] - OccurrenceLogisticsLocation should not be present - + [CII-SR-331] - ActualReceiptSupplyChainEvent should not be present [CII-SR-332] - AdditionalReferencedDocument should not be present [CII-SR-333] - LineID should not be present @@ -414,12 +413,12 @@ [CII-SR-338] - PackingListReferencedDocument should not be present [CII-SR-449] - Only one delivery to location identifier should be present (either the ID or the Global ID) - + [CII-SR-339] - DuePayableAmount should not be present [CII-SR-340] - CreditorReferenceTypeCode should not be present [CII-SR-341] - CreditorReferenceType should not be present [CII-SR-342] - CreditorReferenceIssuerID should not be present - + [CII-SR-344] - PaymentCurrencyCode should not be present [CII-SR-345] - InvoiceIssuerReference should not be present [CII-SR-346] - InvoiceDateTime should not be present @@ -428,7 +427,7 @@ [CII-SR-349] - CreditReason should not be present [CII-SR-350] - InvoicerTradeParty should not be present [CII-SR-351] - InvoiceeTradeParty should not be present - + [CII-SR-352] - RoleCode should not be present [CII-SR-353] - Description should not be present [CII-SR-354] - LegalClassificationCode should not be present @@ -443,35 +442,35 @@ [CII-SR-363] - EndPointURIUniversalCommunication should not be present [CII-SR-364] - LogoAssociatedSpecifiedBinaryFile should not be present [CII-SR-451] - Only one payee identifier should be present (either the ID or the Global ID) - + [CII-SR-365] - PayerTradeParty should not be present [CII-SR-366] - TaxApplicableTradeCurrencyExchange should not be present [CII-SR-367] - InvoiceApplicableTradeCurrencyExchange should not be present [CII-SR-368] - PaymentApplicableTradeCurrencyExchange should not be present - + [CII-SR-369] - PaymentChannelCode should not be present [CII-SR-370] - GuaranteeMethodCode should not be present [CII-SR-371] - PaymentMethodCode should not be present [CII-SR-443] - ID should not be present [CII-SR-372] - MicrochipIndicator should not be present [CII-SR-373] - TypeCode should not be present - + [CII-SR-375] - ExpiryDate should not be present [CII-SR-376] - VerificationNumeric should not be present [CII-SR-377] - ValidFromDateTime should not be present - [CII-SR-378] - CreditLimitAmount should not be present + [CII-SR-378] - CreditLimitAmountshould not be present [CII-SR-379] - CreditAvailableAmount should not be present [CII-SR-380] - InterestRatePercent should not be present [CII-SR-381] - Description should not be present [CII-SR-382] - AccountName should not be present [CII-SR-444] - ProprietaryID should not be present - + [CII-SR-384] - ClearingSystemName should not be present [CII-SR-385] - Name should not be present [CII-SR-386] - LocationFinancialInstitutionAddress should not be present - - - [CII-SR-388] - ID should not be present + + + [CII-SR-388] - ID should not be present [CII-SR-389] - SequenceNumeric should not be present [CII-SR-390] - BasisQuantity should not be present [CII-SR-391] - PrepaidIndicator should not be present @@ -480,14 +479,14 @@ [CII-SR-394] - ActualTradeCurrencyExchange should not be present [CII-SR-395] - SubtotalCalculatedTradeTax should not be present [CII-SR-396] - SpecifiedLogisticsServiceCharge should not be present - + [CII-SR-397] - ID should not be present [CII-SR-398] - FromEventCode should not be present [CII-SR-399] - SettlementPeriodMeasure should not be present [CII-SR-400] - DateTime should not be present [CII-SR-401] - TypeCode should not be present [CII-SR-402] - InstructionTypeCode should not be present - + [CII-SR-404] - PartialPaymentPercent should not be present [CII-SR-405] - PaymentMeansID should not be present [CII-SR-406] - PartialPaymentAmount should not be present @@ -514,10 +513,11 @@ [CII-SR-437] - UltimatePayeeTradeParty should not be present [CII-SR-452] - Only one SpecifiedTradePaymentTerms should be present [CII-SR-453] - Only one SpecifiedTradePaymentTerms Description should be present - + [CII-SR-461] - Only one TaxPointDate shall be present + [CII-SR-462] - Only one DueDateTypeCode shall be present - - + + [CII-SR-411] - InformationAmount should not be present [CII-SR-412] - TotalDiscountAmount should not be present [CII-SR-413] - TotalAllowanceChargeAmount should not be present @@ -529,133 +529,133 @@ [CII-SR-419] - NetLineTotalAmount should not be present [CII-SR-420] - NetIncludingTaxesLineTotalAmount should not be present - - [CII-DT-013] - languageID should not be present - [CII-DT-014] - languageLocaleID should not be present - - [CII-SR-438] - ValuationBreakdownStatement should not be present - - - [CII-SR-004] - Value should not be present - [CII-SR-005] - SpecifiedDocumentVersion should not be present - - - [CII-DT-001] - schemeName should not be present - [CII-DT-002] - schemeAgencyName should not be present - [CII-DT-003] - schemeDataURI should not be present - [CII-DT-004] - schemeURI should not be present - - - [CII-DT-005] - schemeID should not be present - [CII-DT-006] - schemeAgencyID should not be present + + [CII-DT-013] - languageID should not be present + [CII-DT-014] - languageLocaleID should not be present + + [CII-SR-438] - ValuationBreakdownStatement should not be present + + + [CII-SR-004] - Value should not be present + [CII-SR-005] - SpecifiedDocumentVersion should not be present + + + [CII-DT-005] - schemeID should not be present + [CII-DT-006] - schemeAgencyID should not be present [CII-DT-007] - schemeVersionID should not be present - - - [CII-DT-008] - name should not be present - [CII-DT-009] - listURI should not be present - - - [CII-DT-010] - listID should not be present - [CII-DT-011] - listAgencyID should not be present - [CII-DT-012] - listVersionID should not be present - - + + + [CII-DT-001] - schemeName should not be present + [CII-DT-002] - schemeAgencyName should not be present + [CII-DT-003] - schemeDataURI should not be present + [CII-DT-004] - schemeURI should not be present + + + [CII-DT-008] - name should not be present + [CII-DT-009] - listURI should not be present + + + [CII-DT-010] - listID should not be present + [CII-DT-011] - listAgencyID should not be present + [CII-DT-012] - listVersionID should not be present + + [CII-DT-045] - @listID should not be present [CII-DT-046] - @listAgencyID should not be present [CII-DT-047] - @listVersionID should not be present [CII-DT-048] - @listURI should not be present - - [CII-DT-015] - URIID should not be present - [CII-DT-016] - StatusCode should not be present - [CII-DT-017] - CopyIndicator should not be present - [CII-DT-018] - TypeCode should not be present - [CII-DT-019] - GlobalID should not be present - [CII-DT-020] - RevisionID should not be present - [CII-DT-021] - Name should not be present - [CII-DT-022] - AttachmentBinaryObject should not be present - [CII-DT-023] - Information should not be present - [CII-DT-024] - ReferenceTypeCode should not be present - [CII-DT-025] - SectionName should not be present - [CII-DT-026] - PreviousRevisionID should not be present - [CII-DT-027] - FormattedIssueDateTime should not be present - [CII-DT-028] - EffectiveSpecifiedPeriod should not be present - [CII-DT-029] - IssuerTradeParty should not be present - [CII-DT-030] - AttachedSpecifiedBinaryFile should not be present - - - [CII-DT-031] - currencyID should not be present - [CII-DT-032] - currencyCodeListVersionID should not be present + + [CII-DT-015] - URIID should not be present + [CII-DT-016] - StatusCode should not be present + [CII-DT-017] - CopyIndicator should not be present + [CII-DT-018] - TypeCode should not be present + [CII-DT-019] - GlobalID should not be present + [CII-DT-020] - RevisionID should not be present + [CII-DT-021] - Name should not be present + [CII-DT-022] - AttachmentBinaryObject should not be present + [CII-DT-023] - Information should not be present + [CII-DT-024] - ReferenceTypeCode should not be present + [CII-DT-025] - SectionName should not be present + [CII-DT-026] - PreviousRevisionID should not be present + [CII-DT-027] - FormattedIssueDateTime should not be present + [CII-DT-028] - EffectiveSpecifiedPeriod should not be present + [CII-DT-029] - IssuerTradeParty should not be present + [CII-DT-030] - AttachedSpecifiedBinaryFile should not be present + + + [CII-DT-031] - currencyID should not be present + [CII-DT-032] - currencyCodeListVersionID should not be present + + + [CII-DT-033] - unitCode should not be present + [CII-DT-034] - unitCodeListID should not be present + [CII-DT-035] - unitCodeListAgencyID should not be present + [CII-DT-036] - unitCodeListAgencyName should not be present + + + [CII-DT-037] - TypeCode shall be 'VAT' + [CII-DT-038] - CalculatedRate should not be present + [CII-DT-039] - CalculationSequenceNumeric should not be present + [CII-DT-040] - BasisQuantity should not be present + [CII-DT-041] - BasisAmount should not be present + [CII-DT-042] - UnitBasisAmount should not be present + [CII-DT-043] - LineTotalBasisAmount should not be present + [CII-DT-044] - AllowanceChargeBasisAmount should not be present + [CII-DT-049] - CurrencyCode should not be present + [CII-DT-050] - Jurisdiction should not be present + [CII-DT-051] - CustomsDutyIndicator should not be present + [CII-DT-052] - ExemptionReasonCode should not be present + [CII-DT-098] - ExemptionReason should not be present + [CII-DT-053] - TaxBasisAllowanceRate should not be present + [CII-DT-054] - TaxPointDate should not be present + [CII-DT-055] - Type should not be present + [CII-DT-056] - InformationAmount should not be present + [CII-DT-057] - CategoryName should not be present + [CII-DT-058] - DueDateTypeCode should not be present + [CII-DT-059] - @format should not be present + [CII-DT-060] - SpecifiedTradeAccountingAccount should not be present + [CII-DT-061] - ServiceSupplyTradeCountry should not be present + [CII-DT-062] - BuyerRepayableTaxSpecifiedTradeAccountingAccount should not be present + [CII-DT-063] - SellerPayableTaxSpecifiedTradeAccountingAccount should not be present + [CII-DT-064] - SellerRefundableTaxSpecifiedTradeAccountingAccount should not be present + [CII-DT-065] - BuyerDeductibleTaxSpecifiedTradeAccountingAccount should not be present + [CII-DT-066] - BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount should not be present + [CII-DT-067] - PlaceApplicableTradeLocation should not be present - - [CII-DT-033] - unitCode should not be present - [CII-DT-034] - unitCodeListID should not be present - [CII-DT-035] - unitCodeListAgencyID should not be present - [CII-DT-036] - unitCodeListAgencyName should not be present + + [CII-DT-068] - DateTime shall not be used. + [CII-DT-069] - DurationMeasure shall not be used. + [CII-DT-070] - InclusiveIndicator shall not be used. + [CII-DT-071] - Description shall not be used. + [CII-DT-072] - DateTime shall not be used. + [CII-DT-073] - CompleteDateTime shall not be used. + [CII-DT-074] - OpenIndicator shall not be used. + [CII-DT-075] - SeasonCode shall not be used. + [CII-DT-076] - ID shall not be used. + [CII-DT-077] - Name shall not be used. + [CII-DT-078] - SequenceNumeric shall not be used. + [CII-DT-079] - StartDateFlexibilityCode shall not be used. + [CII-DT-080] - ContinuousIndicator shall not be used. + [CII-DT-081] - PurposeCode shall not be used. - - [CII-DT-037] - TypeCode shall be 'VAT' - [CII-DT-038] - CalculatedRate should not be present - [CII-DT-039] - CalculationSequenceNumeric should not be present - [CII-DT-040] - BasisQuantity should not be present - [CII-DT-041] - BasisAmount should not be present - [CII-DT-042] - UnitBasisAmount should not be present - [CII-DT-043] - LineTotalBasisAmount should not be present - [CII-DT-044] - AllowanceChargeBasisAmount should not be present - [CII-DT-049] - CurrencyCode should not be present - [CII-DT-050] - Jurisdiction should not be present - [CII-DT-051] - CustomsDutyIndicator should not be present - [CII-DT-052] - ExemptionReasonCode should not be present - [CII-DT-098] - ExemptionReason should not be present - [CII-DT-053] - TaxBasisAllowanceRate should not be present - [CII-DT-054] - TaxPointDate should not be present - [CII-DT-055] - Type should not be present - [CII-DT-056] - InformationAmount should not be present - [CII-DT-057] - CategoryName should not be present - [CII-DT-058] - DueDateTypeCode should not be present - [CII-DT-059] - @format should not be present - [CII-DT-060] - SpecifiedTradeAccountingAccount should not be present - [CII-DT-061] - ServiceSupplyTradeCountry should not be present - [CII-DT-062] - BuyerRepayableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-063] - SellerPayableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-064] - SellerRefundableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-065] - BuyerDeductibleTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-066] - BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-067] - PlaceApplicableTradeLocation should not be present + + [CII-DT-082] - ID shall not be used. + [CII-DT-083] - PostOfficeBox shall not be used. + [CII-DT-084] - BuildingName shall not be used. + [CII-DT-086] - LineFour shall not be used. + [CII-DT-087] - LineFive shall not be used. + [CII-DT-088] - StreetName shall not be used. + [CII-DT-089] - CitySubDivisionName shall not be used. + [CII-DT-090] - CountryName shall not be used. + [CII-DT-091] - CountrySubDivisionID shall not be used. + [CII-DT-092] - AttentionOf shall not be used. + [CII-DT-093] - CareOf shall not be used. + [CII-DT-094] - BuildingNumber shall not be used. + [CII-DT-095] - DepartmentName shall not be used. + [CII-DT-096] - AdditionalStreetName shall not be used. - - [CII-DT-068] - DateTime shall not be used. - [CII-DT-069] - DurationMeasure shall not be used. - [CII-DT-070] - InclusiveIndicator shall not be used. - [CII-DT-071] - Description shall not be used. - [CII-DT-072] - DateTime shall not be used. - [CII-DT-073] - CompleteDateTime shall not be used. - [CII-DT-074] - OpenIndicator shall not be used. - [CII-DT-075] - SeasonCode shall not be used. - [CII-DT-076] - ID shall not be used. - [CII-DT-077] - Name shall not be used. - [CII-DT-078] - SequenceNumeric shall not be used. - [CII-DT-079] - StartDateFlexibilityCode shall not be used. - [CII-DT-080] - ContinuousIndicator shall not be used. - [CII-DT-081] - PurposeCode shall not be used. - - - [CII-DT-082] - ID shall not be used. - [CII-DT-083] - PostOfficeBox shall not be used. - [CII-DT-084] - BuildingName shall not be used. - [CII-DT-086] - LineFour shall not be used. - [CII-DT-087] - LineFive shall not be used. - [CII-DT-088] - StreetName shall not be used. - [CII-DT-089] - CitySubDivisionName shall not be used. - [CII-DT-090] - CountryName shall not be used. - [CII-DT-091] - CountrySubDivisionID shall not be used. - [CII-DT-092] - AttentionOf shall not be used. - [CII-DT-093] - CareOf shall not be used. - [CII-DT-094] - BuildingNumber shall not be used. - [CII-DT-095] - DepartmentName shall not be used. - [CII-DT-096] - AdditionalStreetName shall not be used. - - + [CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD. diff --git a/cii/schematron/codelist/EN16931-CII-codes.sch b/cii/schematron/codelist/EN16931-CII-codes.sch index 0add8338..1066be19 100644 --- a/cii/schematron/codelist/EN16931-CII-codes.sch +++ b/cii/schematron/codelist/EN16931-CII-codes.sch @@ -14,21 +14,21 @@ [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 @@ -72,7 +72,7 @@ [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -93,7 +93,7 @@ [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list @@ -125,7 +125,7 @@ context="ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator = true()]/ram:ReasonCode" flag="fatal"> [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list @@ -140,7 +140,7 @@ [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list diff --git a/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch b/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch index 1e2df5af..2efd856a 100644 --- a/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch +++ b/cii/schematron/preprocessed/EN16931-CII-validation-preprocessed.sch @@ -4,7 +4,7 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + @@ -40,23 +40,23 @@ [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. - [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). @@ -93,8 +93,8 @@ [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). [BR-16]-An Invoice shall have at least one Invoice line (BG-25). - [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. - [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. [BR-S-01]-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 "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". @@ -123,21 +123,21 @@ [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). + + [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). + [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. + [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. + [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. + [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). + + [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). + [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. - [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. + [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. + [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. + [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). @@ -181,15 +181,15 @@ [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). @@ -451,9 +451,9 @@ [CII-SR-098] - MSDSReferenceReferencedDocument should not be present [CII-SR-099] - AdditionalReferenceReferencedDocument should not be present [CII-SR-100] - LegalRightsOwnerTradeParty should not be present - [CII-SR-101] - BrandOwnerTradeParty should not be present - [CII-SR-102] - IncludedReferencedProduct should not be present - [CII-SR-103] - InformationNote should not be present + [CII-SR-101] -BrandOwnerTradeParty should not be present + [CII-SR-102] -IncludedReferencedProduct should not be present + [CII-SR-103] - InformationNoteshould not be present [CII-SR-069] - Description should exist maximum once. @@ -481,7 +481,7 @@ [CII-SR-121] - SequenceNumeric should not be present [CII-SR-122] - CalculationPercent should not be present [CII-SR-123] - BasisAmount should not be present - [CII-SR-124] - BasisQuantityshould not be present + [CII-SR-124] - BasisQuantity should not be present [CII-SR-125] - PrepaidIndicator should not be present [CII-SR-126] - UnitBasisAmount should not be present [CII-SR-127] - ReasonCode should not be present @@ -680,6 +680,8 @@ [CII-SR-456] - DefinedTradeContact of BuyerTradeParty shall exist maximum once [CII-SR-457] - IssuerAssignedID with TypeCode 50 should exist maximum once [CII-SR-458] - IssuerAssignedID with TypeCode 130 should exist maximum once + [CII-SR-459] - SellerTradeParty URIUniversalCommunication should exist maximum once + [CII-SR-460] - BuyerTradeParty URIUniversalCommunication should exist maximum once [CII-SR-308] - RelatedSupplyChainConsignment should not be present @@ -755,7 +757,7 @@ [CII-SR-375] - ExpiryDate should not be present [CII-SR-376] - VerificationNumeric should not be present [CII-SR-377] - ValidFromDateTime should not be present - [CII-SR-378] - CreditLimitAmount should not be present + [CII-SR-378] - CreditLimitAmountshould not be present [CII-SR-379] - CreditAvailableAmount should not be present [CII-SR-380] - InterestRatePercent should not be present [CII-SR-381] - Description should not be present @@ -804,6 +806,8 @@ [CII-SR-437] - UltimatePayeeTradeParty should not be present [CII-SR-452] - Only one SpecifiedTradePaymentTerms should be present [CII-SR-453] - Only one SpecifiedTradePaymentTerms Description should be present + [CII-SR-461] - Only one TaxPointDate shall be present + [CII-SR-462] - Only one DueDateTypeCode shall be present [CII-SR-411] - InformationAmount should not be present @@ -826,17 +830,17 @@ [CII-SR-004] - Value should not be present [CII-SR-005] - SpecifiedDocumentVersion should not be present + + [CII-DT-005] - schemeID should not be present + [CII-DT-006] - schemeAgencyID should not be present + [CII-DT-007] - schemeVersionID should not be present + [CII-DT-001] - schemeName should not be present [CII-DT-002] - schemeAgencyName should not be present [CII-DT-003] - schemeDataURI should not be present [CII-DT-004] - schemeURI should not be present - - [CII-DT-005] - schemeID should not be present - [CII-DT-006] - schemeAgencyID should not be present - [CII-DT-007] - schemeVersionID should not be present - [CII-DT-008] - name should not be present [CII-DT-009] - listURI should not be present @@ -951,13 +955,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2475. @@ -975,7 +979,7 @@ [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. + [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. [BR-CL-14]-Country codes in an invoice MUST be coded using ISO code list 3166-1 @@ -984,7 +988,7 @@ [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list + [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list [BR-CL-17]-Invoice tax categories MUST be coded using UNCL 5305 code list @@ -996,14 +1000,14 @@ [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list + [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension diff --git a/cii/xslt/EN16931-CII-validation.xslt b/cii/xslt/EN16931-CII-validation.xslt index 806c7b6a..7ab90522 100644 --- a/cii/xslt/EN16931-CII-validation.xslt +++ b/cii/xslt/EN16931-CII-validation.xslt @@ -4,7 +4,7 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + @@ -349,14 +349,14 @@ - - + + - + - + BR-31 fatal @@ -369,9 +369,9 @@ - + - + BR-32 fatal @@ -384,9 +384,9 @@ - + - + BR-33 fatal @@ -414,9 +414,9 @@ - + - + BR-CO-21 fatal @@ -429,9 +429,9 @@ - + - + BR-DEC-01 fatal @@ -444,9 +444,9 @@ - + - + BR-DEC-02 fatal @@ -460,14 +460,14 @@ - - + + - + - + BR-36 fatal @@ -480,9 +480,9 @@ - + - + BR-37 fatal @@ -495,9 +495,9 @@ - + - + BR-38 fatal @@ -525,9 +525,9 @@ - + - + BR-CO-22 fatal @@ -540,9 +540,9 @@ - + - + BR-DEC-05 fatal @@ -555,9 +555,9 @@ - + - + BR-DEC-06 fatal @@ -1062,9 +1062,9 @@ - + - + BR-62 fatal @@ -1077,9 +1077,9 @@ - + - + BR-63 fatal @@ -1474,14 +1474,14 @@ - - + + - + - + BR-41 fatal @@ -1494,9 +1494,9 @@ - + - + BR-42 fatal @@ -1524,9 +1524,9 @@ - + - + BR-CO-23 fatal @@ -1539,9 +1539,9 @@ - + - + BR-DEC-24 fatal @@ -1554,9 +1554,9 @@ - + - + BR-DEC-25 fatal @@ -1570,14 +1570,14 @@ - - + + - + - + BR-43 fatal @@ -1590,9 +1590,9 @@ - + - + BR-44 fatal @@ -1620,9 +1620,9 @@ - + - + BR-CO-24 fatal @@ -1635,9 +1635,9 @@ - + - + BR-DEC-27 fatal @@ -1650,9 +1650,9 @@ - + - + BR-DEC-28 fatal @@ -2022,9 +2022,9 @@ - + - + BR-AE-03 fatal @@ -2058,9 +2058,9 @@ - + - + BR-AE-04 fatal @@ -2094,9 +2094,9 @@ - + - + BR-AE-02 fatal @@ -5073,7 +5073,7 @@ - [CII-SR-101] - BrandOwnerTradeParty should not be present + [CII-SR-101] -BrandOwnerTradeParty should not be present @@ -5088,7 +5088,7 @@ - [CII-SR-102] - IncludedReferencedProduct should not be present + [CII-SR-102] -IncludedReferencedProduct should not be present @@ -5103,7 +5103,7 @@ - [CII-SR-103] - InformationNote should not be present + [CII-SR-103] - InformationNoteshould not be present @@ -5475,7 +5475,7 @@ - [CII-SR-124] - BasisQuantityshould not be present + [CII-SR-124] - BasisQuantity should not be present @@ -6995,8 +6995,8 @@ - - + + @@ -8377,6 +8377,36 @@ + + + + + + + CII-SR-459 + warning + + + + [CII-SR-459] - SellerTradeParty URIUniversalCommunication should exist maximum once + + + + + + + + + + CII-SR-460 + warning + + + + [CII-SR-460] - BuyerTradeParty URIUniversalCommunication should exist maximum once + + + @@ -9465,7 +9495,7 @@ - [CII-SR-378] - CreditLimitAmount should not be present + [CII-SR-378] - CreditLimitAmountshould not be present @@ -10189,6 +10219,36 @@ + + + + + + + CII-SR-461 + fatal + + + + [CII-SR-461] - Only one TaxPointDate shall be present + + + + + + + + + + CII-SR-462 + fatal + + + + [CII-SR-462] - Only one DueDateTypeCode shall be present + + + @@ -10436,116 +10496,116 @@ - - + + - + - - CII-DT-001 + + CII-DT-005 fatal - [CII-DT-001] - schemeName should not be present + [CII-DT-005] - schemeID should not be present - + - - CII-DT-002 + + CII-DT-006 fatal - [CII-DT-002] - schemeAgencyName should not be present + [CII-DT-006] - schemeAgencyID should not be present - + - - CII-DT-003 + + CII-DT-007 fatal - [CII-DT-003] - schemeDataURI should not be present + [CII-DT-007] - schemeVersionID should not be present + + + + + + - + - - CII-DT-004 + + CII-DT-001 fatal - [CII-DT-004] - schemeURI should not be present + [CII-DT-001] - schemeName should not be present - - - - - - - + - - CII-DT-005 + + CII-DT-002 fatal - [CII-DT-005] - schemeID should not be present + [CII-DT-002] - schemeAgencyName should not be present - + - - CII-DT-006 + + CII-DT-003 fatal - [CII-DT-006] - schemeAgencyID should not be present + [CII-DT-003] - schemeDataURI should not be present - + - - CII-DT-007 + + CII-DT-004 fatal - [CII-DT-007] - schemeVersionID should not be present + [CII-DT-004] - schemeURI should not be present @@ -11966,9 +12026,9 @@ - + - + BR-CL-03 fatal @@ -11987,9 +12047,9 @@ - + - + BR-CL-04 fatal @@ -12008,9 +12068,9 @@ - + - + BR-CL-05 fatal @@ -12134,9 +12194,9 @@ - + - + BR-CL-13 fatal @@ -12197,9 +12257,9 @@ - + - + BR-CL-16 fatal @@ -12281,9 +12341,9 @@ - + - + BR-CL-20 fatal @@ -12324,9 +12384,9 @@ - + - + BR-CL-22 fatal diff --git a/pom-license.xml b/pom-license.xml index 6cfd809d..715f86f6 100644 --- a/pom-license.xml +++ b/pom-license.xml @@ -12,7 +12,7 @@ 1.11.4 centc434-validation-rules - 1.3.10 + 1.3.12 centc434-validation-rules EN16931 validation rules https://github.com/ConnectingEurope/eInvoicing-EN16931 diff --git a/pom-preprocess.xml b/pom-preprocess.xml index 5a4f7d44..c1da26f9 100644 --- a/pom-preprocess.xml +++ b/pom-preprocess.xml @@ -12,7 +12,7 @@ 1.11.4 centc434-validation-rules - 1.3.10 + 1.3.12 centc434-validation-rules EN16931 - CEN/TC 434 validation rules https://github.com/CenPC434/validation @@ -69,7 +69,7 @@ false false false - Schematron version 1.3.10 - Last update: 2023-04-08 + Schematron version 1.3.12 - Last update: 2024-04-06 diff --git a/pom-validate.xml b/pom-validate.xml index 33638f33..ac583ae2 100644 --- a/pom-validate.xml +++ b/pom-validate.xml @@ -12,7 +12,7 @@ 1.11.4 centc434-validation-rules - 1.3.10 + 1.3.12 centc434-validation-rules EN16931 - CEN/TC 434 validation rules https://github.com/CenPC434/validation diff --git a/pom-xslt.xml b/pom-xslt.xml index 3100a66d..1f19604c 100644 --- a/pom-xslt.xml +++ b/pom-xslt.xml @@ -12,7 +12,7 @@ 1.11.4 centc434-validation-rules - 1.3.10 + 1.3.12 centc434-validation-rules EN16931 - CEN/TC 434 validation rules https://github.com/CenPC434/validation @@ -70,7 +70,7 @@ *.sch - Schematron version 1.3.10 - Last update: 2023-04-08 + Schematron version 1.3.12 - Last update: 2024-04-06 true diff --git a/ubl/schematron/abstract/EN16931-syntax.sch b/ubl/schematron/abstract/EN16931-syntax.sch index 8c94aae9..3ad16165 100644 --- a/ubl/schematron/abstract/EN16931-syntax.sch +++ b/ubl/schematron/abstract/EN16931-syntax.sch @@ -213,7 +213,7 @@ [UBL-CR-180]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLegalFormCode [UBL-CR-181]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-182]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateStockAmount [UBL-CR-184]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-185]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationAddress [UBL-CR-186]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateRegistrationScheme @@ -277,7 +277,7 @@ [UBL-CR-244]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLegalForm [UBL-CR-245]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-246]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateStockAmount [UBL-CR-248]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-249]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationAddress [UBL-CR-250]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateRegistrationScheme @@ -312,7 +312,7 @@ [UBL-CR-279]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLegalForm [UBL-CR-280]-A UBL invoice should not include the PayeeParty PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-281]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporationStockAmount + [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateStockAmount [UBL-CR-283]-A UBL invoice should not include the PayeeParty PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-284]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationAddress [UBL-CR-285]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateRegistrationScheme @@ -600,18 +600,18 @@ [UBL-CR-569]-A UBL invoice should not include the InvoiceLine Item BrandName [UBL-CR-570]-A UBL invoice should not include the InvoiceLine Item ModelName [UBL-CR-571]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification ExtendedID - [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BareCodeSymbologyID + [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BarecodeSymbologyID [UBL-CR-573]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification PhysicalAttribute [UBL-CR-574]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification MeasurementDimension [UBL-CR-575]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification IssuerParty [UBL-CR-576]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification ExtendedID - [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BareCodeSymbologyID + [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BarecodeSymbologyID [UBL-CR-578]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification PhysicalAttribute [UBL-CR-579]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification MeasurementDimension [UBL-CR-580]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification IssuerParty [UBL-CR-581]-A UBL invoice should not include the InvoiceLine Item ManufacturersItemIdentification [UBL-CR-582]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification ExtendedID - [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BareCodeSymbologyID + [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BarecodeSymbologyID [UBL-CR-584]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification PhysicalAttribute [UBL-CR-585]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification MeasurementDimension [UBL-CR-586]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification IssuerParty diff --git a/ubl/schematron/codelist/EN16931-UBL-codes.sch b/ubl/schematron/codelist/EN16931-UBL-codes.sch index 8e129660..48197590 100644 --- a/ubl/schematron/codelist/EN16931-UBL-codes.sch +++ b/ubl/schematron/codelist/EN16931-UBL-codes.sch @@ -15,20 +15,20 @@ [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 @@ -63,7 +63,7 @@ [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -86,7 +86,7 @@ [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list @@ -118,7 +118,7 @@ context="cac:AllowanceCharge[cbc:ChargeIndicator = true()]/cbc:AllowanceChargeReasonCode" flag="fatal"> [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list @@ -132,7 +132,7 @@ [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list diff --git a/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch b/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch index 1e949404..43b85cfc 100644 --- a/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch +++ b/ubl/schematron/preprocessed/EN16931-UBL-validation-preprocessed.sch @@ -4,7 +4,7 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + @@ -568,7 +568,7 @@ [UBL-CR-180]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLegalFormCode [UBL-CR-181]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-182]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateStockAmount [UBL-CR-184]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-185]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationAddress [UBL-CR-186]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateRegistrationScheme @@ -632,7 +632,7 @@ [UBL-CR-244]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLegalForm [UBL-CR-245]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-246]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateStockAmount [UBL-CR-248]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-249]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationAddress [UBL-CR-250]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateRegistrationScheme @@ -667,7 +667,7 @@ [UBL-CR-279]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLegalForm [UBL-CR-280]-A UBL invoice should not include the PayeeParty PartyLegalEntity SoleProprietorshipIndicator [UBL-CR-281]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLiquidationStatusCode - [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporationStockAmount + [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateStockAmount [UBL-CR-283]-A UBL invoice should not include the PayeeParty PartyLegalEntity FullyPaidSharesIndicator [UBL-CR-284]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationAddress [UBL-CR-285]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateRegistrationScheme @@ -955,18 +955,18 @@ [UBL-CR-569]-A UBL invoice should not include the InvoiceLine Item BrandName [UBL-CR-570]-A UBL invoice should not include the InvoiceLine Item ModelName [UBL-CR-571]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification ExtendedID - [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BareCodeSymbologyID + [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BarecodeSymbologyID [UBL-CR-573]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification PhysicalAttribute [UBL-CR-574]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification MeasurementDimension [UBL-CR-575]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification IssuerParty [UBL-CR-576]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification ExtendedID - [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BareCodeSymbologyID + [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BarecodeSymbologyID [UBL-CR-578]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification PhysicalAttribute [UBL-CR-579]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification MeasurementDimension [UBL-CR-580]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification IssuerParty [UBL-CR-581]-A UBL invoice should not include the InvoiceLine Item ManufacturersItemIdentification [UBL-CR-582]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification ExtendedID - [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BareCodeSymbologyID + [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BarecodeSymbologyID [UBL-CR-584]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification PhysicalAttribute [UBL-CR-585]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification MeasurementDimension [UBL-CR-586]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification IssuerParty @@ -1149,13 +1149,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2005. @@ -1170,7 +1170,7 @@ [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be + [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -1180,7 +1180,7 @@ [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list + [BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list [BR-CL-17]-Invoice tax categories MUST be coded using UNCL5305 code list @@ -1192,13 +1192,13 @@ [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list + [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with diff --git a/ubl/xslt/EN16931-UBL-validation.xslt b/ubl/xslt/EN16931-UBL-validation.xslt index 0c7f30a6..bc209719 100644 --- a/ubl/xslt/EN16931-UBL-validation.xslt +++ b/ubl/xslt/EN16931-UBL-validation.xslt @@ -4,7 +4,7 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + @@ -6605,7 +6605,7 @@ - [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateStockAmount @@ -7565,7 +7565,7 @@ - [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporationStockAmount + [UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateStockAmount @@ -8090,7 +8090,7 @@ - [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporationStockAmount + [UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateStockAmount @@ -12410,7 +12410,7 @@ - [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BareCodeSymbologyID + [UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BarecodeSymbologyID @@ -12485,7 +12485,7 @@ - [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BareCodeSymbologyID + [UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BarecodeSymbologyID @@ -12575,7 +12575,7 @@ - [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BareCodeSymbologyID + [UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BarecodeSymbologyID @@ -15097,9 +15097,9 @@ - + - + BR-CL-03 fatal @@ -15118,9 +15118,9 @@ - + - + BR-CL-04 fatal @@ -15139,9 +15139,9 @@ - + - + BR-CL-05 fatal @@ -15244,9 +15244,9 @@ - + - + BR-CL-13 fatal @@ -15308,9 +15308,9 @@ - + - + BR-CL-16 fatal @@ -15392,9 +15392,9 @@ - + - + BR-CL-20 fatal @@ -15434,9 +15434,9 @@ - + - + BR-CL-22 fatal