Provide the seller contact's telephone number

Error BR-DE-6 XRechnung

The element "Seller contact telephone number" (BT-42) shall be transmitted.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The seller contact is missing a non-empty value in ram:TelephoneUniversalCommunication/ram:CompleteNumber.

What the rule means

The rule requires a telephone number for the seller contact.

Affected fields BT-42
Please add the seller contact's telephone number

The seller contact is missing a telephone number, or the telephone number field is empty. You can resolve this by adding the number.

What to do
  1. Add the telephone number using Contact.PhoneNo.
  2. If needed, check the telephone parameter of SetSellerContact(...).
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:DefinedTradeContact>
  <ram:TelephoneUniversalCommunication>
    <ram:CompleteNumber/>
  </ram:TelephoneUniversalCommunication>
</ram:DefinedTradeContact>
✓ Correct
<ram:DefinedTradeContact>
  <ram:TelephoneUniversalCommunication>
    <ram:CompleteNumber>+4930123456</ram:CompleteNumber>
  </ram:TelephoneUniversalCommunication>
</ram:DefinedTradeContact>
Check in FactoorSharp
  • Contact.PhoneNo (SellerTradeParty/ DefinedTradeContact: BT-42)
  • FacturXInvoice.SetSellerContact(name, orgunit, emailAddress, phoneno, faxno) (phoneno: BT-42)
Technical details

The test requires ram:CompleteNumber to contain a value that is non-empty after leading and trailing whitespace is removed.

Where the rule applies

The rule applies to the telephone details in the seller's ram:DefinedTradeContact.

Original message from the Schematron
Das Element "Seller contact telephone number" (BT-42) muss übermittelt werden.
Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTradeParty/ram:DefinedTradeContact
Test expression (assert/@test)
ram:TelephoneUniversalCommunication/ram:CompleteNumber[boolean(normalize-space(.))]