An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63).
At least one invoice line is marked with G for export outside the EU, but both the seller’s VAT identifier and the tax representative’s VAT identifier are missing.
For an invoice line in category G, the seller’s VAT identifier or the seller’s tax representative’s VAT identifier must be provided.
An invoice line is marked with G for export outside the EU, but no VAT identifier for the seller or tax representative is provided. Add either identifier.
- Check the seller identifier in
LegalOrganization.ID. - Add the seller’s VAT identifier using
AddSellerTaxRegistration(...), or provide the tax representative’s VAT identifier. - Make sure the identifier is supplied with
schemeIDVA. - Generate the invoice again and validate it again.
<ram:SellerTradeParty/> <ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">SELLER-VAT</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
LegalOrganization.ID(SellerTradeParty: BT-31; SellerTaxRepresentativeTradeParty: BT-63)FacturXInvoice.AddSellerTaxRegistration(no, schemeID)(BT-31)FacturXInvoice.GetSellerTaxRegistration()(BT-31)FacturXInvoice.GetSellerTaxRepresentativeTaxRegistration()(BT-63)FacturXInvoice.GetShipToTaxRegistration()(BT-63)
Technical details
The test accepts a ram:ID with schemeID VA under either ram:SellerTradeParty or ram:SellerTaxRepresentativeTradeParty.
This rule applies to invoice lines with VAT category G and checks the seller’s or seller’s tax representative’s VAT identifier in the trade party information.
rule/@context)assert/@test)