Invoicee telephone number

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

ram:CompleteNumber is missing from TelephoneUniversalCommunication or occurs more than once. It must occur exactly once.

What the rule means

The telephone number of the invoicee’s contact must be stated unambiguously.

Please provide the invoicee contact’s telephone number

ram:CompleteNumber is missing or appears more than once in the contact’s telephone communication under InvoiceeTradeParty. You can resolve this by providing it exactly once.

What to do
  1. Locate the contact’s telephone communication under InvoiceeTradeParty.
  2. Check that ram:CompleteNumber occurs exactly once there.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>...</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
Technical details

The rule checks whether ram:CompleteNumber occurs exactly once in this context.

Where the rule applies

The rule applies to the telephone communication of the contact person under InvoiceeTradeParty.

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