Provide one complete number for telephone communication

Error FX-SCH-A-001114 Factur-X

Element 'ram:CompleteNumber' 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:TelephoneUniversalCommunication does not contain exactly one ram:CompleteNumber: the element is missing or occurs more than once.

What the rule means

ram:CompleteNumber carries the complete number for the contact’s telephone communication.

Please provide exactly one complete number for the contact’s telephone communication

ram:CompleteNumber is missing or appears more than once in the contact’s telephone communication. Ensure that there is exactly one such element.

What to do
  1. Ensure that ram:TelephoneUniversalCommunication contains exactly one ram:CompleteNumber.
  2. Regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
Technical details

The check requires exactly one direct ram:CompleteNumber element in the current ram:TelephoneUniversalCommunication.

Where the rule applies

The rule applies to ram:CompleteNumber within ram:TelephoneUniversalCommunication for the ultimate ship-to party’s contact.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ ram:TelephoneUniversalCommunication
Test expression (assert/@test)
count(ram:CompleteNumber)=1