Provide exactly one fax number

Error FX-SCH-A-000892 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 does not occur exactly once in ram:FaxUniversalCommunication. It is either missing or occurs more than once.

What the rule means

ram:CompleteNumber contains the fax number for this communication method. Requiring exactly one element ensures the fax number is stated unambiguously.

Please provide exactly one fax number for the contact

ram:CompleteNumber is missing or occurs more than once in the contact’s fax communication. You can adjust this information in the invoice.

What to do
  1. Open the contact’s fax communication under InvoicerTradeParty.
  2. Make sure ram:FaxUniversalCommunication contains exactly one ram:CompleteNumber element.
  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 test counts the child elements ram:CompleteNumber in ram:FaxUniversalCommunication and requires a count of 1.

Where the rule applies

The rule applies to the contact’s fax communication under InvoicerTradeParty.

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