VRBL-INV-SA-1p2-56
Basic Info
| Rule | In case of a tax invoice the Buyer Address Group must contain Buyer City Name, Buyer Country Identification Code, and Buyer Street Name. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
|
| Pattern | vrbl-invoice-sa-1p2 |
| Severity | fatal |
Implementation
$SA-SimplifiedInvoiceIndicator = 'true'
or
(string-length(cac:Country/cbc:IdentificationCode)> 0 and string-length(cbc:StreetName)>0 and string-length(cbc:CityName)>0)