VRBL-INV-MY-1p0-53
Basic Info
| Rule | The Buyer Party Legal Entity Company ID and Buyer Party Identification ID used as National Registration Identity Card Number are mutually exclusive. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/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')])
)