What it means
Each ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress may contain zero or one ram:CountrySubDivisionName element. This rule counts XML elements, not names within their text.
Why it matters
The EXTENDED profile provides one optional region field for the legal organisation's postal address.
How to fix it
Remove extra ram:CountrySubDivisionName elements from ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress. Keep the element for the address's region, or omit it if you do not need it. Export and recheck your file.
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
Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. 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-000808 still fails, and which other rules do.
Related rules
- FX-SCH-A-000809 Use an allowed ship-from company country code
- FX-SCH-A-000810 Each ship-from tax registration needs one ID element
- FX-SCH-A-000811 Add a scheme attribute to the ship-from tax number
- FX-SCH-A-000812 The ship-from electronic address needs one URIID element
- FX-SCH-A-000813 Add a scheme attribute to the ship-from electronic address
- FX-SCH-A-000814 Use an allowed ship-from electronic address scheme