VRBL-INV-MY-1p0-27
Basic Info
| Rule | The Seller Legal Registration ID and Seller ID used as National Registration Identity Card Number are mutually exclusive. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party
|
| Pattern | vrbl-invoice-my-1p0 |
| Severity | fatal |
Implementation
not(
boolean(cac:PartyLegalEntity/cbc:CompanyID)
and
boolean(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-MY-Prefix, 'NRIC')])
)