One complete number for the invoice issuer’s fax communication

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 is missing from ram:FaxUniversalCommunication or occurs more than once. The rule requires exactly one occurrence.

What the rule means

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

Please provide exactly one complete fax number for the invoice issuer

ram:CompleteNumber is missing from the contact’s fax 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:FaxUniversalCommunication 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:FaxUniversalCommunication/>
✓ Correct
<ram:FaxUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:FaxUniversalCommunication>
Technical details

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

Where the rule applies

In ram:FaxUniversalCommunication 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:FaxUniversalCommunication
Test expression (assert/@test)
count(ram:CompleteNumber)=1