Complete fax number required

Error FX-SCH-A-000933 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:FaxUniversalCommunication or occurs more than once. It must occur exactly once.

What the rule means

ram:CompleteNumber contains the complete fax number of the payer's contact.

Please provide the contact's complete fax number

ram:CompleteNumber is missing from the payer contact's fax entry or appears more than once. Providing exactly one such element resolves the missing or duplicated structure entry.

What to do
  1. Add ram:CompleteNumber to ram:FaxUniversalCommunication if it is missing.
  2. Remove any extra ram:CompleteNumber elements so that exactly one remains.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:FaxUniversalCommunication/>
✓ Correct
<ram:FaxUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:FaxUniversalCommunication>
Technical details

The rule counts the direct ram:CompleteNumber elements within ram:FaxUniversalCommunication and requires exactly one.

Where the rule applies

ram:CompleteNumber is checked in ram:FaxUniversalCommunication for the payer's contact.

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