What it means
The invoicer's ram:PostalTradeAddress may contain zero or one ram:CountrySubDivisionName child. The rule fails when there are two or more. It does not check the region's text.
Why it matters
The Extended profile provides a single optional region field in this address.
How to fix it
Check the region or state in the invoicer's postal address. In ram:InvoicerTradeParty/ram:PostalTradeAddress, remove extra ram:CountrySubDivisionName elements. If several parts of the region description are needed, put them in one text value within the remaining element. Export the corrected file and check it again.
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-000897 still fails, and which other rules do.
Related rules
- FX-SCH-A-000898 The invoicer's country must use an allowed country code
- FX-SCH-A-000899 The invoicer's registration number needs an allowed scheme code
- FX-SCH-A-000900 The invoicer's registered address needs exactly one country
- FX-SCH-A-000901 The invoicer's registered address may have only one region
- FX-SCH-A-000902 The invoicer's company address needs a valid country code
- FX-SCH-A-000903 Each invoicer tax registration needs one identifier element