# GR-R-001-1

Source: https://xmlvalid.com/rules/GR-R-001-1

> When the Supplier is Greek, the Invoice Id should consist of 6 segments

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- Context: `/ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]`
- Test: `count($IdSegments) = 6`

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