VRBL-INV-CORE-190
Basic Info
| Rule | The Payee Party Name Group must be provided in the Invoice, if the Payee Party Group is different from the Seller Group. |
| Context |
/ubl:Invoice/cac:PayeeParty
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Implementation
boolean(cac:PartyName/cbc:Name)
and
(
not(cac:PartyName/cbc:Name = ../cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name)
and
not(cac:PartyIdentification/cbc:ID = ../cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID)
)