Complete telephone number

Error FX-SCH-A-000679 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 be present exactly once.

What the rule means

The contact’s telephone communication requires exactly one element for the complete number.

Please provide exactly one complete telephone number for the contact

The contact’s telephone communication is missing the complete number or has it entered more than once. Exactly one ram:CompleteNumber is required.

What to do
  1. Find ram:TelephoneUniversalCommunication in the contact details of the buyer’s tax representative.
  2. Check how many times ram:CompleteNumber occurs there.
  3. Add or remove entries so that the element is present exactly once.
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber/>
</ram:TelephoneUniversalCommunication>
Technical details

The test counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to ram:TelephoneUniversalCommunication in the contact of the buyer’s tax representative.

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