An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46).
For an invoice containing an invoice line in category O, at least one VAT identifier with schemeID VA is present for the seller, tax representative, or buyer. The test requires all three of these VAT identifiers to be absent.
Category O identifies a transaction not subject to VAT. In this case, the rule excludes the VAT identifiers of the seller, tax representative, and buyer.
The invoice contains an invoice line in category O and also a VAT identifier for the seller, tax representative, or buyer. Remove the VAT identifier details that this rule excludes.
- Check whether a VAT identifier with
schemeIDVAis included for the seller, tax representative, or buyer. - Remove the relevant VAT identifier; for the seller, also check
FacturXInvoice.AddSellerTaxRegistration(no, schemeID). - Generate the invoice again and validate it again.
<ram:ApplicableTradeTax> <ram:CategoryCode>O</ram:CategoryCode> </ram:ApplicableTradeTax> <ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">123</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
<ram:ApplicableTradeTax> <ram:CategoryCode>O</ram:CategoryCode> </ram:ApplicableTradeTax>
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
Using three not(...) conditions, the test requires that none of the specified ram:ID elements with schemeID VA occurs in the seller, tax representative, or buyer data.
The rule applies to invoices with at least one invoice line whose VAT category O means not subject to VAT. It checks the VAT identifiers of the seller, tax representative, and buyer.
rule/@context)assert/@test)- 2022-11-152022-11-15 · AddedTests on interference of BR-DE-16 with BR-O-02, BR-O-03, and BR-O-04