Telephone communication contains exactly one complete number

Error FX-SCH-A-000762 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.

What the rule means

ram:CompleteNumber contains the complete telephone number for the telephone communication. Exactly one complete number is required for this communication.

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

The complete number is missing from the tax representative contact’s telephone communication, or it appears more than once. The check is satisfied when there is exactly one ram:CompleteNumber.

What to do
  1. Locate ram:TelephoneUniversalCommunication for the tax representative’s contact person.
  2. Make sure it 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 test counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires a count of 1.

Where the rule applies

The telephone communication of the seller tax representative’s contact person.

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