BR-DE-6

Das Element "Seller contact telephone number" (BT-42) muss übermittelt werden.

error: the document is invalid

Why it fails

  • The seller contact has no telephone number: cac:Contact/cbc:Telephone (ram:TelephoneUniversalCommunication/ram:CompleteNumber in CII) is missing or empty.

How to fix it

Add a telephone number to the seller contact. Any format passes the rule; the international form (+49 30 1234567) is the safest.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact | /cn:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:Contact
Test
cbc:Telephone[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact
Test
ram:TelephoneUniversalCommunication/ram:CompleteNumber[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (CII)