Rules
Basic Info
|
Rule
|
Within the first Seller Party Legal Entity, the Buyer Name must be provided in the Invoice. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-en16931-ubl-model |
|
Severity
|
fatal |
Used Template: NotEmpty
| Parameter |
|
Value |
| probe |
= |
cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName
|
Implementation
(
not(count(../preceding-sibling::cac:PartyLegalEntity) = 0)
)
or
(
normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) != ''
)