Peppol BIS Billing 3.0.21 · UBL

GR-R-004-1: When Supplier is Greek, there must be one MARK Number

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[GR-R-004-1]- When Supplier is Greek, there must be one MARK Number

Stored validation assertion
count(cac:AdditionalDocumentReference[cbc:DocumentDescription = '##M.AR.K##'])=1

GR-R-004-1 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

For an invoice or credit note from a Greek supplier, the UBL rule requires exactly one cac:AdditionalDocumentReference element whose cbc:DocumentDescription is exactly ##M.AR.K##. If no such element exists, or if more than one exists, the document is rejected as fatal. The variable allows Greek supplier country GR or EL, but the selection expression additionally checks the supplier country code is GR, so as written the rule applies when the code is GR.

How to fix

Add exactly one cac:AdditionalDocumentReference child to the invoice or credit note root, with a cbc:DocumentDescription value of ##M.AR.K##. If multiple such elements exist, remove all but one. Do not change other additional document references whose description is different.

Guidance on this rule. The original text above is authoritative.

Where to go next

GR-R-004-1 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes