Automatically generated rules to validate document instances of EHF Payment Request 3.0.

Identifier/Error message Flag
EHF-PR-B00101
Element 'cbc:CustomizationID' MUST be provided.
fatal
EHF-PR-B00102
Element 'cbc:ProfileID' MUST be provided.
fatal
EHF-PR-B00103
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B00104
Element 'cbc:IssueDate' MUST be provided.
fatal
EHF-PR-B00105
Element 'cbc:DocumentCurrencyCode' MUST be provided.
fatal
EHF-PR-B00106
Element 'cac:AccountingSupplierParty' MUST be provided.
fatal
EHF-PR-B00107
Element 'cac:AccountingCustomerParty' MUST be provided.
fatal
EHF-PR-B00108
Element 'cac:LegalMonetaryTotal' MUST be provided.
fatal
EHF-PR-B00109
Element 'cac:InvoiceLine' MUST be provided.
fatal
EHF-PR-B00110
Document MUST not contain schema location.
fatal
EHF-PR-B00201
Element 'cbc:CustomizationID' MUST contain value 'urn:fdc:anskaffelser.no:2019:ehf:spec:payment-request:3.0'.
fatal
EHF-PR-B00202
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00301
Element 'cbc:ProfileID' MUST contain value 'urn:fdc:anskaffelser.no:2019:ehf:postaward:g3:07:1.0'.
fatal
EHF-PR-B00302
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00401
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00501
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00601
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00701
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00801
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B00802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01201
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01301
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01401
Value MUST be part of code list 'VAT date code (UNCL2005 subset)'.
fatal
EHF-PR-B01402
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01101
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01501
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B01601
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01502
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01701
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B01801
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01702
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01901
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B02001
Value MUST be part of code list 'Invoiced object identifier scheme (UNCL 1153)'.
fatal
EHF-PR-B02002
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02201
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02301
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02501
Attribute 'mimeCode' MUST be present.
fatal
EHF-PR-B02502
Value MUST be part of code list 'Mime code (IANA Subset)'.
fatal
EHF-PR-B02503
Attribute 'filename' MUST be present.
fatal
EHF-PR-B02504
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02801
Element 'cbc:URI' MUST be provided.
fatal
EHF-PR-B02901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B02401
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B01902
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03001
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B03101
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03002
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03201
Element 'cac:Party' MUST be provided.
fatal
EHF-PR-B03301
Element 'cac:PostalAddress' MUST be provided.
fatal
EHF-PR-B03401
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B03501
Attribute 'schemeID' MUST contain value '0192'
fatal
EHF-PR-B03502
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03402
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03701
Element 'cbc:Name' MUST be provided.
fatal
EHF-PR-B03801
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03702
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03901
Element 'cac:Country' MUST be provided.
fatal
EHF-PR-B04001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04101
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04201
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04301
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04401
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04501
Element 'cbc:Line' MUST be provided.
fatal
EHF-PR-B04601
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04502
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04701
Element 'cbc:IdentificationCode' MUST be provided.
fatal
EHF-PR-B04801
Value MUST be part of code list 'Country codes (ISO 3166-1:Alpha2)'.
fatal
EHF-PR-B04802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04702
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03902
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03302
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B03202
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04901
Element 'cac:Party' MUST be provided.
fatal
EHF-PR-B05001
Element 'cbc:EndpointID' MUST be provided.
fatal
EHF-PR-B05002
Element 'cac:PostalAddress' MUST be provided.
fatal
EHF-PR-B05101
Attribute 'schemeID' MUST contain value '0192'
fatal
EHF-PR-B05102
Attribute 'schemeID' MUST be present.
fatal
EHF-PR-B05103
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05301
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B05401
Value MUST be part of code list 'ISO 6523 ICD list'.
fatal
EHF-PR-B05402
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05302
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05601
Element 'cbc:Name' MUST be provided.
fatal
EHF-PR-B05701
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05602
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05801
Element 'cac:Country' MUST be provided.
fatal
EHF-PR-B05901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06101
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06201
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06301
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06401
Element 'cbc:Line' MUST be provided.
fatal
EHF-PR-B06501
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06402
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06601
Element 'cbc:IdentificationCode' MUST be provided.
fatal
EHF-PR-B06701
Value MUST be part of code list 'Country codes (ISO 3166-1:Alpha2)'.
fatal
EHF-PR-B06702
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06602
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07101
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B06801
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B05003
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B04902
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07201
Element 'cbc:PaymentMeansCode' MUST be provided.
fatal
EHF-PR-B07301
Value MUST be part of code list 'Payment means code (UNCL4461)'.
fatal
EHF-PR-B07302
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07501
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07601
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B07701
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07801
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07901
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B08001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07902
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07602
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B07202
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08101
Element 'cbc:LineExtensionAmount' MUST be provided.
fatal
EHF-PR-B08102
Element 'cbc:PayableAmount' MUST be provided.
fatal
EHF-PR-B08201
Attribute 'currencyID' MUST be present.
fatal
EHF-PR-B08202
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B08203
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08401
Attribute 'currencyID' MUST be present.
fatal
EHF-PR-B08402
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B08403
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08601
Attribute 'currencyID' MUST be present.
fatal
EHF-PR-B08602
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B08603
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08103
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08801
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B08802
Element 'cbc:InvoicedQuantity' MUST be provided.
fatal
EHF-PR-B08803
Element 'cbc:LineExtensionAmount' MUST be provided.
fatal
EHF-PR-B08804
Element 'cac:Item' MUST be provided.
fatal
EHF-PR-B08805
Element 'cac:Price' MUST be provided.
fatal
EHF-PR-B08901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09001
Attribute 'unitCode' MUST be present.
fatal
EHF-PR-B09002
Value MUST be part of code list 'Recommendation 20, including Recommendation 21 codes - prefixed with X (UN/ECE)' or 'Recommandation 21 (UN/ECE)'.
fatal
EHF-PR-B09003
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09201
Attribute 'currencyID' MUST be present.
fatal
EHF-PR-B09202
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B09203
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09401
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09601
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09701
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09501
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09801
Element 'cbc:Name' MUST be provided.
fatal
EHF-PR-B09901
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10001
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10101
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B10201
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10102
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10301
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B10401
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10302
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B09802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10501
Element 'cbc:PriceAmount' MUST be provided.
fatal
EHF-PR-B10601
Attribute 'currencyID' MUST be present.
fatal
EHF-PR-B10602
Value MUST be part of code list 'Currency codes (ISO 4217)'.
fatal
EHF-PR-B10603
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10801
Value MUST be part of code list 'Recommendation 20, including Recommendation 21 codes - prefixed with X (UN/ECE)' or 'Recommandation 21 (UN/ECE)'.
fatal
EHF-PR-B10802
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B10502
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B08806
Document MUST NOT contain elements not part of the data model.
fatal
EHF-PR-B00111
Document MUST NOT contain elements not part of the data model.
fatal