What it means
For each ram:PostalTradeAddress inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization, this rule allows zero or one ram:CountrySubDivisionName element. It checks the number of elements in the legal organisation's address, not the payee's separate postal address.
Why it matters
The Extended profile provides one optional region-name field in the legal organisation's address, rather than a list.
How to fix it
Check the region, state or county in the payee's registered address. In ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress, remove repeated ram:CountrySubDivisionName elements and retain the appropriate value. If you do not need a region, omit the 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-000999 still fails, and which other rules do.
Related rules
- FX-SCH-A-001000 Use an allowed country code for the registered address
- FX-SCH-A-001001 Payee tax registration needs one number element
- FX-SCH-A-001002 Payee tax registration number needs a scheme attribute
- FX-SCH-A-001003 Each payee address entry needs one address element
- FX-SCH-A-001004 A payee electronic address needs a scheme attribute
- FX-SCH-A-001005 The payee electronic address scheme must be an allowed code