BR-DE-7

Das Element "Seller contact email address" (BT-43) muss übermittelt werden.

error: the document is invalid

Why it fails

  • The seller contact has no email address: cac:Contact/cbc:ElectronicMail (ram:EmailURIUniversalCommunication/ram:URIID in CII) is missing or empty.

How to fix it

Add an email address to the seller contact, one that someone reads: German public buyers use it for questions about the invoice.

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:ElectronicMail[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:EmailURIUniversalCommunication/ram:URIID[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (CII)