Complete telephone number required for the invoicee

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

CompleteNumber is missing from TelephoneUniversalCommunication or does not occur exactly once. CompleteNumber must be present exactly once.

What the rule means

CompleteNumber contains the contact’s complete telephone number. The rule requires exactly one entry.

Please add the invoicee’s complete telephone number

CompleteNumber is missing or appears more than once in the invoicee’s telephone communication. You can correct this by including exactly one CompleteNumber.

What to do
  1. Find TelephoneUniversalCommunication for the invoicee’s contact.
  2. Include exactly one CompleteNumber element inside it.
  3. 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

Within TelephoneUniversalCommunication, the number of direct CompleteNumber elements must be exactly one.

Where the rule applies

The rule applies to the contact’s telephone communication in InvoiceeTradeParty.

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