Telephone number must contain exactly one complete number

Error FX-SCH-A-000715 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:CompleteNumber is missing from ram:TelephoneUniversalCommunication or occurs more than once. The element must occur exactly once.

What the rule means

The contact’s telephone number is provided through ram:CompleteNumber. Exactly one complete number value is required.

Please provide exactly one complete telephone number for the contact

The contact’s telephone communication is missing a complete telephone number or contains it more than once. This can be resolved by providing it once.

What to do
  1. Locate the telephone communication under ProductEndUserTradeParty.
  2. Check that ram:TelephoneUniversalCommunication contains exactly one ram:CompleteNumber.
  3. Regenerate the invoice and validate 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 counts the ram:CompleteNumber elements within ram:TelephoneUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to the telephone communication of the contact in ProductEndUserTradeParty.

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