The group "SELLER CONTACT" (BG-6) shall be transmitted.
The ram:DefinedTradeContact element is missing from ram:SellerTradeParty. As a result, the seller contact group is not provided.
The rule requires the invoice to include the seller contact group.
Your invoice is missing the seller contact group. You can resolve this by providing the seller contact.
- Add the seller contact using
SellerContactorSetSellerContact(...). - Generate the invoice again and validate it again.
<ram:SellerTradeParty/>
<ram:SellerTradeParty> <ram:DefinedTradeContact/> </ram:SellerTradeParty>
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.
The rule applies to the contact details within ram:SellerTradeParty in the invoice header.
rule/@context)assert/@test)