What it means
The context selects a ram:AdditionalReferencedDocument containing at least one ram:TypeCode with value 916, then checks each ram:TypeCode child against code list 38. It does not necessarily check only the element containing 916. Empty values pass this code-list test.
Why it matters
A document type code identifies what a reference represents. The Extended profile restricts the codes used in this position.
How to fix it
Find the reference containing type code 916 under ram:ApplicableHeaderTradeAgreement. Check all its ram:TypeCode elements against code list 38 and correct any unsupported value without changing the reference's meaning. If the reported value is 916 itself, ask your software supplier to check the export and applicable rule files rather than guessing another code. Re-export and recheck.
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:TypeCode' 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-000647 still fails, and which other rules do.
Related rules
- FX-SCH-A-000648 Check the country code in your delivery terms
- FX-SCH-A-000649 Keep at most one buyer agent ram:ID
- FX-SCH-A-000650 Give the buyer agent one name element
- FX-SCH-A-000651 Keep one buyer agent electronic address block at most
- FX-SCH-A-000652 Keep at most one buyer agent tax registration
- FX-SCH-A-000653 Check the buyer agent contact's email address