Payee fax number

Error FX-SCH-A-000912 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 FaxUniversalCommunication. The element is missing or occurs more than once.

What the rule means

ram:CompleteNumber contains the complete fax number. Exactly one such element is expected for the fax communication.

Please include the payee’s fax number exactly once

ram:CompleteNumber is missing or appears more than once in the payee’s fax communication. A single, unambiguous entry resolves the issue.

What to do
  1. Locate the fax communication in the contact under PayeeTradeParty.
  2. Check that ram:CompleteNumber occurs exactly once.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:FaxUniversalCommunication/>
✓ Correct
<ram:FaxUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:FaxUniversalCommunication>
Technical details

The Schematron check requires exactly one direct ram:CompleteNumber element under FaxUniversalCommunication.

Where the rule applies

The rule applies to the fax communication in the contact of the payee under PayeeTradeParty.

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