Schematron for validating OIOUBL-2.1 documents.
Checking OIOUBL-2.1 Reminder
Pattern for validating the UBLExtensions class
Pattern for validating root element, Profile and UBL version
[F-REM001] Root element must be Reminder
[F-REM096] The documenttype does not match an OIOUBL Reminder and can not be validated by this schematron.
Pattern for validating the Reminder structure
[F-REM002] TaxPointDate element must be excluded
[F-REM003] LineCountNumeric element must be excluded
[F-REM006] Invalid ReminderTypeCode. Must contain a value
[F-REM007] Invalid ReminderSequenceNumeric. Must contain a value
[F-REM008] Invalid DocumentCurrencyCode. Must contain a value
[F-REM010] Invalid ID. Must contain a value
[F-REM059] Invalid listID. Must be 'urn:oioubl.codelist:remindertypecode-1.1' or 'urn:oioubl:codelist:remindertypecode-1.1'
[F-REM060] Invalid listAgencyID. Must be '320'
[F-REM061] Invalid ReminderTypeCode. Must be a value from the codelist
[F-REM070] No more than one ReminderPeriod class may be present
[F-REM067] There is a DebitLineAmount for one or more Reminder lines where the currencyID does not equal the DocumentCurrencyCode
[F-REM068] There is a CreditLineAmount for one or more Reminder lines where the currencyID does not equal the DocumentCurrencyCode
[F-REM065] There is a LineExtensionAmount where the currencyID does not equal the DocumentCurrencyCode
[F-REM066] There is a PayableAmount where the currencyID does not equal the DocumentCurrencyCode
[F-REM012] TaxCurrencyCode must be either DKK or EUR
[F-REM014] One TransactionCurrencyTaxAmount element must be present when TaxCurrencyCode element is used
[F-REM062] One PricingExchangeRate class must be present when PricingCurrencyCode element is used
[F-REM063] One PaymentExchangeRate class must be present when PaymentCurrencyCode element is used
[F-REM064] One PaymentAlternativeExchangeRate class must be present when PaymentAlternativeCurrencyCode element is used
Pattern for validating the ReminderPeriod class
Pattern for validating the AdditionalDocumentReference class
Pattern for validating the Signature class
[F-REM015] Invalid ID. Must contain a value
[F-REM069] No more than one PartyLegalEntity class may be present
Pattern for validating the AccountingSupplierParty class
[F-REM016] DataSendingCapability element must be excluded
[F-REM017] Party class must be present
[F-REM018] Invalid EndpointID. Must contain a value
[F-REM021] One PartyLegalEntity class must be present
Pattern for validating the AccountingCustomerParty class
[F-REM024] One Party class must be present
[F-REM025] Invalid EndpointID. Must contain a value
[F-REM071] One Contact class must be present
[F-REM093] No more than one PartyLegalEntity class may be present
Pattern for validating the PayeeParty class
[F-REM034] Invalid EndpointID. Must contain a value
[F-REM072] No more than one PartyLegalEntity class may be present
Pattern for validating the TaxRepresentativeParty class
Pattern for validating the PaymentMeans class
Pattern for validating the PaymentTerms class
Pattern for validating the PrepaidPayment class
Pattern for validating the AllowanceCharge class
[F-REM094] Use either AllowanceChargeReason or AllowanceChargeReasonCode
[W-REM095] Invalid listID. Must be 'urn:oioubl:codelist:reminderallowancechargereasoncode-1.0'
[W-REM096] Invalid listAgencyID. Must be '320'
[F-REM097] Invalid AllowanceChargeReasonCode. Must be a value from the codelist
Pattern for validating the TaxExchangeRate class
Pattern for validating the PricingExchangeRate class
Pattern for validating the PaymentExchangeRate class
Pattern for validating the PaymentAlternativeExchangeRate class
Pattern for validating the TaxTotal class
Pattern for validating the LegalMonetaryTotal class
[F-REM054] Invalid LineExtensionAmount. Must contain a value
[F-REM074] AllowanceTotalAmount is mandatory when AllowanceCharge classes (with ChargeIndicator='false') are present
[F-REM075] ChargeTotalAmount is mandatory when AllowanceCharge classes (with ChargeIndicator='true') are present
[F-REM076] PrepaidAmount is mandatory when PrepaidPayment/PaidAmount elements are present
[F-REM077] PayableRoundingAmount is mandatory when TaxTotal/RoundingAmount elements are present
[F-REM079] The sum of TaxTotal/TaxSubtotal/TaxAmount elements must equal TaxExclusiveAmount
[F-REM080] TaxInclusiveAmount is calculated incorrectly
[F-REM081] The sum of AllowanceCharge/Amount elements (with ChargeIndicator='false') must equal AllowanceTotalAmount
[F-REM082] The sum of AllowanceCharge/Amount elements (with ChargeIndicator='true') must equal cbc:ChargeTotalAmount
[F-REM083] The sum of PrepaidPayment/PaidAmount elements must equal PrepaidAmount
[F-REM084] The sum of TaxTotal/RoundingAmount elements must equal PayableRoundingAmount
[F-REM085] PayableAmount is calculated incorrectly
[F-REM086] The sum of PaymentTerms/Amount elements or the value of the first PaymentTerms/Amount must equal PayableAmount
Pattern for validating the ReminderLine class
[F-REM058] Invalid ID. Must contain a value
[F-REM087] No more than one ReminderPeriod class may be present
[F-REM088] No more than one BillingReference class may be present
[F-REM089] DebitNoteDocumentReference class must be excluded
[F-REM090] AdditionalDocumentReference class must be excluded
[F-REM091] No more than one BillingReferenceLine class may be present
[F-REM092] No more than one AllowanceCharge class may be present