Provide the tax representative contact’s telephone number

Error FX-SCH-A-000762 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:TelephoneUniversalCommunication, or it does not occur exactly once. The telephone communication must contain exactly one ram:CompleteNumber element.

What the rule means

ram:CompleteNumber contains the complete telephone number. The rule requires exactly one such element in the contact’s telephone communication.

Please add the tax representative contact’s telephone number

The tax representative contact’s ram:TelephoneUniversalCommunication is missing ram:CompleteNumber, or the element appears more than once. Exactly one element is required here.

What to do
  1. Ensure that ram:TelephoneUniversalCommunication contains exactly one ram:CompleteNumber element.
  2. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:TelephoneUniversalCommunication/>
✓ Correct
<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>+33123456789</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
Technical details

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

Where the rule applies

The rule applies to ram:TelephoneUniversalCommunication in the defined contact of the seller’s tax representative.

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