An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
For this allowance, one of the permitted seller identifiers is missing: a tax registration ID with schemeID VA or FC, or the tax representative’s VAT identifier with schemeID VA.
For an allowance with category E, at least one of the checked tax identifiers of the seller or the seller’s tax representative must be present.
A VAT-exempt allowance with category E is present, but a permitted seller identifier is missing. You can add an identifier for the seller or the applicable identifier for the tax representative.
- Add a seller tax registration ID with
VAorFC, or a tax representative VAT identifier withVA. - Use
AddSellerTaxRegistration(...)for the seller identifier and check the applicable entry usingLegalOrganization.IDorTaxRegistration.SchemeID. - Check the tax representative identifier using
GetSellerTaxRepresentativeTaxRegistration(). - Generate the invoice again and validate it again.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:CategoryTradeTax> <ram:CategoryCode>E</ram:CategoryCode> </ram:CategoryTradeTax> <ram:SellerTradeParty/> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:CategoryTradeTax> <ram:CategoryCode>E</ram:CategoryCode> </ram:CategoryTradeTax> <ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">SELLER-VAT</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty> </ram:SpecifiedTradeAllowanceCharge>
LegalOrganization.ID(SellerTradeParty: BT-31; SellerTradeParty: BT-32; SellerTaxRepresentativeTradeParty: BT-63)TaxRegistration.SchemeID(For Seller VAT identifier: BT-31; For Seller tax registration identifier: BT-32)FacturXInvoice.AddSellerTaxRegistration(no, schemeID)(BT-31)FacturXInvoice.GetSellerTaxRegistration()(BT-31)FacturXInvoice.GetSellerTaxRepresentativeTaxRegistration()(BT-63)
Technical details
The test accepts either a ram:ID under ram:SellerTradeParty with schemeID VA or FC, or a ram:ID under ram:SellerTaxRepresentativeTradeParty with schemeID VA.
The rule applies to a document-level allowance identified as an allowance by ram:ChargeIndicator and as VAT-exempt by ram:CategoryCode with E.
rule/@context)assert/@test)