Complete telephone number required

Error FX-SCH-A-000934 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. It must occur exactly once.

What the rule means

ram:CompleteNumber contains the complete telephone number of the payer's contact.

Please provide the contact's complete telephone number

ram:CompleteNumber is missing from the payer contact's telephone entry or appears more than once. Providing exactly one such element resolves the missing or duplicated structure entry.

What to do
  1. Add ram:CompleteNumber to ram:TelephoneUniversalCommunication if it is missing.
  2. Remove any extra ram:CompleteNumber elements so that exactly one remains.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
Technical details

The rule counts the direct ram:CompleteNumber elements within ram:TelephoneUniversalCommunication and requires exactly one.

Where the rule applies

ram:CompleteNumber is checked in ram:TelephoneUniversalCommunication for the payer's contact.

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