Provide the seller contact

Error BR-DE-2 XRechnung

The group "SELLER CONTACT" (BG-6) 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 ram:DefinedTradeContact element is missing from ram:SellerTradeParty. As a result, the seller contact group is not provided.

What the rule means

The rule requires the invoice to include the seller contact group.

Affected fields BG-6
Please add the seller contact

Your invoice is missing the seller contact group. You can resolve this by providing the seller contact.

What to do
  1. Add the seller contact using SellerContact or SetSellerContact(...).
  2. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SellerTradeParty/>
✓ Correct
<ram:SellerTradeParty>
  <ram:DefinedTradeContact/>
</ram:SellerTradeParty>
Check in FactoorSharp
  • FacturXInvoice.SellerContact (BG-6)
  • FacturXInvoice.SetSellerContact(name, orgunit, emailAddress, phoneno, faxno) (BG-6)
Technical details

The test checks whether ram:DefinedTradeContact is present as a child element of ram:SellerTradeParty.

Where the rule applies

The rule applies to the contact details within ram:SellerTradeParty in the invoice header.

Original message from the Schematron
Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden.
Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTradeParty
Test expression (assert/@test)
ram:DefinedTradeContact