An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48).
At least one invoice line is marked with K for an intra-community supply. However, either the seller’s or tax representative’s VAT identifier, or the buyer’s VAT identifier, is missing.
For an intra-community supply, the rule requires a VAT identifier for the seller or the seller’s tax representative, as well as the buyer’s VAT identifier.
An invoice line is marked with K for an intra-community supply, but one of the required VAT identifiers is missing. Provide both the seller or tax representative identifier and the buyer identifier.
- Check the seller identifier in
LegalOrganization.ID. - Add the seller’s VAT identifier using
AddSellerTaxRegistration(...), or provide the tax representative’s VAT identifier. - Add the buyer’s VAT identifier using
AddBuyerTaxRegistration(...). - Generate the invoice again and validate it again.
<ram:SellerTradeParty/> <ram:SellerTaxRepresentativeTradeParty/> <ram:BuyerTradeParty/>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">SELLER-VAT</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty> <ram:BuyerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">BUYER-VAT</ram:ID> </ram:SpecifiedTaxRegistration> </ram:BuyerTradeParty>
LegalOrganization.ID(SellerTradeParty: BT-31; SellerTaxRepresentativeTradeParty: BT-63)FacturXInvoice.AddBuyerTaxRegistration(no, schemeID)(BT-48)FacturXInvoice.AddSellerTaxRegistration(no, schemeID)(BT-31)FacturXInvoice.BuyerTaxRegistration(BT-48)FacturXInvoice.GetBuyerTaxRegistration()(BT-48)
Technical details
The test requires a ram:ID with schemeID VA for the seller or tax representative, and additionally a ram:ID with schemeID VA for the buyer.
This rule applies to invoice lines with VAT category K. It checks the VAT identifier of the seller or tax representative and the buyer’s VAT identifier in the trade party information.
rule/@context)assert/@test)