VRBL-INV-IS-1p0-2
Basic Info
| Rule | When the Seller Country Code is 'IS', the Seller Legal Registration ID should not be empty and should be provided with SchemeID '0196' |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party
|
| Pattern | vrbl-invoice-is-peppolbis-3p0 |
| Severity | fatal |
Implementation
not(cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'IS')
or
(
normalize-space(cac:PartyLegalEntity/cbc:CompanyID) != ''
and
cac:PartyLegalEntity/cbc:CompanyID/@schemeID = '0196'
)