Exactly one CompleteNumber for the fax number

Error FX-SCH-A-000775 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 occurs more than once. The element must be present exactly once.

What the rule means

The fax communication must contain exactly one CompleteNumber element so that the number intended for this communication is structurally provided.

Please provide exactly one fax number in `CompleteNumber`

The seller contact’s fax communication is missing CompleteNumber or contains it more than once. The number of entries can be changed to exactly one.

What to do
  1. Open FaxUniversalCommunication for the seller contact.
  2. Ensure that CompleteNumber occurs exactly once within it.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:FaxUniversalCommunication/>
✓ Correct
<ram:FaxUniversalCommunication>
  <ram:CompleteNumber/>
</ram:FaxUniversalCommunication>
Technical details

The check counts the direct CompleteNumber elements within FaxUniversalCommunication; exactly one is required.

Where the rule applies

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

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