URI identifier of the buyer’s tax representative

Error FX-SCH-A-000691 Factur-X

Element 'ram:URIID' 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

URIID is missing from URIUniversalCommunication or occurs more than once. Exactly one URIID element must be present in this context.

What the rule means

URIID contains the URI identifier for the communication entry. Requiring exactly one ensures that this value is present unambiguously.

Please provide exactly one URI identifier for the buyer’s tax representative

URIID is missing from the buyer’s tax representative’s communication entry or appears more than once. You can adjust the entry so that it contains exactly one element.

What to do
  1. Locate URIUniversalCommunication under BuyerTaxRepresentativeTradeParty.
  2. Make sure it contains exactly one URIID.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID/>
</ram:URIUniversalCommunication>
Technical details

The test counts the direct URIID elements under URIUniversalCommunication and requires a count of 1.

Where the rule applies

The rule applies to the URI communication entry of the buyer’s tax representative in BuyerTaxRepresentativeTradeParty.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:BuyerTaxRepresentativeTradeParty/ram:URIUniversalCommunication
Test expression (assert/@test)
count(ram:URIID)=1