Complete fax number required for the invoicee

Error FX-SCH-A-000870 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 FaxUniversalCommunication or does not occur exactly once. CompleteNumber must be present exactly once.

What the rule means

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

Please add the invoicee’s complete fax number

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

What to do
  1. Find FaxUniversalCommunication 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:FaxUniversalCommunication/>
✓ Correct
<ram:FaxUniversalCommunication>
  <ram:CompleteNumber/>
</ram:FaxUniversalCommunication>
Technical details

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

Where the rule applies

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

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