ehf.2019-12.xslt.EHF-UBL-T10.xslt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-bdve-ehf Show documentation
Show all versions of ph-bdve-ehf Show documentation
Norwegian EHF validation engine
/
*:
[namespace-uri()='
']
[
]
/
@
@*[local-name()='
' and namespace-uri()='
']
/
[
]
/@
/
[
]
/@
.
U
U
U.
n
U.
_
_
Norwegian rules for EHF Invoice
EHF-T10-B00101
warning
Element 'cbc:UBLVersionID' MUST be provided.
EHF-T10-B00102
warning
Element 'cbc:CustomizationID' MUST be provided.
EHF-T10-B00103
warning
Element 'cbc:ProfileID' MUST be provided.
EHF-T10-B00104
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B00105
warning
Element 'cbc:IssueDate' MUST be provided.
EHF-T10-B00106
warning
Element 'cbc:InvoiceTypeCode' MUST be provided.
EHF-T10-B00107
warning
Element 'cbc:DocumentCurrencyCode' MUST be provided.
EHF-T10-B00108
warning
Element 'cac:AccountingSupplierParty' MUST be provided.
EHF-T10-B00109
warning
Element 'cac:AccountingCustomerParty' MUST be provided.
EHF-T10-B00110
warning
Element 'cac:PaymentMeans' MUST be provided.
EHF-T10-B00111
warning
Element 'cac:TaxTotal' MUST be provided.
EHF-T10-B00112
warning
Element 'cac:LegalMonetaryTotal' MUST be provided.
EHF-T10-B00113
warning
Element 'cac:InvoiceLine' MUST be provided.
EHF-T10-B00201
warning
Element 'cbc:UBLVersionID' MUST contain value '2.1'.
EHF-T10-B00701
warning
Attribute 'listID' MUST be present.
EHF-T10-B01101
warning
Attribute 'listID' MUST be present.
EHF-T10-B01301
warning
Attribute 'listID' MUST be present.
EHF-T10-B01601
warning
Element 'cbc:StartDate' MUST be provided.
EHF-T10-B01602
warning
Element 'cbc:EndDate' MUST be provided.
EHF-T10-B01901
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B02101
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B02301
warning
Attribute 'listID' MUST be present.
EHF-T10-B02601
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B03001
warning
Attribute 'mimeCode' MUST be present.
EHF-T10-B03201
warning
Element 'cbc:URI' MUST be provided.
EHF-T10-B03401
warning
Element 'cac:Party' MUST be provided.
EHF-T10-B03501
warning
Element 'cac:PartyName' MUST be provided.
EHF-T10-B03502
warning
Element 'cac:PostalAddress' MUST be provided.
EHF-T10-B03601
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B03801
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B03901
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B04101
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B04301
warning
Element 'cbc:CityName' MUST be provided.
EHF-T10-B04302
warning
Element 'cbc:PostalZone' MUST be provided.
EHF-T10-B04303
warning
Element 'cac:Country' MUST be provided.
EHF-T10-B04901
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B05001
warning
Attribute 'listID' MUST be present.
EHF-T10-B05201
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T10-B05202
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B05301
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B05501
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B05701
warning
Element 'cbc:RegistrationName' MUST be provided.
EHF-T10-B05702
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T10-B05901
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B06401
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B06501
warning
Attribute 'listID' MUST be present.
EHF-T10-B07301
warning
Element 'cac:Party' MUST be provided.
EHF-T10-B07401
warning
Element 'cac:PartyName' MUST be provided.
EHF-T10-B07402
warning
Element 'cac:PostalAddress' MUST be provided.
EHF-T10-B07403
warning
Element 'cac:Contact' MUST be provided.
EHF-T10-B07501
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B07701
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B07801
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B08001
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B08201
warning
Element 'cbc:CityName' MUST be provided.
EHF-T10-B08202
warning
Element 'cbc:PostalZone' MUST be provided.
EHF-T10-B08203
warning
Element 'cac:Country' MUST be provided.
EHF-T10-B08801
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B08901
warning
Attribute 'listID' MUST be present.
EHF-T10-B09101
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B09201
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B09401
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B09601
warning
Element 'cbc:RegistrationName' MUST be provided.
EHF-T10-B09602
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T10-B09801
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B10301
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B10501
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B11201
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B11301
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B11501
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B11801
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B12001
warning
Element 'cac:PartyName' MUST be provided.
EHF-T10-B12101
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B12301
warning
Element 'cac:Country' MUST be provided.
EHF-T10-B12901
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B13101
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T10-B13102
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B13201
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B13401
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B13901
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B14701
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B14801
warning
Attribute 'listID' MUST be present.
EHF-T10-B15001
warning
Element 'cbc:PaymentMeansCode' MUST be provided.
EHF-T10-B15002
warning
Element 'cbc:PaymentDueDate' MUST be provided.
EHF-T10-B15003
warning
Element 'cac:PayeeFinancialAccount' MUST be provided.
EHF-T10-B15101
warning
Attribute 'listID' MUST be present.
EHF-T10-B15601
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B15701
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B15901
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B16101
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B17101
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B17201
fatal
Attribute 'listID' MUST contain value 'ISO3166-1:Alpha2'
EHF-T10-B17401
warning
Element 'cbc:Note' MUST be provided.
EHF-T10-B17601
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T10-B17602
warning
Element 'cbc:Amount' MUST be provided.
EHF-T10-B17603
warning
Element 'cac:TaxCategory' MUST be provided.
EHF-T10-B17801
warning
Attribute 'listID' MUST be present.
EHF-T10-B18101
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B18301
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B18302
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B18401
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B18701
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B18901
warning
Element 'cbc:SourceCurrencyCode' MUST be provided.
EHF-T10-B18902
warning
Element 'cbc:TargetCurrencyCode' MUST be provided.
EHF-T10-B18903
warning
Element 'cbc:CalculationRate' MUST be provided.
EHF-T10-B18904
warning
Element 'cbc:MathematicOperatorCode' MUST be provided.
EHF-T10-B19001
warning
Attribute 'listID' MUST be present.
EHF-T10-B19201
warning
Attribute 'listID' MUST be present.
EHF-T10-B19501
warning
Element 'cbc:MathematicOperatorCode' MUST contain value 'Multiply'.
EHF-T10-B19701
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T10-B19702
warning
Element 'cac:TaxSubtotal' MUST be provided.
EHF-T10-B19801
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B20001
warning
Element 'cbc:TaxableAmount' MUST be provided.
EHF-T10-B20002
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T10-B20003
warning
Element 'cac:TaxCategory' MUST be provided.
EHF-T10-B20101
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B20301
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B20501
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B20701
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B20702
warning
Element 'cbc:Percent' MUST be provided.
EHF-T10-B20703
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B20801
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B21201
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B21401
warning
Element 'cbc:LineExtensionAmount' MUST be provided.
EHF-T10-B21402
warning
Element 'cbc:TaxExclusiveAmount' MUST be provided.
EHF-T10-B21403
warning
Element 'cbc:TaxInclusiveAmount' MUST be provided.
EHF-T10-B21404
warning
Element 'cbc:PayableAmount' MUST be provided.
EHF-T10-B21501
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B21701
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B21901
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B22101
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B22301
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B22501
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B22701
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B22901
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B23101
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B23102
warning
Element 'cbc:InvoicedQuantity' MUST be provided.
EHF-T10-B23103
warning
Element 'cbc:LineExtensionAmount' MUST be provided.
EHF-T10-B23104
warning
Element 'cac:Item' MUST be provided.
EHF-T10-B23105
warning
Element 'cac:Price' MUST be provided.
EHF-T10-B23401
warning
Attribute 'unitCode' MUST be present.
EHF-T10-B23402
warning
Attribute 'unitCodeListID' MUST be present.
EHF-T10-B23701
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B24301
warning
Element 'cbc:LineID' MUST be provided.
EHF-T10-B24501
warning
Element 'cbc:ActualDeliveryDate' MUST be provided.
EHF-T10-B25001
warning
Element 'cac:Country' MUST be provided.
EHF-T10-B25601
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B25701
warning
Attribute 'listID' MUST be present.
EHF-T10-B25901
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T10-B25902
warning
Element 'cbc:Amount' MUST be provided.
EHF-T10-B26201
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B26401
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T10-B26501
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B26701
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B26702
warning
Element 'cac:ClassifiedTaxCategory' MUST be provided.
EHF-T10-B27001
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B27201
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B27501
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T10-B27601
fatal
Attribute 'listID' MUST contain value 'ISO3166-1:Alpha2'
EHF-T10-B27801
warning
Element 'cbc:ItemClassificationCode' MUST be provided.
EHF-T10-B28101
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B28102
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T10-B28501
warning
Element 'cbc:ID' MUST be provided.
EHF-T10-B28701
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B28702
warning
Element 'cbc:Value' MUST be provided.
EHF-T10-B29001
warning
Element 'cac:PartyName' MUST be provided.
EHF-T10-B29101
warning
Element 'cbc:Name' MUST be provided.
EHF-T10-B29401
warning
Attribute 'schemeID' MUST be present.
EHF-T10-B29601
warning
Element 'cbc:PriceAmount' MUST be provided.
EHF-T10-B29701
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B30001
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T10-B30002
warning
Element 'cbc:Amount' MUST be provided.
EHF-T10-B30401
warning
Attribute 'currencyID' MUST be present.
EHF-T10-B30601
warning
Attribute 'currencyID' MUST be present.
EHFPROFILE-T10-R001
fatal
[EHFPROFILE-T10-R001]-An invoice transaction T10 must only be used in Profiles 4, 5 or xy.
NOGOV-T10-R042
fatal
[NOGOV-T10-R042]-An Invoice MUST be coded with the InvoiceTypeCode code list UNCL D1001 BII2 subset
NOGOV-T10-R001
warning
[NOGOV-T10-R001]-A contact reference identifier SHOULD be provided for AccountingSupplierParty according to EHF.
NOGOV-T10-R011
fatal
[NOGOV-T10-R011]-PayeeFinancialAccount MUST be provided according EHF.
NOGOV-T10-R012
warning
[NOGOV-T10-R012]-Payment Identifier (KID number) SHOULD be used according to EHF.
NOGOV-T10-R032
fatal
[NOGOV-T10-R032]-Only numbers are allowed as bank account number if scheme is BBAN.
NOGOV-T10-R033
warning
[NOGOV-T10-R033]-IBAN number is not for a Norwegain bank account
NOGOV-T10-R013
warning
[NOGOV-T10-R013]-An association to Order Reference SHOULD be provided according to EHF.
NOGOV-T10-R003
warning
[NOGOV-T10-R003]-The buyer's accounting code applied to the Invoice Line SHOULD be provided according to EHF.
NOGOV-T10-R004
warning
[NOGOV-T10-R004]-An association to Order Line Reference SHOULD be provided according to EHF.
NOGOV-T10-R002
warning
[NOGOV-T10-R002]-The sellers ID for the item SHOULD be provided according to EHF.
NOGOV-T10-R022
warning
[NOGOV-T10-R022]-Identification code MUST be specified when describing origin country.
NOGOV-T10-R024
warning
[NOGOV-T10-R024]-Name MUST be specified when describing a manufacturer party.
NOGOV-T10-R023
warning
[NOGOV-T10-R023]-Item classification code MUST be specified when describing commodity classification.
NOGOV-T10-R014
fatal
[NOGOV-T10-R014]-If the VAT total amount in an invoice exists it MUST contain the suppliers VAT number.
NOGOV-T10-R034
fatal
[NOGOV-T10-R034]-If charge is present on document level, total charge must be stated.
NOGOV-T10-R035
fatal
[NOGOV-T10-R035]-If allowance is present on document level, total allowance must be stated.
NOGOV-T10-R005
warning
[NOGOV-T10-R005]-ContractDocumentReference SHOULD be provided according to EHF.
NOGOV-T10-R016
fatal
[NOGOV-T10-R016]-An EHF invoice MUST have an invoice type code.
NOGOV-T10-R019
fatal
[NOGOV-T10-R019]-An invoice MUST have payment means information.
NOGOV-T10-R020
fatal
[NOGOV-T10-R020]-Note MUST be specified when describing Payment terms.
NOGOV-T10-R017
fatal
[NOGOV-T10-R017]-Name MUST be specified when describing a Tax Representative
NOGOV-T10-R018
fatal
[NOGOV-T10-R018]-Company identifier MUST be specified when describing a Tax Representative
NOGOV-T10-R021
fatal
[NOGOV-T10-R021]-An invoice MUST have Tax Subtotal specifications.
NOGOV-T10-R038
fatal
[NOGOV-T10-R038]-Total tax amount cannot have more than 2 decimals
NOGOV-T10-R041
fatal
[NOGOV-T10-R041]-Multiple tax subtotals per tax category code is not allowed.
NOGOV-T10-R025
fatal
[NOGOV-T10-R025]-The attribute currencyID must have the same value as DocumentCurrencyCode, except the attribute for TransactionCurrencyTaxAmount.
NOGOV-T10-R037
fatal
[NOGOV-T10-R037]-Document level amounts cannot have more than 2 decimals
NOGOV-T10-R006
warning
[NOGOV-T10-R006]-A customer number for AccountingCustomerParty SHOULD be provided according to EHF.
NOGOV-T10-R007
fatal
[NOGOV-T10-R007]-A contact reference identifier MUST be provided for AccountingCustomerParty according to EHF.
NOGOV-T10-R009
fatal
[NOGOV-T10-R009]-PartyLegalEntity for AccountingCustomerParty MUST be provided according to EHF.
NOGOV-T10-R015
fatal
[NOGOV-T10-R015]-Registration name for AccountingCustomerParty MUST be provided according to EHF.
NOGOV-T10-R039
fatal
[NOGOV-T10-R039]-Tax subtotal amounts cannot have more than 2 decimals
NOGOV-T10-R039
fatal
[NOGOV-T10-R039]-Tax subtotal amounts cannot have more than 2 decimals
NOGOV-T10-R040
fatal
[NOGOV-T10-R040]-Allowance or charge amounts on document level cannot have more than 2 decimals
NOGOV-T10-R043
warning
[NOGOV-T10-R043]-Payable rounding amount should be no more than 10% of payable amount.
NONAT-T10-R012
fatal
[NONAT-T10-R012]-An invoice MUST contain tax information
NONAT-T10-R002
fatal
[NONAT-T10-R002]-Payment due date MUST be provided in the invoice according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 5"
NONAT-T10-R013
fatal
[NONAT-T10-R013]-If payee information is provided then the payee name MUST be specified.
NONAT-T10-R009
warning
[NONAT-T10-R009]-Issue date of an invoice should be today or earlier.
NONAT-T10-R003
warning
[NONAT-T10-R003]-The actual delivery date SHOULD be provided in the invoice according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 4 and § 5-1-4", see also “NOU 2002:20, point 9.4.1.4”"
NONAT-T10-R004
warning
[NONAT-T10-R004]-A Delivery address in an invoice SHOULD contain at least, city, zip code and country code according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 4 and § 5-1-4", see also “NOU 2002:20, point 9.4.1.4”
NONAT-T10-R020
fatal
[NONAT-T10-R020]-UBL version must be 2.1
NONAT-T10-R001
fatal
[NONAT-T10-R001]-The Norwegian legal registration ID for the supplier MUST be provided according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 2"
NONAT-T10-R008
fatal
[NONAT-T10-R008]-The Norwegian legal registration name for the supplier MUST be provided according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 2"
NONAT-T10-R006
fatal
[NONAT-T10-R006]-A supplier postal address in an invoice MUST contain at least city name, zip code and country code.
NONAT-T10-R007
fatal
[NONAT-T10-R007]-A customer postal address in an invoice MUST contain at least city name, zip code and country code.
NONAT-T10-R010
warning
[NONAT-T10-R010]-Location identifiers SHOULD be GLN or GSRN
NONAT-T10-R018
fatal
[NONAT-T10-R018]-Company identifier MUST be specified when describing a company legal entity.
NONAT-T10-R024
fatal
[NONAT-T10-R024]-A payee account identifier scheme MUST be either IBAN, BBAN or LOCAL
NONAT-T10-R023
warning
[NONAT-T10-R023]-Tax inclusive amount in an invoice SHOULD NOT be negative
NONAT-T10-R022
warning
[NONAT-T10-R022]-Total payable amount in an invoice SHOULD NOT be negative
NONAT-T10-R011
warning
[NONAT-T10-R011]-AllowanceChargeReason text SHOULD be specified for all allowances and charges
NONAT-T10-R016
fatal
[NONAT-T10-R016]-Each invoice line MUST contain the product/service name
NONAT-T10-R015
fatal
[NONAT-T10-R015]-Invoice lines MUST contain the item price
NONAT-T10-R026
fatal
[NONAT-T10-R026]-Invoice line amount MUST be equal to the price amount multiplied by the quantity plus charges minus allowances at line level.
NONAT-T10-R033
fatal
[NONAT-T10-R033]-Base quantity must be a positive value higher than zero.
NONAT-T10-R029
fatal
[NONAT-T10-R029]-Taxable amount in a tax subtotal MUST be the sum of line extension amount of all invoice lines and allowances and charges on document level with the same tax category.
NONAT-T10-R031
fatal
[NONAT-T10-R031]-Tax categories MUST match provided tax categories on document level.
NONAT-T10-R032
fatal
[NONAT-T10-R032]-Tax categories MUST match provided tax categories on document level.
NONAT-T10-R017
fatal
[NONAT-T10-R017]-Every tax scheme MUST be defined through an identifier.
NONAT-T10-R014
fatal
[NONAT-T10-R014]-Invoice tax schemes MUST be 'VAT'