GR-S-008-1
When Supplier is Greek, there should be one invoice url
About
- ID
GR-S-008-1- Flag
- warning
- Context
/ubl-invoice:Invoice[$isGreekSender and ( /*/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'GR')] | /ubl-creditnote:CreditNote[$isGreekSender and ( /*/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'GR')]- Test
count(cac:AdditionalDocumentReference[cbc:DocumentDescription = '##INVOICE|URL##'])=1