# GR-R-008-2

Source: https://xmlvalid.com/rules/GR-R-008-2

> When Supplier is Greek, there should be no more than one invoice url

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- 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##']) = 0 ) or (count(cac:AdditionalDocumentReference[cbc:DocumentDescription = '##INVOICE|URL##']) = 1 )`

Validate a document against these rules: https://xmlvalid.com/validate
