VRBL-INV-EN16931-M-128
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-en16931-ubl-model |
|
Severity
|
fatal |
Implementation
boolean(cac:PartyName/cbc:Name)
and
not(cac:PartyName/cbc:Name = /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name)
and
not(cac:PartyIdentification/cbc:ID = /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID)