Tax registration identifier

Error FX-SCH-A-000436 Factur-X

Element 'ram:ID' must occur exactly 1 times.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:ID is missing from ram:SpecifiedTaxRegistration or occurs more than once. It must occur exactly once.

What the rule means

ram:ID contains the tax registration identifier of the tax representative. Exactly one such element associates the identifier unambiguously with the registration.

Please provide exactly one identifier for the tax representative’s tax registration

ram:ID is missing from the tax representative’s tax registration or is included more than once. The identifier must be provided exactly once.

What to do
  1. Locate ram:SpecifiedTaxRegistration for the seller’s tax representative.
  2. Make sure it contains exactly one ram:ID.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTaxRegistration/>
✓ Correct
<ram:SpecifiedTaxRegistration>
  <ram:ID/>
</ram:SpecifiedTaxRegistration>
Technical details

Within ram:SpecifiedTaxRegistration, the number of direct ram:ID elements is counted and compared with one.

Where the rule applies

The rule applies within ram:SpecifiedTaxRegistration of the seller’s tax representative.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration
Test expression (assert/@test)
count(ram:ID)=1