What it means
The country of origin of the item (BT-159) sits in ram:OriginTradeCountry/ram:ID inside ram:SpecifiedTradeProduct of the line. A non-empty code value must appear in the Extended profile's permitted country code list. This rule allows an empty value and does not require the element to be present.
Why it matters
Factur-X 1.09 EXTENDED and ZUGFeRD 2.5 EXTENDED require a non-empty product country of origin code to come from their permitted list.
How to fix it
Check the product's country of origin on the invoice line. In the XML, replace the value of ram:SpecifiedTradeProduct/ram:OriginTradeCountry/ram:ID with a code for that country from the Extended profile's permitted country code list.
Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta
The rule as published
Value of 'ram:ID' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-001173 still fails, and which other rules do.
Related rules
- FX-SCH-A-001172 The manufacturer's address scheme must be a known code
- FX-SCH-A-001171 The manufacturer's electronic address needs a scheme
- FX-SCH-A-001170 The manufacturer's electronic address needs one address element
- FX-SCH-A-001169 Every ID in a manufacturer VAT number entry needs a scheme
- FX-SCH-A-001168 A manufacturer VAT number entry must hold exactly one number
- FX-SCH-A-001167 Every ID in a manufacturer tax number entry needs a scheme