A telephone number must be provided in full

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

The ram:TelephoneUniversalCommunication element does not contain exactly one ram:CompleteNumber element. The element is missing or occurs more than once.

What the rule means

A telephone communication entry requires exactly one ram:CompleteNumber element for the complete number.

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

The manufacturer contact’s telephone communication is missing ram:CompleteNumber or contains it more than once. You can adjust the entry so that exactly one such element is present.

What to do
  1. Find ram:TelephoneUniversalCommunication for the manufacturer’s contact.
  2. Make sure it contains exactly one ram:CompleteNumber element.
  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 within ram:TelephoneUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to the telephone communication of the defined contact at a product’s manufacturer.

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