VRBL-INV-CORE-193
Basic Info
| Rule | The Payee Name must occur maximum once, if the Payee is different from the Seller. |
| Context |
/ubl:Invoice/cac:PayeeParty
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Implementation
(
count(cac:PartyName/cbc:Name) <= 1
)
or
(
(cac:PartyName/cbc:Name) = (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName)
)