ehf.2018-11.xslt.EHF-UBL-T14.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 Credit Note
EHF-T14-B00101
warning
Element 'cbc:UBLVersionID' MUST be provided.
EHF-T14-B00102
warning
Element 'cbc:CustomizationID' MUST be provided.
EHF-T14-B00103
warning
Element 'cbc:ProfileID' MUST be provided.
EHF-T14-B00104
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B00105
warning
Element 'cbc:IssueDate' MUST be provided.
EHF-T14-B00106
warning
Element 'cbc:DocumentCurrencyCode' MUST be provided.
EHF-T14-B00107
warning
Element 'cac:AccountingSupplierParty' MUST be provided.
EHF-T14-B00108
warning
Element 'cac:AccountingCustomerParty' MUST be provided.
EHF-T14-B00109
warning
Element 'cac:TaxTotal' MUST be provided.
EHF-T14-B00110
warning
Element 'cac:LegalMonetaryTotal' MUST be provided.
EHF-T14-B00111
warning
Element 'cac:CreditNoteLine' MUST be provided.
EHF-T14-B00201
warning
Element 'cbc:UBLVersionID' MUST contain value '2.1'.
EHF-T14-B00901
warning
Attribute 'listID' MUST be present.
EHF-T14-B01101
warning
Attribute 'listID' MUST be present.
EHF-T14-B01701
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B02001
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B02301
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B02601
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B02801
warning
Attribute 'listID' MUST be present.
EHF-T14-B03101
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B03501
warning
Attribute 'mimeCode' MUST be present.
EHF-T14-B03701
warning
Element 'cbc:URI' MUST be provided.
EHF-T14-B03901
warning
Element 'cac:Party' MUST be provided.
EHF-T14-B04001
warning
Element 'cac:PostalAddress' MUST be provided.
EHF-T14-B04002
warning
Element 'cac:PartyLegalEntity' MUST be provided.
EHF-T14-B04101
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B04301
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B04401
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B04601
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B04801
warning
Element 'cbc:CityName' MUST be provided.
EHF-T14-B04802
warning
Element 'cbc:PostalZone' MUST be provided.
EHF-T14-B04803
warning
Element 'cac:Country' MUST be provided.
EHF-T14-B05401
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T14-B05501
warning
Attribute 'listID' MUST be present.
EHF-T14-B05701
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B05702
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B05901
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B06101
warning
Element 'cbc:RegistrationName' MUST be provided.
EHF-T14-B06102
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B06301
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B07701
warning
Element 'cac:Party' MUST be provided.
EHF-T14-B07801
warning
Element 'cac:PartyName' MUST be provided.
EHF-T14-B07802
warning
Element 'cac:PostalAddress' MUST be provided.
EHF-T14-B07803
warning
Element 'cac:Contact' MUST be provided.
EHF-T14-B07901
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B08101
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B08201
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B08401
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B08601
warning
Element 'cbc:CityName' MUST be provided.
EHF-T14-B08602
warning
Element 'cbc:PostalZone' MUST be provided.
EHF-T14-B08603
warning
Element 'cac:Country' MUST be provided.
EHF-T14-B09201
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T14-B09301
warning
Attribute 'listID' MUST be present.
EHF-T14-B09501
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B09502
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B09601
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B09801
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B10001
warning
Element 'cbc:RegistrationName' MUST be provided.
EHF-T14-B10002
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B10201
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B10401
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B11101
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B11201
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B11401
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B11601
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B11701
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B11901
warning
Element 'cac:PartyName' MUST be provided.
EHF-T14-B11902
warning
Element 'cac:PartyTaxScheme' MUST be provided.
EHF-T14-B12001
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B12201
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B12202
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B12301
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B12501
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B13001
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B13801
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T14-B13901
warning
Attribute 'listID' MUST be present.
EHF-T14-B14101
warning
Element 'cbc:PaymentMeansCode' MUST be provided.
EHF-T14-B14201
warning
Attribute 'listID' MUST be present.
EHF-T14-B14701
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B14801
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B15001
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B16201
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T14-B16301
warning
Attribute 'listID' MUST be present.
EHF-T14-B16501
warning
Element 'cbc:Note' MUST be provided.
EHF-T14-B16701
warning
Element 'cbc:SourceCurrencyCode' MUST be provided.
EHF-T14-B16702
warning
Element 'cbc:TargetCurrencyCode' MUST be provided.
EHF-T14-B16703
warning
Element 'cbc:CalculationRate' MUST be provided.
EHF-T14-B16801
warning
Attribute 'listID' MUST be present.
EHF-T14-B17001
warning
Attribute 'listID' MUST be present.
EHF-T14-B17501
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T14-B17502
warning
Element 'cbc:Amount' MUST be provided.
EHF-T14-B17503
warning
Element 'cac:TaxCategory' MUST be provided.
EHF-T14-B18001
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B18201
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B18202
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B18601
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B18801
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T14-B18802
warning
Element 'cac:TaxSubtotal' MUST be provided.
EHF-T14-B18901
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B19101
warning
Element 'cbc:TaxableAmount' MUST be provided.
EHF-T14-B19102
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T14-B19103
warning
Element 'cac:TaxCategory' MUST be provided.
EHF-T14-B19201
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B19401
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B19601
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B19801
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B19802
warning
Element 'cbc:Percent' MUST be provided.
EHF-T14-B19803
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B19901
warning
Attribute 'schemeID' MUST be present.
EHF-T14-B20301
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B20501
warning
Element 'cbc:LineExtensionAmount' MUST be provided.
EHF-T14-B20502
warning
Element 'cbc:TaxExclusiveAmount' MUST be provided.
EHF-T14-B20503
warning
Element 'cbc:TaxInclusiveAmount' MUST be provided.
EHF-T14-B20504
warning
Element 'cbc:PayableAmount' MUST be provided.
EHF-T14-B20601
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B20801
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B21001
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B21201
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B21401
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B21601
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B21801
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B22001
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B22201
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B22202
warning
Element 'cbc:CreditedQuantity' MUST be provided.
EHF-T14-B22203
warning
Element 'cbc:LineExtensionAmount' MUST be provided.
EHF-T14-B22204
warning
Element 'cac:Item' MUST be provided.
EHF-T14-B22205
warning
Element 'cac:Price' MUST be provided.
EHF-T14-B22501
warning
Attribute 'unitCode' MUST be present.
EHF-T14-B22801
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B23401
warning
Element 'cbc:LineID' MUST be provided.
EHF-T14-B23701
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B23901
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B24101
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B25401
warning
Element 'cbc:IdentificationCode' MUST be provided.
EHF-T14-B25501
warning
Attribute 'listID' MUST be present.
EHF-T14-B25701
warning
Element 'cbc:TaxAmount' MUST be provided.
EHF-T14-B25801
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B26001
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T14-B26301
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B26501
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B26502
warning
Element 'cac:ClassifiedTaxCategory' MUST be provided.
EHF-T14-B26801
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B27001
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B27601
warning
Element 'cbc:ItemClassificationCode' MUST be provided.
EHF-T14-B27901
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B27902
warning
Element 'cac:TaxScheme' MUST be provided.
EHF-T14-B28301
warning
Element 'cbc:ID' MUST be provided.
EHF-T14-B28501
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B28502
warning
Element 'cbc:Value' MUST be provided.
EHF-T14-B28901
warning
Element 'cbc:Name' MUST be provided.
EHF-T14-B29101
warning
Element 'cbc:CompanyID' MUST be provided.
EHF-T14-B29401
warning
Element 'cbc:PriceAmount' MUST be provided.
EHF-T14-B29501
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B29801
warning
Element 'cbc:ChargeIndicator' MUST be provided.
EHF-T14-B29802
warning
Element 'cbc:Amount' MUST be provided.
EHF-T14-B30201
warning
Attribute 'currencyID' MUST be present.
EHF-T14-B30401
warning
Attribute 'currencyID' MUST be present.
EHFPROFILE-T14-R001
fatal
[EHFPROFILE-T14-R001]-A credit note transaction T14 must only be used with profiles 5, xx or xy.
NOGOV-T14-R003
fatal
[NOGOV-T14-R003]-If the VAT total amount in a credit note exists it MUST contain the suppliers VAT number.
NOGOV-T14-R021
fatal
[NOGOV-T14-R021]-If charge is present on document level, total charge must be stated.
NOGOV-T14-R022
fatal
[NOGOV-T14-R022]-If allowance is present on document level, total allowance must be stated.
EHFPROFILE-T14-R002
fatal
[EHFPROFILE-T14-R002]-A creditnote transaction T14 in Profile other than xx MUST have an invoice or creditnote reference identifier.
NOGOV-T14-R001
warning
[NOGOV-T14-R001]-A contact reference identifier SHOULD be provided for AccountingSupplierParty according to EHF.
NOGOV-T14-R005
fatal
[NOGOV-T14-R005]-The attribute currencyID must have the same value as DocumentCurrencyCode, except the attribute for TransactionCurrencyTaxAmount.
NOGOV-T14-R024
fatal
[NOGOV-T14-R024]-Document level amounts cannot have more than 2 decimals
NOGOV-T14-R002
warning
[NOGOV-T14-R002]-The sellers ID for the item SHOULD be provided according to EHF.
NOGOV-T14-R004
fatal
[NOGOV-T14-R004]-PartyLegalEntity for AccountingCustomerParty MUST be provided according to EHF.
NOGOV-T14-R008
fatal
[NOGOV-T14-R008]-Registration name for AccountingCustomerParty MUST be provided according to EHF.
NOGOV-T14-R006
warning
[NOGOV-T14-R006]-A customer number for AccountingCustomerParty SHOULD be provided according to EHF.
NOGOV-T14-R007
fatal
[NOGOV-T14-R007]-A contact reference identifier MUST be provided for AccountingCustomerParty according to EHF.
NOGOV-T14-R018
fatal
[NOGOV-T14-R018]-A credit note MUST have Tax Subtotal specifications.
NOGOV-T14-R025
fatal
[NOGOV-T14-R025]-Total tax amount cannot have more than 2 decimals
NOGOV-T14-R041
fatal
[NOGOV-T14-R041]-Multiple tax subtotals per tax category code is not allowed.
NOGOV-T14-R017
fatal
[NOGOV-T14-R017]-Company identifier MUST be specified when describing a Tax Representative
NOGOV-T14-R015
fatal
[NOGOV-T14-R015]-Only numbers are allowed as bank account number if scheme is BBAN.
NOGOV-T14-R016
warning
[NOGOV-T14-R016]-IBAN number is not for a Norwegain bank account
NOGOV-T14-R019
warning
[NOGOV-T14-R019]-Item classification code MUST be specified when describing commodity classification.
NOGOV-T14-R026
fatal
[NOGOV-T14-R026]-Tax subtotal amounts cannot have more than 2 decimals
NOGOV-T14-R026
fatal
[NOGOV-T14-R026]-Tax subtotal amounts cannot have more than 2 decimals
NOGOV-T14-R027
fatal
[NOGOV-T14-R027]-Allowance or charge amounts on document level cannot have more than 2 decimals
NONAT-T14-R009
fatal
[NONAT-T14-R009]-If payee information is provided then the payee name MUST be specified.
NONAT-T14-R021
fatal
[NONAT-T14-R021]-A creditnote transaction T14 in Profile other than xx MUST have an invoice or creditnote reference identifier.
NONAT-T14-R018
fatal
[NONAT-T14-R018]-A Credit Note MUST contain tax information
NONAT-T14-R005
warning
[NONAT-T14-R005]-Issue date of a creditnote should be today or earlier.
NONAT-T14-R016
fatal
[NONAT-T14-R016]-UBL version must be 2.1
NONAT-T14-R001
fatal
[NONAT-T14-R001]-PartyLegalEntity for AccountingSupplierParty MUST be provided according to "FOR 2004-12-01 nr 1558 - § 5-1-1. Point 2"
NONAT-T14-R006
fatal
[NONAT-T14-R006]-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-T14-R003
fatal
[NONAT-T14-R003]-A supplier postal address in a credit note MUST contain at least city name, zip code and country code.
NONAT-T14-R004
fatal
[NONAT-T14-R004]-A customer postal address in a credit note MUST contain at least, city name, zip code and country code.
NONAT-T14-R014
fatal
[NONAT-T14-R014]-Company identifier MUST be specified when describing a company legal entity.
NONAT-T14-R007
warning
[NONAT-T14-R007]-Location identifiers SHOULD be GLN or GSRN
NONAT-T14-R022
fatal
[NONAT-T14-R022]-A payee account identifier scheme MUST be either IBAN, BBAN or LOCAL
NONAT-T14-R020
warning
[NONAT-T14-R020]-Tax inclusive amount in a credit note SHOULD NOT be negative
NONAT-T14-R019
warning
[NONAT-T14-R019]-Total payable amount in a credit note SHOULD NOT be negative
NONAT-T14-R008
warning
[NONAT-T14-R008]-AllowanceChargeReason text SHOULD be specified for all allowances and charges
NONAT-T14-R031
fatal
[NONAT-T14-R031]-Tax category for allowance and charge MUST match provided tax categories on document level.
NONAT-T14-R012
fatal
[NONAT-T14-R012]-Each credit note line MUST contain the product/service name
NONAT-T14-R011
fatal
[NONAT-T14-R011]-Credit Note line MUST contain the item price
NONAT-T14-R024
fatal
[NONAT-T14-R024]-Credit note line amount MUST be equal to the price amount multiplied by the quantity, plus charges minus allowances at the line level.
NONAT-T14-R030
fatal
[NONAT-T14-R030]-Tax category on line level MUST match provided tax categories on document level.
NONAT-T14-R033
fatal
[NONAT-T10-R033]-Base quantity must be a positive value higher than zero.
NONAT-T14-R029
fatal
[NONAT-T14-R029]-Taxable amount in a tax subtotal MUST be the sum of line extension amount of all credit note lines and allowances and charges on document level with the same tax category.
NONAT-T14-R010
fatal
[NONAT-T14-R010]-Credit Note tax schemes MUST be 'VAT'
NONAT-T14-R013
fatal
[NONAT-T14-R013]-Every tax scheme MUST be defined through an identifier.