NONAT-T14-R004 (ERROR)

[NONAT-T14-R004]-A customer postal address in a credit note MUST contain at least, city name, zip code and country code.

Technical test

Context
cac:AccountingCustomerParty/cac:Party
Test
  • (cac:PostalAddress/cbc:CityName and cac:PostalAddress/cbc:PostalZone and cac:PostalAddress/cac:Country/cbc:IdentificationCode and (cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NO')) or not(cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NO')

Shortcuts