BR-DE-5

Das Element "Seller contact point" (BT-41) muss übermittelt werden.

error: the document is invalid

Why it fails

  • The seller contact has no name: cac:Contact/cbc:Name is empty or missing (in CII neither ram:PersonName nor ram:DepartmentName is given).

How to fix it

Name a person or a department the buyer can contact about the invoice, such as "Accounts receivable".

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:Name[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:PersonName,ram:DepartmentName)[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (CII)