Fax communication contains exactly one complete number

Error FX-SCH-A-000761 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.

What the rule means

ram:CompleteNumber contains the complete fax number for the fax communication. Exactly one complete number is required for this communication.

Please provide exactly one complete number for the tax representative’s fax communication

The complete number is missing from the tax representative contact’s fax communication, or it appears more than once. The check is satisfied when there is exactly one ram:CompleteNumber.

What to do
  1. Locate ram:FaxUniversalCommunication for the tax representative’s contact person.
  2. Make sure it contains exactly one ram:CompleteNumber.
  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 test counts the direct ram:CompleteNumber elements in ram:FaxUniversalCommunication and requires a count of 1.

Where the rule applies

The fax communication of the seller tax representative’s contact person.

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