VRBL-INV-CN-1p0-14
Basic Info
| Rule | When the Invoice Type Code is 380, the Buyer Name must exist within the Buyer Party. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
|
| Pattern | vrbl-invoice-cn-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:PartyLegalEntity/cbc:RegistrationName
|
Implementation
(
not(/ubl:Invoice/cbc:InvoiceTypeCode = '380')
)
or
(
boolean(cac:PartyLegalEntity/cbc:RegistrationName)
)