/
*:
[namespace-uri()='
']
[
]
/
@sch:schema
@*[local-name()='
' and namespace-uri()='
']
/
[
]
/@
.
U
U
U.
n
U.
_
_
Checking OIOUBL-2.02 OrderResponse, 2016-09-15, Version 1.8.0.33360
ext:UBLExtensions/ext:UBLExtension/ext:ExtensionAgencyID = 'Digitaliseringsstyrelsen' and (ext:UBLExtensions/ext:UBLExtension/cbc:ID < '1001' or ext:UBLExtensions/ext:UBLExtension/cbc:ID > '1999')
[F-LIB313] Invalid UBLExtension/ID when UBLExtension/ExtensionAgencyID is equal to 'Digitaliseringsstyrelsen'. ID must be an assigned value between '1001' and '1999'.
/[]
local-name(*) = 'OrderResponse'
[F-ORE001] Root element must be OrderResponse
/[]
namespace-uri(*) = 'urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2'
[F-ORE218] The documenttype does not match an OIOUBL OrderResponse and can not be validated by this schematron.
/[]
cbc:UBLVersionID = '2.0'
[F-LIB001] Invalid UBLVersionID. Must be '2.0'
/[]
cbc:CustomizationID = 'OIOUBL-2.01' or cbc:CustomizationID = 'OIOUBL-2.02'
[F-LIB002] Invalid CustomizationID. Must be either 'OIOUBL-2.01' or 'OIOUBL-2.02'
/[]
cbc:ProfileID/@schemeID = $Profile1_schemeID or cbc:ProfileID/@schemeID = $Profile2_schemeID or cbc:ProfileID/@schemeID = $Profile3_schemeID or cbc:ProfileID/@schemeID = $Profile4_schemeID or cbc:ProfileID/@schemeID = $Profile5_schemeID
[W-LIB003] Invalid schemeID. Must be '
' or '
' or '
' or '
' or '
'
/[]
cbc:ProfileID/@schemeAgencyID = $Profile1_agencyID
[W-LIB203] Invalid schemeAgencyID. Must be '
'
/[]
cbc:ProfileID/@schemeID = $Profile1_schemeID and not (contains($Profile1, concat(',',cbc:ProfileID,',')))
[F-LIB004] Invalid ProfileID: '
'. Must be a value from the codelist
/[]
cbc:ProfileID/@schemeID = $Profile2_schemeID and not (contains($Profile2, concat(',',cbc:ProfileID,',')))
[F-LIB302] Invalid ProfileID: '
'. Must be a value from the codelist
/[]
cbc:ProfileID/@schemeID = $Profile3_schemeID and not (contains($Profile3, concat(',',cbc:ProfileID,',')))
[F-LIB308] Invalid ProfileID: '
'. Must be a value from the codelist
/[]
cbc:ProfileID/@schemeID = $Profile4_schemeID and not (contains($Profile4, concat(',',cbc:ProfileID,',')))
[F-LIB325] Invalid ProfileID: '
'. Must be a value from the codelist
/[]
cbc:ProfileID/@schemeID = $Profile5_schemeID and not (contains($Profile5, concat(',',cbc:ProfileID,',')))
[F-LIB327] Invalid ProfileID: '
'. Must be a value from the codelist
/[]
($Profile = 'Procurement-OrdRes-1.0') and not ($Document = 'OrderResponse')
[F-LIB328] The profile '
' is not allowed in the document type '
'
/[]
count(cbc:NetNetWeightMeasure) = 0
[F-ORE002] NetNetWeightMeasure element must be excluded
/[]
count(cbc:LineCountNumeric) = 0
[F-ORE003] LineCountNumeric element must be excluded
/[]
count(cac:OrderDocumentReference) = 0
[F-ORE004] OrderDocumentReference class must be excluded
/[]
count(cac:OriginatorDocumentReference) = 0
[F-ORE005] OriginatorDocumentReference class must be excluded
/[]
cbc:ID != ''
[F-ORE006] Invalid ID. Must contain a value
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
count(cac:ValidityPeriod) > 1
[F-ORE007] No more than one ValidityPeriod class may be present
/[]
count(cac:OrderReference) > 1
[F-ORE008] No more than one OrderReference class may be present
/[]
count(cac:Contract) > 1
[F-ORE009] No more than one Contract class may be present
/[]
count(cac:Signature) > 1
[F-ORE010] No more than one Signature class may be present
/[]
count(cac:Delivery) > 1
[F-ORE011] No more than one Delivery class may be present
/[]
string-length(string(.)) = 36
[F-LIB006] Invalid
. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
count(../cbc:Note) > 1 and not(./@languageID)
[W-LIB011] The attribute languageID should be used when more than one
element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB012] Multilanguage error. Replicated
elements with same languageID attribute value
/[]
./@listID and ./@listID != $CurrencyCode_listID
[F-LIB296] Invalid listID. Must be '
'
/[]
./@listAgencyID and ./@listAgencyID != $CurrencyCode_agencyID
[F-LIB297] Invalid listAgencyID. Must be '
'
/[]
contains($CurrencyCode, concat(',',.,','))
[F-LIB298] Invalid CurrencyCode: '
'. Must be a value from the codelist
/[]
/*/cac:OrderLine/cac:LineItem/cac:Price/cbc:PriceAmount[@currencyID][@currencyID!=string(current())]
[F-ORE014] There is a PriceAmount where the currencyID does not equal the PricingCurrencyCode
/[]
./@listID and ./@listID != $CurrencyCode_listID
[F-LIB296] Invalid listID. Must be '
'
/[]
./@listAgencyID and ./@listAgencyID != $CurrencyCode_agencyID
[F-LIB297] Invalid listAgencyID. Must be '
'
/[]
contains($CurrencyCode, concat(',',.,','))
[F-LIB298] Invalid CurrencyCode: '
'. Must be a value from the codelist
/[]
//cbc:TaxAmount[@currencyID][@currencyID!=string(current())]
[F-ORE015] There is a TaxAmount where the currencyID does not equal the TaxCurrencyCode
/[]
.='DKK' or . ='EUR'
[F-ORE016] TaxCurrencyCode must be either DKK or EUR
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE017] Invalid ID. Must contain a value
/[]
string-length(string(.)) = 36
[F-LIB006] Invalid
. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
count(cbc:DocumentType) = 0
[F-LIB170] DocumentType element must be excluded
/[]
count(cbc:DocumentTypeCode) = 0
[F-LIB172] DocumentTypeCode element must be excluded
/[]
cac:Attachment and cbc:XPath
[F-LIB169] Use either Attachment or XPath
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB171] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB173] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB174] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB096] When using ExternalReference, URI is mandatory
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
count(cbc:IssueDate) = 0
[F-ORE018] IssueDate element must be excluded
/[]
count(cbc:IssueTime) = 0
[F-ORE019] IssueTime element must be excluded
/[]
count(cac:ValidityPeriod) = 0
[F-ORE020] ValidityPeriod class must be excluded
/[]
count(cac:ContractDocumentReference) = 0
[F-ORE021] ContractDocumentReference class must be excluded
/[]
cbc:ID != ''
[F-ORE022] Invalid ID. Must contain a value
/[]
cbc:ContractType and cbc:ContractTypeCode
[F-ORE023] Use either ContractType or ContractTypeCode
/[]
cbc:ID != ''
[F-ORE024] Invalid ID. Must contain a value
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE025] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
cbc:EmbeddedDocumentBinaryObject and cac:ExternalReference
[F-LIB284] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:EmbeddedDocumentBinaryObject and not(cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB285] Attribute mimeCode must be a value from the codelist
/[]
cac:ExternalReference and not(cac:ExternalReference/cbc:URI != '')
[F-LIB286] When using ExternalReference, URI is mandatory
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
count(cbc:DataSendingCapability) = 0
[F-ORE026] DataSendingCapability element must be excluded
/[]
count(cac:Party) = 1
[F-ORE027] Party class must be present
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
cbc:EndpointID != ''
[F-ORE028] Invalid EndpointID. Must contain a value
/[]
count(cac:PartyLegalEntity) = 1
[F-ORE029] One PartyLegalEntity class must be present
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
count(cbc:CustomerAssignedAccountID) = 0
[F-ORE030] CustomerAssignedAccountID element must be excluded
/[]
count(cbc:AdditionalAccountID) = 0
[F-ORE031] AdditionalAccountID element must be excluded
/[]
count(cac:Party) = 1
[F-ORE032] One Party class must be present
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
cbc:EndpointID != ''
[F-ORE033] Invalid EndpointID. Must contain a value
/[]
count(cac:Contact) = 1
[F-ORE034] One Contact class must be present
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE035] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
cbc:ID != ''
[F-ORE036] Invalid ID. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
count(cac:Party) = 1
[F-ORE037] Party class must be present
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE038] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE039] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cbc:DataSendingCapability) = 0
[F-ORE040] DataSendingCapability element must be excluded
/[]
count(cac:Party) = 1
[F-ORE041] Party class must be present
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE042] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
count(cac:Party) = 1
[F-ORE043] Party class must be present
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE044] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
count(cbc:ID) = 0
[F-ORE045] ID element must be excluded
/[]
count(cbc:ActualDeliveryDate) = 0
[F-ORE046] ActualDeliveryDate element must be excluded
/[]
count(cbc:ActualDeliveryTime) = 0
[F-ORE047] ActualDeliveryTime element must be excluded
/[]
count(cac:DeliveryAddress) = 0
[F-ORE048] DeliveryAddress class must be excluded
/[]
count(cac:RequestedDeliveryPeriod) = 0
[F-ORE049] RequestedDeliveryPeriod class must be excluded
/[]
count(cac:PromisedDeliveryPeriod) = 0
[F-ORE050] PromisedDeliveryPeriod class must be excluded
/[]
count(cac:EstimatedDeliveryPeriod) = 0
[F-ORE051] EstimatedDeliveryPeriod class must be excluded
/[]
not(cbc:ID) and not(cac:Address)
[F-ORE056] Address is mandatory when ID is not specified
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE057] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cac:AllowanceCharge) = 0
[F-ORE058] AllowanceCharge class must be excluded
/[]
cbc:ID and cbc:SpecialTerms
[F-ORE059] Use either ID or SpecialTerms
/[]
cbc:ID and not(cbc:ID = 'Incoterms' or cbc:ID = 'INCOTERMS')
[W-ORE060] If used, use INCO terms (ID = 'INCOTERMS')
/[]
cbc:LossRiskResponsibilityCode and cbc:LossRisk
[F-ORE061] Use either LossRiskResponsibilityCode or LossRisk
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cac:CardAccount) = 0
[F-LIB242] CardAccount class must be excluded
/[]
count(cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cac:Address) = 0
[F-LIB151] Address class must be excluded
/[]
count(cac:PayerFinancialAccount/cac:Country) = 0
[F-LIB162] Country class must be excluded
/[]
count(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cac:Address) = 0
[F-LIB243] Address class must be excluded
/[]
count(cac:PayeeFinancialAccount/cac:Country) = 0
[F-LIB244] Country class must be excluded
/[]
cbc:PaymentMeansCode = '1' or cbc:PaymentMeansCode = '10' or cbc:PaymentMeansCode = '20' or cbc:PaymentMeansCode = '31' or cbc:PaymentMeansCode = '42' or cbc:PaymentMeansCode = '48' or cbc:PaymentMeansCode = '49' or cbc:PaymentMeansCode = '50' or cbc:PaymentMeansCode = '93' or cbc:PaymentMeansCode = '97'
[F-LIB100] Invalid PaymentMeansCode. Must be a value from the codelist
/[]
count(../cac:PaymentMeans) > 1 and not(cbc:ID != '')
[W-LIB241] PaymentMeans/ID should be used when more than one instance of the PaymentMeans class is present.
/[]
cac:PayerFinancialAccount/cbc:AccountTypeCode and not(cac:PayerFinancialAccount/cbc:AccountTypeCode/@listID = 'urn:oioubl:codelist:accounttypecode-1.1')
[F-LIB105] Invalid listID. Must be 'urn:oioubl:codelist:accounttypecode-1.1'
/[]
cac:PayerFinancialAccount/cbc:AccountTypeCode and not(cac:PayerFinancialAccount/cbc:AccountTypeCode/@listAgencyID = '320')
[W-LIB121] Invalid listAgencyID. Must be '320'
/[]
cac:PayeeFinancialAccount/cbc:AccountTypeCode and not(cac:PayeeFinancialAccount/cbc:AccountTypeCode/@listID = 'urn:oioubl:codelist:accounttypecode-1.1')
[F-LIB136] Invalid listID. Must be 'urn:oioubl:codelist:accounttypecode-1.1'
/[]
cac:PayeeFinancialAccount/cbc:AccountTypeCode and not(cac:PayeeFinancialAccount/cbc:AccountTypeCode/@listAgencyID = '320')
[W-LIB141] Invalid listAgencyID. Must be '320'
/[]
(cbc:PaymentMeansCode = '31') and (cbc:InstructionID != '') and ((string-length(cbc:InstructionID)> 25) or not(starts-with(cbc:InstructionID, 'RF')) )
[F-LIB330] PaymentMeansCode = 31, InstructionID element must start with 'RF' and be no more than 25 characters.
/[]
(cbc:PaymentMeansCode = '31') and cbc:InstructionNote
[F-LIB103] PaymentMeansCode = 31, InstructionNote element not allowed
/[]
(cbc:PaymentMeansCode = '31') and cbc:PaymentID
[F-LIB104] PaymentMeansCode = 31, PaymentID element not allowed
/[]
(cbc:PaymentMeansCode = '31') and not(cbc:PaymentChannelCode/@listID = 'urn:oioubl:codelist:paymentchannelcode-1.1')
[F-LIB106] PaymentMeansCode = 31, Invalid listID. Must be 'urn:oioubl:codelist:paymentchannelcode-1.1'
/[]
(cbc:PaymentMeansCode = '31') and not(cac:PayeeFinancialAccount/cbc:ID)
[F-LIB107] PaymentMeansCode = 31, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '31') and not(cbc:PaymentChannelCode = 'IBAN' or cbc:PaymentChannelCode = 'ZZZ')
[F-LIB109] PaymentMeansCode = 31, PaymentChannelCode must equal IBAN or ZZZ
/[]
(cbc:PaymentMeansCode = '31') and string-length(cac:PayerFinancialAccount/cbc:PaymentNote)> 20
[F-LIB110] PaymentMeansCode = 31, PaymentNote must be no more than 20 characters
/[]
(cbc:PaymentMeansCode = '31') and string-length(cac:PayeeFinancialAccount/cbc:PaymentNote)> 20
[F-LIB111] PaymentMeansCode = 31, PaymentNote must be no more than 20 characters
/[]
(cbc:PaymentMeansCode = '31') and string-length(cac:CreditAccount/cbc:AccountID) > 8
[F-LIB112] PaymentMeansCode = 31, AccountID must be no more than 8 characters
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'IBAN') and (cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)
[F-LIB108] PaymentMeansCode = 31, ID element is not used, when PaymentChannelCode equals IBAN
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'IBAN') and not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID)
[F-LIB113] PaymentMeansCode = 31, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'IBAN') and string-length(cac:PayeeFinancialAccount/cbc:ID) > 34
[F-LIB114] PaymentMeansCode = 31, ID must be no more than 34 characters
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'IBAN') and string-length(cac:PayeeFinancialAccount/cbc:ID) < 1
[F-LIB115] PaymentMeansCode = 31, ID must must not be empty.
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'ZZZ') and not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)
[F-LIB276] PaymentMeansCode = 31, ID element is mandatory, when PaymentChannelCode equals ZZZ
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'ZZZ') and not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:Name)
[F-LIB116] PaymentMeansCode = 31, Name element is mandatory
/[]
(cbc:PaymentMeansCode = '31' and cbc:PaymentChannelCode = 'ZZZ') and not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:Address)
[F-LIB117] PaymentMeansCode = 31, Address class is mandatory
/[]
(cbc:PaymentMeansCode = '42') and (cbc:InstructionID != '') and ((string-length(cbc:InstructionID)> 25) or not(starts-with(cbc:InstructionID, 'RF')) )
[F-LIB331] PaymentMeansCode = 42, InstructionID element must be maximum 25 characters and start with 'RF'.
/[]
(cbc:PaymentMeansCode = '42') and cbc:InstructionNote
[F-LIB119] PaymentMeansCode = 42, InstructionNote element not allowed
/[]
(cbc:PaymentMeansCode = '42') and cbc:PaymentID
[F-LIB120] PaymentMeansCode = 42, PaymentID element not allowed
/[]
(cbc:PaymentMeansCode = '42') and cac:CreditAccount
[F-LIB122] PaymentMeansCode = 42, CreditAccount class not allowed
/[]
(cbc:PaymentMeansCode = '42') and not(cbc:PaymentChannelCode/@listID = 'urn:oioubl:codelist:paymentchannelcode-1.1')
[F-LIB123] PaymentMeansCode = 42, Invalid listID. Must be 'urn:oioubl:codelist:paymentchannelcode-1.1'
/[]
(cbc:PaymentMeansCode = '42') and cac:PayerFinancialAccount/cac:FinancialInstitutionBranch and not(cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)
[F-LIB124] PaymentMeansCode = 42, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '42') and not(cac:PayeeFinancialAccount)
[F-LIB125] PaymentMeansCode = 42, PayeeFinancialAccount class is mandatory
/[]
(cbc:PaymentMeansCode = '42') and not(cac:PayeeFinancialAccount/cbc:ID)
[F-LIB126] PaymentMeansCode = 42, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '42') and not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)
[F-LIB127] PaymentMeansCode = 42, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '42') and cbc:PaymentChannelCode != 'DK:BANK'
[F-LIB128] PaymentMeansCode = 42, PaymentChannelCode must equal DK:BANK
/[]
(cbc:PaymentMeansCode = '42') and string-length(cac:PayerFinancialAccount/cbc:PaymentNote)> 20
[F-LIB129] PaymentMeansCode = 42, PaymentNote must be no more than 20 characters
/[]
(cbc:PaymentMeansCode = '42') and string-length(cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID) > 4
[F-LIB130] PaymentMeansCode = 42, ID must be no more than 4 numerical characters
/[]
(cbc:PaymentMeansCode = '42') and string-length(cac:PayeeFinancialAccount/cbc:ID)> 10
[F-LIB131] PaymentMeansCode = 42, ID must be no more than 10 characters
/[]
(cbc:PaymentMeansCode = '42') and string-length(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)> 4
[F-LIB132] PaymentMeansCode = 42, ID must be no more than 4 numerical characters
/[]
(cbc:PaymentMeansCode = '42') and not(number(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID))
[F-LIB311] cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID must contain a numerical value
/[]
(cbc:PaymentMeansCode = '42') and string-length(cac:PayeeFinancialAccount/cbc:PaymentNote)> 20
[F-LIB133] PaymentMeansCode = 42, PaymentNote must be no more than 20 characters
/[]
(cbc:PaymentMeansCode = '49') and cbc:InstructionNote
[F-LIB135] PaymentMeansCode = 49, InstructionNote element not allowed
/[]
(cbc:PaymentMeansCode = '49') and cac:CreditAccount
[F-LIB137] PaymentMeansCode = 49, CreditAccount class not allowed
/[]
(cbc:PaymentMeansCode = '49') and cbc:PaymentChannelCode and cbc:InstructionID
[F-LIB134] PaymentMeansCode = 49, Use either PaymentChannelCode or InstructionID element
/[]
(cbc:PaymentMeansCode = '49') and string-length(cac:PayerFinancialAccount/cbc:PaymentNote)> 20
[F-LIB288] PaymentMeansCode = 49, PaymentNote must be no more than 20 characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode) and not(cbc:PaymentChannelCode = 'IBAN' or cbc:PaymentChannelCode = 'DK:BANK')
[F-LIB289] PaymentMeansCode = 49, If present, PaymentChannelCode must equal IBAN or DK:BANK
/[]
(cbc:PaymentMeansCode = '49') and string-length(cbc:InstructionID) > 60
[F-LIB140] PaymentMeansCode = 49, InstructionID must be no more than 60 characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'DK:BANK') and (string-length(cac:PayerFinancialAccount/cbc:ID) != 10)
[F-LIB290] PaymentMeansCode = 49, For DK:BANK, ID must be 10 characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'DK:BANK') and (string-length(cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID) != 4)
[F-LIB291] PaymentMeansCode = 49, For DK:BANK, ID must be 4 numerical characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'IBAN') and string-length(cac:PayerFinancialAccount/cbc:ID) > 34
[F-LIB292] PaymentMeansCode = 49, For IBAN, ID must be no more than 34 characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'IBAN') and string-length(cac:PayerFinancialAccount/cbc:ID) < 18
[F-LIB293] PaymentMeansCode = 49, For IBAN, ID must be at least 18 characters
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'IBAN') and (cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)
[F-LIB294] PaymentMeansCode = 49, ID element is not used, when PaymentChannelCode equals IBAN
/[]
(cbc:PaymentMeansCode = '49' and cbc:PaymentChannelCode = 'IBAN') and not(cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID)
[F-LIB295] PaymentMeansCode = 49, For IBAN, ID element is mandatory
/[]
(cbc:PaymentMeansCode = '50') and cac:CreditAccount
[F-LIB142] PaymentMeansCode = 50, CreditAccount class not allowed
/[]
(cbc:PaymentMeansCode = '50') and not(cbc:PaymentID)
[F-LIB144] PaymentMeansCode = 50, PaymentID element is mandatory
/[]
(cbc:PaymentMeansCode = '50') and not(cac:PayeeFinancialAccount)
[F-LIB319] PaymentMeansCode = 50, PayeeFinancialAccount class is mandatory.
/[]
(cbc:PaymentMeansCode = '50') and not(cac:PayeeFinancialAccount/cbc:ID)
[F-LIB320] PaymentMeansCode = 50, PayeeFinancialAccount.ID element is mandatory.
/[]
(cbc:PaymentMeansCode = '50') and (cbc:PaymentID = '04' or cbc:PaymentID = '15') and not(cbc:InstructionID)
[F-LIB145] PaymentMeansCode = 50, InstructionID is mandatory when PaymentID equals 04 or 15
/[]
(cbc:PaymentMeansCode = '50' and cbc:PaymentChannelCode) and cbc:PaymentChannelCode != 'DK:GIRO'
[F-LIB146] PaymentMeansCode = 50, PaymentChannelCode must equal DK:GIRO
/[]
(cbc:PaymentMeansCode = '50' and cbc:PaymentChannelCode) and not(cbc:PaymentChannelCode/@listID = 'urn:oioubl:codelist:paymentchannelcode-1.1')
[F-LIB143] PaymentMeansCode = 50, Invalid listID. Must be 'urn:oioubl:codelist:paymentchannelcode-1.1'
/[]
(cbc:PaymentMeansCode = '50') and not(cbc:PaymentID = '01' or cbc:PaymentID = '04' or cbc:PaymentID = '15')
[F-LIB147] PaymentMeansCode = 50, PaymentID must equal 01, 04 or 15
/[]
(cbc:PaymentMeansCode = '50') and cbc:InstructionNote and not(cbc:PaymentID = '01')
[F-LIB148] PaymentMeansCode = 50, InstructionNote only allowed if PaymentID equals 01
/[]
(cbc:PaymentMeansCode = '50') and string-length(cbc:InstructionID) > 16
[F-LIB149] PaymentMeansCode = 50, InstructionID must be no more than 16 characters
/[]
(cbc:PaymentMeansCode = '50') and (cbc:PaymentID = '04' or cbc:PaymentID = '15') and string(number(cbc:InstructionID)) = 'NaN'
[F-LIB312] PaymentMeansCode = 50, InstructionID must be a numeric value when PaymentID equals 04 or 15.
/[]
(cbc:PaymentMeansCode = '50' or cbc:PaymentChannelCode ='DK:GIRO') and (string-length(cac:PayeeFinancialAccount/cbc:ID) < 7 or string-length(cac:PayeeFinancialAccount/cbc:ID) > 8 or string(number(cac:PayeeFinancialAccount/cbc:ID)) = 'NaN')
[F-LIB321] PaymentMeansCode = 50 or PaymentChannelCode = DK:GIRO, PayeeFinancialAccount.ID must consist of 7 or 8 numerical characters.
/[]
(cbc:PaymentMeansCode = '93') and not(cbc:PaymentID)
[F-LIB152] PaymentMeansCode = 93, PaymentID element is mandatory
/[]
(cbc:PaymentMeansCode = '93') and (cbc:PaymentID = '71' or cbc:PaymentID = '75') and not(cbc:InstructionID)
[F-LIB153] PaymentMeansCode = 93, InstructionID is mandatory when PaymentID equals 71 or 75
/[]
(cbc:PaymentMeansCode = '93' and cbc:PaymentChannelCode) and cbc:PaymentChannelCode != 'DK:FIK'
[F-LIB277] PaymentMeansCode = 93, PaymentChannelCode must equal DK:FIK
/[]
(cbc:PaymentMeansCode = '93' and cbc:PaymentChannelCode) and not(cbc:PaymentChannelCode/@listID = 'urn:oioubl:codelist:paymentchannelcode-1.1')
[F-LIB278] PaymentMeansCode = 93, Invalid listID. Must be 'urn:oioubl:codelist:paymentchannelcode-1.1'
/[]
(cbc:PaymentMeansCode = '93') and cbc:InstructionNote and not(cbc:PaymentID = '73' or cbc:PaymentID = '75')
[F-LIB154] PaymentMeansCode = 93, InstructionNote only allowed if PaymentID equals 73 or 75
/[]
(cbc:PaymentMeansCode = '93') and not(cbc:PaymentID = '71' or cbc:PaymentID = '73' or cbc:PaymentID = '75')
[F-LIB155] PaymentMeansCode = 93, PaymentID must equal 71, 73 or 75
/[]
(cbc:PaymentMeansCode = '93') and cbc:PaymentID = '71' and string-length(cbc:InstructionID) != 15
[F-LIB156] PaymentMeansCode = 93, InstructionID must be equal to 15 characters (when PaymentID equals 71)
/[]
(cbc:PaymentMeansCode = '93') and cbc:PaymentID = '75' and string-length(cbc:InstructionID) != 16
[F-LIB157] PaymentMeansCode = 93, InstructionID must be equal to 16 characters (when PaymentID equals 75)
/[]
(cbc:PaymentMeansCode = '93') and (cbc:PaymentID = '71' or cbc:PaymentID = '75') and string(number(cbc:InstructionID)) = 'NaN'
[F-LIB336] PaymentMeansCode = 93, InstructionID must be a numeric value when PaymentID equals 71 or 75.
/[]
(cbc:PaymentMeansCode = '93') and cbc:PaymentID = '73' and cbc:InstructionID
[F-LIB275] PaymentMeansCode = 93, InstructionID only allowed if PaymentID equals 71 or 75
/[]
(cbc:PaymentMeansCode = '93') and string-length(cac:CreditAccount/cbc:AccountID) != 8
[F-LIB305] PaymentMeansCode = 93, AccountID must be 8 characters
/[]
(cbc:PaymentMeansCode = '97') and cbc:PaymentChannelCode and not(cbc:PaymentChannelCode = 'DK:NEMKONTO')
[F-LIB158] PaymentMeansCode = 97, PaymentChannelCode element only allowed with value = "DK:NEMKONTO"
/[]
(cbc:PaymentMeansCode = '97') and cbc:InstructionID
[F-LIB159] PaymentMeansCode = 97, InstructionID element not allowed
/[]
(cbc:PaymentMeansCode = '97') and cbc:InstructionNote
[F-LIB160] PaymentMeansCode = 97, InstructionNote element not allowed
/[]
(cbc:PaymentMeansCode = '97') and cbc:PaymentID
[F-LIB161] PaymentMeansCode = 97, PaymentID element not allowed
/[]
(cbc:PaymentMeansCode = '97') and cac:PayerFinancialAccount
[F-LIB163] PaymentMeansCode = 97, PayerFinancialAccount class not allowed
/[]
(cbc:PaymentMeansCode = '97') and cac:PayeeFinancialAccount
[F-LIB164] PaymentMeansCode = 97, PayeeFinancialAccount class not allowed
/[]
(cbc:PaymentMeansCode = '97') and cac:CreditAccount
[F-LIB165] PaymentMeansCode = 97, CreditAccount class not allowed
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
cbc:IdentificationCode != ''
[F-ORE062] Invalid IdentificationCode. Must contain a value
/[]
count(../cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = '63' or cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']) = 1
[F-LIB306] One TaxTotal class must contain VAT (Moms)
/[]
cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = ./following-sibling::*/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID
[F-LIB314] Using the same TaxScheme.ID in two different TaxTotal classes is not allowed.
/[]
string-length(substring-after(cbc:TaxAmount, '.')) != 2
[F-LIB250] Invalid TaxAmount. Must have 2 decimals
/[]
cbc:RoundingAmount and (cbc:RoundingAmount = 0)
[F-LIB251] Invalid RoundingAmount. Must not be zero
/[]
cbc:RoundingAmount and string-length(substring-after(cbc:RoundingAmount, '.')) != 2
[F-LIB252] Invalid RoundingAmount. Must have 2 decimals
/[]
cbc:TaxEvidenceIndicator = 'false' and /doc:Invoice/cbc:InvoiceTypeCode != '325'
[F-LIB253] Can only be false if proforma invoice (InvoiceTypeCode = '325')
/[]
count(cbc:Percent) = 0
[F-LIB254] Percent element must be excluded
/[]
count(cbc:BaseUnitMeasure) = 0
[F-LIB255] BaseUnitMeasure element must be excluded
/[]
count(cbc:PerUnitAmount) = 0
[F-LIB256] PerUnitAmount element must be excluded
/[]
count(cbc:TierRange) = 0
[F-LIB257] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB258] TierRatePercent element must be excluded
/[]
normalize-space(cbc:TaxableAmount) != ''
[F-LIB259] Invalid TaxableAmount. Must contain a value
/[]
$ID63 and cac:TaxCategory/cac:TaxScheme/cbc:ID = ./following-sibling::*/cac:TaxCategory/cac:TaxScheme/cbc:ID and cac:TaxCategory/cbc:ID = ./following-sibling::*/cac:TaxCategory/cbc:ID
[F-LIB315] Specifying the same TaxSubtotal.TaxCategory.ID in one TaxTotal class is not allowed
/[]
cac:TaxCategory/cac:TaxScheme/cbc:ID != ./following-sibling::*/cac:TaxCategory/cac:TaxScheme/cbc:ID
[F-LIB316] Specifying different TaxScheme.ID in same TaxTotal class is not allowed.
/[]
string-length(substring-after(cbc:TaxableAmount, '.')) != 2
[F-LIB261] Invalid TaxableAmount. Must have 2 decimals
/[]
string-length(substring-after(cbc:TaxAmount, '.')) != 2
[F-LIB263] Invalid TaxAmount. Must have 2 decimals
/[]
cbc:CalculationSequenceNumeric and (starts-with(cbc:CalculationSequenceNumeric,'-') or cbc:CalculationSequenceNumeric = 0)
[F-LIB264] Invalid CalculationSequenceNumeric. Must not be negative or zero
/[]
/doc:Invoice/cac:TaxExchangeRate and count(cbc:TransactionCurrencyTaxAmount) = 0
[F-LIB265] if Tax Currency is different from Document Currency, TransactionCurrencyTaxAmount is mandatory
/[]
cbc:TransactionCurrencyTaxAmount and (starts-with(cbc:TransactionCurrencyTaxAmount,'-'))
[F-LIB266] Invalid TransactionCurrencyTaxAmount. Must not be negative
/[]
cbc:TransactionCurrencyTaxAmount and string-length(substring-after(cbc:TransactionCurrencyTaxAmount, '.')) != 2
[F-LIB267] Invalid TransactionCurrencyTaxAmount. Must have 2 decimals
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
cbc:LineExtensionAmount != ''
[F-ORE063] Invalid LineExtensionAmount. Must contain a value
/[]
count(../cac:AllowanceCharge[cbc:ChargeIndicator='false']) and not(cbc:AllowanceTotalAmount)
[F-ORE065] AllowanceTotalAmount is mandatory when AllowanceCharge classes (with ChargeIndicator='false') are present
/[]
count(../cac:AllowanceCharge[cbc:ChargeIndicator='true']) and not(cbc:ChargeTotalAmount)
[F-ORE066] ChargeTotalAmount is mandatory when AllowanceCharge classes (with ChargeIndicator='true') are present
/[]
count(../cac:PrepaidPayment/cbc:PaidAmount) and not(cbc:PrepaidAmount)
[F-ORE067] PrepaidAmount is mandatory when PrepaidPayment/PaidAmount elements are present
/[]
count(../cac:TaxTotal/cbc:RoundingAmount) and not(cbc:PayableRoundingAmount)
[F-ORE068] PayableRoundingAmount is mandatory when TaxTotal/RoundingAmount elements are present
/[]
((cbc:LineExtensionAmount - sum(../cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) > '0.0055') or ((cbc:LineExtensionAmount - sum(../cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) < '-0.0055')
[F-ORE069] The sum of Orderline/LineItem/LineExtensionAmount elements must equal LineExtensionAmount
/[]
cbc:TaxExclusiveAmount and not(format-number(cbc:TaxExclusiveAmount,'##.00') = format-number(sum(../cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount),'##.00'))
[F-ORE070] The sum of TaxTotal/TaxSubtotal/TaxAmount elements must equal TaxExclusiveAmount
/[]
cbc:TaxInclusiveAmount and not(format-number(cbc:TaxInclusiveAmount,'##.00') = format-number(sum(cbc:LineExtensionAmount) + sum(../cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount) + sum(cbc:ChargeTotalAmount) - sum(cbc:AllowanceTotalAmount) + sum(cbc:PayableRoundingAmount),'##.00'))
[F-ORE071] TaxInclusiveAmount is calculated incorrectly
/[]
cbc:AllowanceTotalAmount and not(format-number(cbc:AllowanceTotalAmount,'##.00') = format-number(sum(../cac:AllowanceCharge[cbc:ChargeIndicator='false']/cbc:Amount),'##.00'))
[F-ORE072] The sum of AllowanceCharge/Amount elements (with ChargeIndicator='false') must equal AllowanceTotalAmount
/[]
cbc:ChargeTotalAmount and not(format-number(cbc:ChargeTotalAmount,'##.00') = format-number(sum(../cac:AllowanceCharge[cbc:ChargeIndicator='true']/cbc:Amount),'##.00'))
[F-ORE073] The sum of AllowanceCharge/Amount elements (with ChargeIndicator='true') must equal cbc:ChargeTotalAmount
/[]
cbc:PrepaidAmount and not(format-number(cbc:PrepaidAmount,'##.00') = format-number(sum(../cac:PrepaidPayment/cbc:PaidAmount),'##.00'))
[F-ORE074] The sum of PrepaidPayment/PaidAmount elements must equal PrepaidAmount
/[]
cbc:PayableRoundingAmount and not(format-number(cbc:PayableRoundingAmount,'##.00') = format-number(sum(../cac:TaxTotal/cbc:RoundingAmount),'##.00'))
[F-ORE075] The sum of TaxTotal/RoundingAmount elements must equal PayableRoundingAmount
/[]
format-number(cbc:PayableAmount,'##.00') = format-number(sum(cbc:LineExtensionAmount) + sum(../cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount) + sum(cbc:ChargeTotalAmount) - sum(cbc:AllowanceTotalAmount) - sum(cbc:PrepaidAmount) + sum(cbc:PayableRoundingAmount),'##.00')
[F-ORE076] PayableAmount is calculated incorrectly
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
not(starts-with(.,'-'))
[F-LIB016] Invalid
. Must not be negative
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB013] Invalid
. Must not be negative or zero
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB013] Invalid
. Must not be negative or zero
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB013] Invalid
. Must not be negative or zero
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
. != 0
[F-LIB303] Invalid
. Must not be zero
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
not(starts-with(.,'-'))
[F-LIB016] Invalid
. Must not be negative
/[]
string-length(substring-after(., '.')) != 2
[F-LIB014] Invalid
. Must have 2 decimals
/[]
count(cac:SellerSubstitutedLineItem) = 0
[F-ORE077] SellerSubstitutedLineItem class must be excluded
/[]
count(cac:BuyerProposedSubstituteLineItem) = 0
[F-ORE078] BuyerProposedSubstituteLineItem class must be excluded
/[]
count(cac:CatalogueLineReference) = 0
[F-ORE079] CatalogueLineReference class must be excluded
/[]
cac:LineItem/cac:Delivery/cbc:LatestDeliveryDate and count(../cac:Delivery/cbc:LatestDeliveryDate)
[F-ORE210] Only use Delivery.LatestDeliveryDate if not specified on header level (OrderResponse.Delivery)
/[]
cac:LineItem/cac:Delivery/cbc:LatestDeliveryTime and count(../cac:Delivery/cbc:LatestDeliveryTime)
[F-ORE211] Only use Delivery.LatestDeliveryTime if not specified on header level (OrderResponse.Delivery)
/[]
cac:LineItem/cac:Delivery/cac:DeliveryLocation and count(../cac:Delivery/cac:DeliveryLocation)
[F-ORE215] Only use Delivery.DeliveryLocation if not specified on header level (OrderResponse.Delivery)
/[]
cac:LineItem/cac:Delivery/cac:DeliveryParty and count(../cac:Delivery/cac:DeliveryParty)
[F-ORE216] Only use Delivery.DeliveryParty if not specified on header level (OrderResponse.Delivery)
/[]
./cac:LineItem/cbc:ID = ./following-sibling::*/cac:LineItem/cbc:ID
[W-ORE080] ID must be unique within the document instance
/[]
./@listID = $SubStatus_listID
[F-ORE205] Invalid listID. Must be '
'
/[]
./@listAgencyID = $SubStatus_agencyID
[F-ORE206] Invalid listAgencyID. Must be '
'
/[]
contains($SubStatus, concat(',',.,','))
[F-ORE207] Invalid SubstitutionStatusCode: '
'. Must be a value from the codelist
/[]
count(cbc:SalesOrderID) = 0
[F-ORE081] SalesOrderID element must be excluded
/[]
not($NegativeLEA or $NegativePA) and starts-with(cac:AllowanceCharge/cbc:Amount,'-')
[F-ORE217] AllowanceCharge.Amount can not be negative, if Quantity or Price.PriceAmount are not negative.
/[]
not($P) and not($NegativeLEA or $NegativePA) and starts-with(cac:Price/cac:AllowanceCharge/cbc:Amount,'-')
[F-ORE217] AllowanceCharge.Amount can not be negative, if Quantity or Price.PriceAmount are not negative.
/[]
cbc:ID != ''
[F-ORE082] Invalid ID. Must contain a value
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
(not($L) and $T) and ((cbc:LineExtensionAmount < (cbc:Quantity * cac:Price/cbc:PriceAmount - '01.00')) or (cbc:LineExtensionAmount > (cbc:Quantity * cac:Price/cbc:PriceAmount + '01.00')))
[F-ORE090] When present, LineExtensionAmount must equal Quantity * Price.PriceAmount (when OrderableUnitFactorRate not present)
/[]
(not($L) and not($T)) and ((cbc:LineExtensionAmount < (cbc:Quantity * cac:Price/cbc:PriceAmount * cac:Price/cbc:OrderableUnitFactorRate - '01.00')) or (cbc:LineExtensionAmount > (cbc:Quantity * cac:Price/cbc:PriceAmount * cac:Price/cbc:OrderableUnitFactorRate + '01.00')))
[F-ORE143] When present, LineExtensionAmount must equal Quantity * Price.PriceAmount * Price.OrderableUnitFactorRate
/[]
./@listID = $LineStatus_listID
[F-ORE083] Invalid listID. Must be '
'
/[]
./@listAgencyID = $LineStatus_agencyID
[F-ORE084] Invalid listAgencyID. Must be '
'
/[]
contains($LineStatus, concat(',',.,','))
[F-ORE208] Invalid LineStatusCode: '
'. Must be a value from the codelist
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
string-length(substring-after(., '.')) < 2
[F-ORE085] Invalid Quantity. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 6
[F-ORE086] Invalid Quantity. No more than 6 decimals
/[]
. != 0
[F-ORE087] Invalid Quantity. Must not be zero
/[]
string-length(substring-after(., '.')) < 2
[F-ORE088] Invalid LineExtensionAmount. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 4
[F-ORE089] Invalid LineExtensionAmount. No more than 4 decimals
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:ID) = 0
[F-ORE091] ID element must be excluded
/[]
count(cbc:ActualDeliveryDate) = 0
[F-ORE092] ActualDeliveryDate element must be excluded
/[]
count(cbc:ActualDeliveryTime) = 0
[F-ORE093] ActualDeliveryTime element must be excluded
/[]
count(cac:DeliveryAddress) = 0
[F-ORE094] DeliveryAddress class must be excluded
/[]
not(cbc:ID) and not(cac:Address)
[F-ORE095] Address is mandatory when ID is not specified
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE096] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cac:AllowanceCharge) = 0
[F-ORE097] AllowanceCharge class must be excluded
/[]
cbc:ID and cbc:SpecialTerms
[F-ORE098] Use either ID or SpecialTerms
/[]
cbc:ID and cbc:ID != 'Incoterms'
[W-ORE099] If used, use INCO terms (ID = 'Incoterms')
/[]
cbc:LossRiskResponsibilityCode and cbc:LossRisk
[F-ORE100] Use either LossRiskResponsibilityCode or LossRisk
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE101] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cbc:TradingRestrictions) > 1
[F-ORE130] No more than one TradingRestrictions element may be present
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cac:ValidityPeriod) > 1
[F-ORE131] No more than one ValidityPeriod class may be present
/[]
string-length(substring-after(., '.')) < 2
[F-ORE132] Invalid PriceAmount. Must have at least 2 decimals
/[]
not(starts-with(.,'-'))
[F-ORE133] Invalid PriceAmount. Must not be negative
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE134] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE135] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE136] Invalid listID. Must be 'UN/ECE 5387'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:ValidityPeriod) > 1
[F-ORE137] No more than one ValidityPeriod class may be present
/[]
string-length(substring-after(., '.')) < 2
[F-ORE138] Invalid PriceAmount. Must have at least 2 decimals
/[]
not(starts-with(.,'-'))
[F-ORE139] Invalid PriceAmount. Must not be negative
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE140] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE141] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE142] Invalid listID. Must be 'UN/ECE 5387'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
. != 0
[F-LIB317] Invalid
. Must not be zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:ValidityPeriod) = 0
[F-ORE102] ValidityPeriod class must be excluded
/[]
string-length(substring-after(., '.')) < 2
[F-ORE103] Invalid PriceAmount. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 4
[F-ORE104] Invalid PriceAmount. No more than 4 decimals
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE106] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE107] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE108] Invalid listID. Must be 'UN/ECE 5387'
/[]
./@listAgencyID = '320' or ./@listAgencyID = '6'
[F-ORE109] Invalid listAgencyID. Must be '6'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
. != 0
[F-LIB317] Invalid
. Must not be zero
/[]
. != 0
[F-LIB317] Invalid
. Must not be zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:OriginCountry) = 0
[F-ORE110] OriginCountry class must be excluded
/[]
cbc:Name != ''
[F-ORE111] Invalid Name. Must contain a value
/[]
contains(/doc:OrderResponse/cbc:ProfileID, 'Procurement-OrdSim') and not(cac:SellersItemIdentification)
[F-ORE112] There must be a SellersItemIdentification class for this profileID
/[]
not(cbc:Description) and not(cac:BuyersItemIdentification) and not(cac:SellersItemIdentification) and not(cac:ManufacturersItemIdentification) and not(cac:StandardItemIdentification) and not(cac:CatalogueItemIdentification) and not(cac:AdditionalItemIdentification)
[F-ORE114] Description is mandatory if no ItemIdentification is present
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
cbc:ID != ''
[F-ORE115] Invalid ID. Must contain a value
/[]
cbc:Description != ''
[F-ORE116] Invalid Description. Must contain a value
/[]
cbc:AttributeID != ''
[F-ORE117] Invalid AttributeID. Must contain a value
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:AttributeID != ''
[F-ORE118] Invalid AttributeID. Must contain a value
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cbc:DocumentType) = 0
[F-LIB170] DocumentType element must be excluded
/[]
count(cbc:DocumentTypeCode) = 0
[F-LIB172] DocumentTypeCode element must be excluded
/[]
cac:Attachment and cbc:XPath
[F-LIB169] Use either Attachment or XPath
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB171] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB173] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB174] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB096] When using ExternalReference, URI is mandatory
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
cbc:ItemClassificationCode and not(cbc:ItemClassificationCode/@listID='UNSPSC')
[W-ORE119] Use a Valid UNSPSC 7.0401 code
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
cbc:Name != ''
[F-ORE120] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE121] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE122] Invalid ID. Must contain a value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
cbc:Name != ''
[F-ORE123] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE124] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE125] Invalid ID. Must contain a value
/[]
cbc:Name != ''
[F-ORE126] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE127] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE128] Invalid ID. Must contain a value
/[]
count(cbc:SalesOrderID) = 0
[F-ORE145] SalesOrderID element must be excluded
/[]
cbc:ID != ''
[F-ORE146] Invalid ID. Must contain a value
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
./@listID = $LineStatus_listID
[F-ORE147] Invalid listID. Must be '
'
/[]
./@listAgencyID = $LineStatus_agencyID
[F-ORE148] Invalid listAgencyID. Must be '
'
/[]
contains($LineStatus, concat(',',.,','))
[F-ORE149] Invalid LineStatusCode: '
'. Must be a value from the codelist
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
string-length(substring-after(., '.')) < 2
[F-ORE150] Invalid Quantity. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 4
[F-ORE151] Invalid Quantity. No more than 4 decimals
/[]
. != 0
[F-ORE152] Invalid Quantity. Must not be zero
/[]
string-length(substring-after(., '.')) < 2
[F-ORE153] Invalid LineExtensionAmount. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 4
[F-ORE154] Invalid LineExtensionAmount. No more than 4 decimals
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:ID) = 0
[F-ORE155] ID element must be excluded
/[]
count(cbc:ActualDeliveryDate) = 0
[F-ORE156] ActualDeliveryDate element must be excluded
/[]
count(cbc:ActualDeliveryTime) = 0
[F-ORE157] ActualDeliveryTime element must be excluded
/[]
count(cac:DeliveryAddress) = 0
[F-ORE158] DeliveryAddress class must be excluded
/[]
not(cbc:ID) and not(cac:Address)
[F-ORE159] Address is mandatory when ID is not specified
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE160] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cac:AllowanceCharge) = 0
[F-ORE161] AllowanceCharge class must be excluded
/[]
cbc:ID and cbc:SpecialTerms
[F-ORE162] Use either ID or SpecialTerms
/[]
cbc:ID and cbc:ID != 'Incoterms'
[W-ORE163] If used, use INCO terms (ID = 'Incoterms')
/[]
cbc:LossRiskResponsibilityCode and cbc:LossRisk
[F-ORE164] Use either LossRiskResponsibilityCode or LossRisk
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:MarkCareIndicator) = 0
[F-LIB166] MarkCareIndicator element must be excluded
/[]
count(cbc:MarkAttentionIndicator) = 0
[F-LIB167] MarkAttentionIndicator element must be excluded
/[]
count(cac:AgentParty) = 0
[F-LIB168] AgentParty class must be excluded
/[]
(not(cac:PartyIdentification) or cac:PartyIdentification/cbc:ID = '') and (not(cac:PartyName) or cac:PartyName/cbc:Name = '')
[F-LIB022] PartyName/Name is mandatory if PartyIdentification/ID is not found
/[]
cbc:EndpointID and not(contains($EndpointID_schemeID, concat(',',cbc:EndpointID/@schemeID,',')))
[F-LIB179] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:EndpointID/@schemeID = 'DK:CVR') and (string-length(cbc:EndpointID) != 10 or substring(cbc:EndpointID, 1, 2) != 'DK')
[F-LIB180] schemeID = DK:CVR, EndpointID must be a valid CVR number (DK12345678)
/[]
(cbc:EndpointID/@schemeID = 'DK:CPR') and not(string-length(cbc:EndpointID) = 10)
[F-LIB215] schemeID = DK:CPR, EndpointID must be a valid CPR number (1234560000)
/[]
(cbc:EndpointID/@schemeID = 'GLN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB181] schemeID = GLN, EndpointID must be a valid GLN number (1234567890123)
/[]
(cbc:EndpointID/@schemeID = 'EAN') and not(string-length(cbc:EndpointID) = 13)
[F-LIB216] schemeID = EAN, EndpointID must be a valid EAN number (1234567890123)
/[]
count(cac:PartyLegalEntity) > 1
[F-ORE165] No more than one PartyLegalEntity class may be present
/[]
not(contains($PartyID_schemeID, concat(',',cbc:ID/@schemeID,',')))
[F-LIB183] Invalid schemeID: '
'. Must be a value from the codelist: '
'
/[]
(cbc:ID/@schemeID = 'DK:CVR') and (string-length(cbc:ID) != 10 or substring(cbc:ID, 1, 2) != 'DK')
[F-LIB184] schemeID = DK:CVR, ID must be a valid CVR number (DK12345678)
/[]
(cbc:ID/@schemeID = 'DK:CPR') and not(string-length(cbc:ID) = 10)
[F-LIB217] schemeID = DK:CPR, ID must be a valid CPR number (1234560000)
/[]
(cbc:ID/@schemeID = 'GLN') and not(string-length(cbc:ID) = 13)
[F-LIB185] schemeID = GLN, ID must be a valid GLN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'EAN') and not(string-length(cbc:ID) = 13)
[F-LIB218] schemeID = EAN, ID must be a valid EAN number (1234567890123)
/[]
(cbc:ID/@schemeID = 'DK:P') and not(string-length(cbc:ID) = 10)
[F-LIB287] schemeID = DK:P, ID must be a valid P number (1234567890)
/[]
count(../cac:PartyName) > 1 and not(./cbc:Name/@languageID)
[W-LIB219] The attribute Name@languageID should be used when more than one PartyName class is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/cbc:Name/@languageID = self::*/cbc:Name/@languageID
[W-LIB220] Multilanguage error. Replicated PartyName classes with same Name@languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
(not(cbc:ID) or cbc:ID = '') and (count(cac:Address) = 0)
[F-LIB221] If ID not specified, Address is mandatory
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cbc:TaxLevelCode) = 0
[F-LIB192] TaxLevelCode element must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB193] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:SE' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB195] Invalid schemeID. Must be a valid scheme for PartyTaxScheme/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:SE') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB196] schemeID = DK:SE, CompanyID must be a valid SE number (DK12345678)
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:CorporateRegistrationScheme) = 0
[F-LIB186] CorporateRegistrationScheme class must be excluded
/[]
normalize-space(cbc:CompanyID) != ''
[F-LIB187] Invalid CompanyID. Must contain a value
/[]
cbc:CompanyID/@schemeID = 'DK:CVR' or cbc:CompanyID/@schemeID = 'DK:CPR' or cbc:CompanyID/@schemeID = 'ZZZ'
[F-LIB189] Invalid schemeID. Must be a valid scheme for PartyLegalEntity/CompanyID
/[]
(cbc:CompanyID/@schemeID = 'DK:CVR') and (string-length(normalize-space(cbc:CompanyID)) != 10 or substring(cbc:CompanyID, 1, 2) != 'DK')
[F-LIB190] schemeID = DK:CVR, CompanyID must be a valid CVR number (DK12345678)
/[]
(cbc:CompanyID/@schemeID = 'DK:CPR') and not(string-length(cbc:CompanyID) = 10)
[F-LIB191] schemeID = DK:CPR, CompanyID must be a valid CPR number (1234560000)
/[]
(not(cbc:ID) or cbc:ID = '') and (not(cbc:Name) or cbc:Name = '') and (not(cbc:Telephone) or cbc:Telephone = '') and (not(cbc:Telefax) or cbc:Telefax = '') and (not(cbc:ElectronicMail) or cbc:ElectronicMail = '') and (not(cbc:Note) or cbc:Note = '') and not(cac:OtherCommunication)
[F-LIB235] At least one field in the Contact class should be specified
/[]
cac:OtherCommunication/cbc:ChannelCode and cac:OtherCommunication/cbc:Channel
[F-LIB236] Use either ChannelCode or Channel
/[]
cac:OtherCommunication and not(normalize-space(cac:OtherCommunication/cbc:Value) != '')
[F-LIB237] Invalid Value. Must contain a value
/[]
(not(cbc:FamilyName) or cbc:FamilyName = '') and (not(cbc:FirstName) or cbc:FirstName = '')
[F-LIB024] There must be a FirstName if the FamilyName is not present
/[]
count(cbc:TradingRestrictions) > 1
[F-ORE166] No more than one TradingRestrictions element may be present
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
count(cac:ValidityPeriod) > 1
[F-ORE167] No more than one ValidityPeriod class may be present
/[]
string-length(substring-after(., '.')) < 2
[F-ORE168] Invalid PriceAmount. Must have at least 2 decimals
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE169] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE170] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE171] Invalid listID. Must be 'UN/ECE 5387'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:ValidityPeriod) > 1
[F-ORE172] No more than one ValidityPeriod class may be present
/[]
string-length(substring-after(., '.')) < 2
[F-ORE173] Invalid PriceAmount. Must have at least 2 decimals
/[]
not(starts-with(.,'-'))
[F-ORE174] Invalid PriceAmount. Must not be negative
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE175] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE176] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE177] Invalid listID. Must be 'UN/ECE 5387'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:ValidityPeriod) = 0
[F-ORE178] ValidityPeriod class must be excluded
/[]
string-length(substring-after(., '.')) < 2
[F-ORE179] Invalid PriceAmount. Must have at least 2 decimals
/[]
string-length(substring-after(., '.')) > 4
[F-ORE180] Invalid PriceAmount. No more than 4 decimals
/[]
not(starts-with(.,'-'))
[F-ORE181] Invalid PriceAmount. Must not be negative
/[]
not(./@unitCode)
[F-LIB007] Attribute unitCode must be used for
/[]
string-length(./@unitCode)>1
[W-LIB008] The value of unitCode attribute should be a valid UOM measure
/[]
contains($Quantity_unitCode, concat(',',./@unitCode,','))
[F-LIB318] Invalid unitCode: '
'. Must be a value from the codelist.
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(../cbc:PriceChangeReason) > 1 and not(./@languageID)
[W-ORE182] The attribute languageID should be used when more than one PriceChangeReason element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-ORE183] Multilanguage error. Replicated PriceChangeReason elements with same languageID attribute value
/[]
./@listID = 'UN/ECE 5387'
[F-ORE184] Invalid listID. Must be 'UN/ECE 5387'
/[]
./@listAgencyID = '320'
[F-ORE185] Invalid listAgencyID. Must be '6'
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cac:TaxTotal) = 0
[F-LIB224] TaxTotal class must be excluded
/[]
count(cac:PaymentMeans) = 0
[F-LIB225] PaymentMeans class must be excluded
/[]
count(cac:TaxCategory) = 1
[F-LIB226] One TaxCategory class must be present
/[]
cbc:MultiplierFactorNumeric and not(cbc:BaseAmount != '')
[F-LIB248] When MultiplierFactorNumeric is used, BaseAmount is mandatory
/[]
starts-with(cbc:MultiplierFactorNumeric,'-')
[F-LIB227] MultiplierFactorNumeric must be a positive number
/[]
cbc:MultiplierFactorNumeric and ((cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) < '-1.00') or (cbc:Amount - (cbc:BaseAmount * cbc:MultiplierFactorNumeric) > '1.00'))
[F-LIB228] Amount must equal BaseAmount * MultiplierFactorNumeric
/[]
cbc:AccountingCost and cbc:AccountingCostCode
[F-LIB021] Use either AccountingCost or AccountingCostCode
/[]
not(starts-with(.,'-'))
[F-LIB020] Invalid
. Must not be negative
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
not(starts-with(.,'-')) and . != 0
[F-LIB019] Invalid
. Must not be negative or zero
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
count(cac:OriginCountry) = 0
[F-ORE186] OriginCountry class must be excluded
/[]
cbc:Name != ''
[F-ORE187] Invalid Name. Must contain a value
/[]
contains(/doc:OrderResponse/cbc:ProfileID, 'Procurement-OrdSim') and not(cac:SellersItemIdentification)
[F-ORE188] There must be a SellersItemIdentification class for this profileID
/[]
not(cbc:Description) and not(cac:BuyersItemIdentification) and not(cac:SellersItemIdentification) and not(cac:ManufacturersItemIdentification) and not(cac:StandardItemIdentification) and not(cac:CatalogueItemIdentification) and not(cac:AdditionalItemIdentification)
[F-ORE190] Description is mandatory if no ItemIdentification is present
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
cbc:ID != ''
[F-ORE191] Invalid ID. Must contain a value
/[]
cbc:Description != ''
[F-ORE192] Invalid Description. Must contain a value
/[]
cbc:AttributeID != ''
[F-ORE193] Invalid AttributeID. Must contain a value
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:AttributeID != ''
[F-ORE194] Invalid AttributeID. Must contain a value
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cac:PhysicalAttribute) = 0
[F-LIB175] PhysicalAttribute class must be excluded
/[]
count(cac:MeasurementDimension) = 0
[F-LIB176] MeasurementDimension class must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB177] Invalid ItemIdentification/ID. Must contain a value.
/[]
count(cbc:DocumentType) = 0
[F-LIB170] DocumentType element must be excluded
/[]
count(cbc:DocumentTypeCode) = 0
[F-LIB172] DocumentTypeCode element must be excluded
/[]
cac:Attachment and cbc:XPath
[F-LIB169] Use either Attachment or XPath
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB171] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB173] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB174] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB096] When using ExternalReference, URI is mandatory
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
cbc:ItemClassificationCode and not(cbc:ItemClassificationCode/@listID='UNSPSC')
[W-ORE195] Use a Valid UNSPSC 7.0401 code
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]
count(cbc:TierRange) = 0
[F-LIB072] TierRange element must be excluded
/[]
count(cbc:TierRatePercent) = 0
[F-LIB073] TierRatePercent element must be excluded
/[]
normalize-space(cbc:ID) != ''
[F-LIB074] Invalid TaxCategory/ID. Must contain a value.
/[]
cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID
[F-LIB075] Invalid schemeID. Must be '
' or '
'
/[]
cbc:ID/@schemeAgencyID = $TaxCategory2_agencyID
[W-LIB229] Invalid schemeAgencyID. Must be '320'
/[]
(cbc:ID/@schemeID = $TaxCategory1_schemeID or cbc:ID/@schemeID = $TaxCategory2_schemeID) and not (contains($TaxCategory2, concat(',',cbc:ID,',')))
[F-LIB309] Invalid ID: '
'. Must be a value from the codelist
/[]
(cbc:Name != '') and not(contains(/doc:Invoice/cbc:ProfileID, 'nesubl.eu'))
[W-LIB230] Name should only be used within NES profiles
/[]
cbc:PerUnitAmount and cbc:Percent
[F-LIB231] Use either PerUnitAmount or Percent
/[]
cbc:PerUnitAmount and not(cbc:BaseUnitMeasure != '')
[F-LIB232] When PerUnitAmount is used, BaseUnitMeasure is mandatory
/[]
count(cac:JurisdictionRegionAddress/cbc:ID) = 0
[F-LIB041] ID element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AddressTypeCode) = 0
[F-LIB042] AddressTypeCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Postbox) = 0
[F-LIB043] Postbox element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Floor) = 0
[F-LIB044] Floor element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Room) = 0
[F-LIB045] Room element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:StreetName) = 0
[F-LIB046] StreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:AdditionalStreetName) = 0
[F-LIB047] AdditionalStreetName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BlockName) = 0
[F-LIB048] BlockName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingName) = 0
[F-LIB049] BuildingName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:BuildingNumber) = 0
[F-LIB050] BuildingNumber element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:InhouseMail) = 0
[F-LIB051] InhouseMail element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:Department) = 0
[F-LIB052] Department element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkAttention) = 0
[F-LIB053] MarkAttention element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:MarkCare) = 0
[F-LIB054] MarkCare element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PlotIdentification) = 0
[F-LIB055] PlotIdentification element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CitySubdivisionName) = 0
[F-LIB056] CitySubdivisionName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CityName) = 0
[F-LIB057] CityName element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:PostalZone) = 0
[F-LIB058] PostalZone element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentity) = 0
[F-LIB059] CountrySubentity element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:CountrySubentityCode) = 0
[F-LIB060] CountrySubentityCode element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cbc:TimezoneOffset) = 0
[F-LIB063] TimezoneOffset element must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:AddressLine) = 0
[F-LIB234] AddressLine class must be excluded
/[]
count(cac:JurisdictionRegionAddress/cac:LocationCoordinate) = 0
[F-LIB064] LocationCoordinate class must be excluded
/[]
(cbc:ID = '63') and cbc:TaxTypeCode
[F-LIB067] TaxTypeCode is not allowed when TaxScheme/ID equals '63' (Moms)
/[]
normalize-space(cbc:ID) != ''
[F-LIB065] Invalid TaxScheme/ID. Must contain a value.
/[]
normalize-space(cbc:Name) != ''
[F-LIB066] Invalid Name. Must contain a value
/[]
not((cbc:ID = '63' or cbc:ID = 'VAT')) and not(contains($TaxType2, concat(',',cbc:TaxTypeCode,',')))
[F-LIB197] TaxTypeCode must be a value from the '
' codelist when TaxScheme/ID is different from '63' or 'VAT' (Moms)
/[]
cbc:ID/@schemeID = $TaxScheme_schemeID or cbc:ID/@schemeID = $TaxScheme2_schemeID or cbc:ID/@schemeID = $TaxScheme4_schemeID
[F-LIB070] Invalid schemeID. Must be '
' or '
' or '
'
/[]
(cbc:TaxTypeCode) and not((cbc:TaxTypeCode/@listID = $TaxType_listID) or (cbc:TaxTypeCode/@listID = $TaxType_listID2))
[F-LIB071] Invalid listID. Must be '
' or '
'
/[]
(cbc:ID = '63') and cbc:Name != 'Moms'
[F-LIB198] Name must equal 'Moms' when TaxScheme/ID equals '63' (Moms)
/[]
(cbc:ID != '63') and cbc:Name = 'Moms'
[F-LIB199] Name must correspond to the value of TaxScheme/ID
/[]
(cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode) and not(contains($CountryCode, concat(',',cac:JurisdictionRegionAddress/cac:Country/cbc:IdentificationCode,',')))
[F-LIB337] Invalid Country/IdentificationCode: '
'. Must be a value from the country codelist
/[]
(cac:JurisdictionRegionAddress) and cac:JurisdictionRegionAddress/cbc:AddressFormatCode != 'StructuredRegion'
[F-LIB233] The AddressFormatCode under JurisdictionRegionAddress must always equal 'StructuredRegion'
/[]
cbc:Name != ''
[F-ORE196] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE197] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE198] Invalid ID. Must contain a value
/[]
count(cbc:BlockName) = 0
[F-LIB210] BlockName element must be excluded
/[]
count(cbc:TimezoneOffset) = 0
[F-LIB211] TimezoneOffset element must be excluded
/[]
count(cac:LocationCoordinate) = 0
[F-LIB212] LocationCoordinate class must be excluded
/[]
normalize-space(cbc:AddressFormatCode) != ''
[F-LIB025] Invalid AddressFormatCode. Must contain a value
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listID = 'urn:oioubl:codelist:addresstypecode-1.1')
[F-LIB204] Invalid listID. Must be 'urn:oioubl:codelist:addresstypecode-1.1'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode/@listAgencyID = '320')
[F-LIB205] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressTypeCode and not(cbc:AddressTypeCode = 'Home' or cbc:AddressTypeCode = 'Business' )
[F-LIB206] Invalid AddressTypeCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' or cbc:AddressFormatCode/@listID = 'UN/ECE 3477'
[F-LIB026] Invalid listID. Must be either 'urn:oioubl:codelist:addressformatcode-1.1' or 'UN/ECE 3477'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode/@listAgencyID = '320')
[F-LIB207] Invalid listAgencyID. Must be '320'
/[]
cbc:AddressFormatCode/@listID = 'urn:oioubl:codelist:addressformatcode-1.1' and not(cbc:AddressFormatCode = 'StructuredDK' or cbc:AddressFormatCode = 'StructuredLax' or cbc:AddressFormatCode = 'StructuredID' or cbc:AddressFormatCode = 'StructuredRegion' or cbc:AddressFormatCode = 'Unstructured')
[F-LIB027] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode/@listAgencyID = '6')
[F-LIB208] Invalid listAgencyID. Must be '6'
/[]
cbc:AddressFormatCode/@listID = 'UN/ECE 3477' and not(cbc:AddressFormatCode = '1' or cbc:AddressFormatCode = '2' or cbc:AddressFormatCode = '3' or cbc:AddressFormatCode = '4' or cbc:AddressFormatCode = '5' or cbc:AddressFormatCode = '6' or cbc:AddressFormatCode = '7' or cbc:AddressFormatCode = '8' or cbc:AddressFormatCode = '9')
[F-LIB209] Invalid AddressFormatCode. Must be a value from the codelist
/[]
cac:Country and not(cac:Country/cbc:IdentificationCode != '')
[F-LIB213] When Country is used the element Country/IdentificationCode must be filled out
/[]
(cbc:AddressFormatCode = 'Unstructured') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB031] An Unstructured address is only allowed to have AddressLine elements
/[]
(cbc:AddressFormatCode = 'StructuredDK') and cac:AddressLine
[F-LIB032] AddressLine elements not allowed for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and (not(cbc:PostalZone) or normalize-space(cbc:PostalZone) = '')
[F-LIB033] PostalZone is mandatory for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:StreetName) or normalize-space(cbc:StreetName) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB034] There should be either a StreetName or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredDK') and ((not(cbc:BuildingNumber) or normalize-space(cbc:BuildingNumber) = '') and (not(cbc:Postbox) or normalize-space(cbc:Postbox) = ''))
[F-LIB035] There should be either a BuildingNumber or a Postbox for a StructuredDK address type
/[]
(cbc:AddressFormatCode = 'StructuredLax') and cac:AddressLine
[F-LIB036] AddressLine elements not allowed for a StructuredLax address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (not(cbc:ID) or cbc:ID = '')
[F-LIB037] ID is required for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredID') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0' or count(cac:Country) != '0')
[F-LIB038] Only the ID is used for a StructuredID address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and ((not(cac:Country/cbc:IdentificationCode) or cac:Country/cbc:IdentificationCode = '') and (not(cbc:Region) or cbc:Region = '') and (not(cbc:District) or cbc:District = ''))
[F-LIB039] Region or District or Country/IdentificationCode is required for a StructuredRegion address type
/[]
(cbc:AddressFormatCode = 'StructuredRegion') and (count(cbc:StreetName) != '0' or count(cbc:BuildingNumber) != '0' or count(cbc:CityName) != '0' or count(cbc:PostalZone) != '0')
[F-LIB040] Only Region, District, and/or Country/IdentificationCode can be used for a StructuredRegion address type
/[]
cbc:ID and not(string-length(cbc:ID/@schemeID)>0)
[F-LIB028] When ID is used under Address the attribute schemeID is used to give an addressregister
/[]
cbc:ID and not(cbc:ID/@schemeID)
[F-LIB029] schemeID attribute must be present on an address ID
/[]
cac:Country/cbc:IdentificationCode and not(contains($CountryCode, concat(',',cac:Country/cbc:IdentificationCode,',')))
[F-LIB301] Invalid Country/IdentificationCode: '
'. Must be a value from the codelist
/[]
cbc:Name != ''
[F-ORE199] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE200] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE201] Invalid ID. Must contain a value
/[]
cbc:Name != ''
[F-ORE202] Invalid Name. Must contain a value
/[]
cbc:Value != ''
[F-ORE203] Invalid Value. Must contain a value
/[]
count(cbc:DurationMeasure) = 0
[F-LIB076] DurationMeasure element must be excluded
/[]
count(cbc:DescriptionCode) = 0
[F-LIB077] DescriptionCode element must be excluded
/[]
(cbc:StartTime) and (not(cbc:StartDate) or cbc:StartDate = '')
[F-LIB078] There must be a StartDate if you have a StartTime
/[]
(cbc:EndTime) and (not(cbc:EndDate) or cbc:EndDate = '')
[F-LIB079] There must be a EndDate if you have a EndTime
/[]
(cbc:StartDate and cbc:EndDate) and not(number(translate(cbc:EndDate,'-','')) > number(translate(cbc:StartDate,'-','')) or number(translate(cbc:EndDate,'-','')) = number(translate(cbc:StartDate,'-','')))
[F-LIB080] The EndDate must be greater or equal to the startdate
/[]
(cbc:StartTime and cbc:EndTime) and not(number(translate(cbc:EndTime,':','')) > number(translate(cbc:StartTime,':','')) or number(translate(cbc:EndTime,':','')) = number(translate(cbc:StartTime,':','')))
[F-LIB081] EndTime must be greater or equal to StartTime
/[]
count(../cbc:Description) > 1 and not(./@languageID)
[W-LIB222] The attribute languageID should be used when more than one Description element is present
/[]
local-name(following-sibling::*) = local-name(current()) and following-sibling::*/@languageID = self::*/@languageID
[W-LIB223] Multilanguage error. Replicated Description elements with same languageID attribute value
/[]
cbc:ID != ''
[F-ORE204] Invalid ID. Must contain a value
/[]
cbc:LineID != ''
[F-ORE129] Invalid LineID. Must contain a value
/[]
count(cbc:DocumentType) = 0
[F-LIB170] DocumentType element must be excluded
/[]
count(cbc:DocumentTypeCode) = 0
[F-LIB172] DocumentTypeCode element must be excluded
/[]
cac:Attachment and cbc:XPath
[F-LIB169] Use either Attachment or XPath
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB171] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB173] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB174] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB096] When using ExternalReference, URI is mandatory
/[]
cbc:DocumentType or cbc:DocumentTypeCode
[F-LIB092] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment and cbc:XPath
[F-LIB093] Use either Attachment or XPath
/[]
cbc:DocumentType and cbc:DocumentTypeCode != 'ZZZ'
[F-LIB094] Use either DocumentType or DocumentTypeCode
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and cac:Attachment/cac:ExternalReference
[F-LIB095] Use either EmbeddedDocumentBinaryObject or ExternalReference
/[]
cbc:UUID and not(string-length(string(cbc:UUID)) = 36)
[F-LIB097] Invalid UUID. Must be of this form '6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1'
/[]
cac:Attachment/cbc:EmbeddedDocumentBinaryObject and not(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/tiff' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/png' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/jpeg' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='image/gif' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='application/pdf' or cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode='text/xml')
[F-LIB098] Attribute mimeCode must be a value from the codelist
/[]
cac:Attachment/cac:ExternalReference and not(cac:Attachment/cac:ExternalReference/cbc:URI != '')
[F-LIB279] When using ExternalReference, URI is mandatory
/[]
(cbc:DocumentTypeCode = 'PersonalSecure') and not (contains($PersonalSecure, concat(',',cbc:ID,',')))
[F-LIB335] When DocumentTypeCode equals 'PersonalSecure', the ID must be either '1', '2' or '3'.
/[]