VRBL-INV-AE-1p0-45
Basic Info
| Rule | When the Buyer Party Legal Entity Company ID Scheme Agency ID = 'TL', the Buyer Party Legal Entity Company ID Scheme Agency Name MUST be present. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
not(cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID = 'TL')
or
(
boolean(cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyName)
)