One complete telephone number for the invoice issuer

Error FX-SCH-A-000893 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 rule requires exactly one occurrence.

What the rule means

ram:CompleteNumber contains the contact’s complete telephone number. Exactly one element ensures that this number is stated unambiguously.

Please provide exactly one complete telephone number for the invoice issuer

ram:CompleteNumber is missing from the contact’s telephone communication or is present more than once. You can adjust the XML so that exactly one such element is present.

What to do
  1. Locate ram:TelephoneUniversalCommunication under ram:DefinedTradeContact of InvoicerTradeParty.
  2. Check that ram:CompleteNumber occurs exactly once.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
Technical details

The check counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires the count to be 1.

Where the rule applies

In ram:TelephoneUniversalCommunication of the DefinedTradeContact in InvoicerTradeParty, ram:CompleteNumber must occur exactly once.

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