GR-R-001:Greek AFM (VAT number) required
Fix: Add EL + 9 digit AFM. Provide the required value in the free validator.
Greek invoices must include 9-digit AFM.
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: Greek VAT Number (AFM)
What is GR-R-001?
GR-R-001 is a fatal validation rule defined in the ubl-2.1 specification (GRC national rules). It validates the CompanyID element under PartyTaxScheme in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: XPath: //cac:PartyTaxScheme/cbc:CompanyID
Why This Error Matters
AFM required for Greek tax compliance.
GR-R-001 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Validator Behavior
- ·Causes invoice rejection
- ·Fails UBL schema validation
- ·Error returned: GR-R-001
- ·Specification: ubl-2.1
How to Fix It
Get AFM
9-digit Greek tax number
Add to invoice
EL prefix + AFM
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Missing or empty element triggers cbc:CompanyID error --> <cbc:CompanyID></cbc:CompanyID>
<!-- Provide the required value --> <cbc:CompanyID>VALID_VALUE</cbc:CompanyID>
Technical Reference
XPath: //cac:PartyTaxScheme/cbc:CompanyIDCommon Causes
- ·Missing AFM
- ·Wrong format
- ·Using GR instead of EL
Seeing this in production? The API handles GR-R-001 automatically. See the fix response →
Frequently Asked Questions
Greek invoices must include 9-digit AFM.
Add EL + 9 digit AFM. Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.
Yes, GR-R-001 is a critical error that must be fixed.
Related Errors
Related Content
Last updated: 3 March 2026
Validate your invoice
Drop your XML here to check for GR-R-001
Fix GR-R-001 with guided input
Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.