An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" 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).
An invoice line with VAT category Z is present, but the seller or tax representative section lacks one of the tax identifiers allowed by the rule. An ID with schemeID VA or FC is allowed for the seller, or an ID with schemeID VA for the tax representative.
According to the rule text, VAT category Z denotes zero-rated treatment. The invoice must contain one of the specified tax identifiers for the seller or the seller’s tax representative.
The invoice contains an invoice line with VAT category Z, but none of the tax identifiers allowed for it. You can resolve this by providing an eligible identifier for the seller or the seller’s tax representative.
- Check the seller identifier in
LegalOrganization.IDand its identifier type inTaxRegistration.SchemeID. - Add the seller’s tax registration with
AddSellerTaxRegistration(...)if needed. - Alternatively, check the representative’s tax identifier using
GetSellerTaxRepresentativeTaxRegistration(). - Generate the invoice again and validate it.
<rsm:CrossIndustryInvoice> <rsm:SupplyChainTradeTransaction> <ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> </ram:ApplicableTradeTax> </ram:SpecifiedLineTradeSettlement> </ram:IncludedSupplyChainTradeLineItem> <ram:ApplicableHeaderTradeAgreement> <ram:SellerTradeParty/> </ram:ApplicableHeaderTradeAgreement> </rsm:SupplyChainTradeTransaction> </rsm:CrossIndustryInvoice>
<rsm:CrossIndustryInvoice> <rsm:SupplyChainTradeTransaction> <ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> </ram:ApplicableTradeTax> </ram:SpecifiedLineTradeSettlement> </ram:IncludedSupplyChainTradeLineItem> <ram:ApplicableHeaderTradeAgreement> <ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">DE123456789</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty> </ram:ApplicableHeaderTradeAgreement> </rsm:SupplyChainTradeTransaction> </rsm:CrossIndustryInvoice>
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
At document level, the test checks whether at least one matching ram:ID exists under the seller’s or tax representative’s SpecifiedTaxRegistration elements. The rule context limits the check to invoice lines with ram:CategoryCode Z.
The rule applies to invoices with an invoice line whose ApplicableTradeTax contains VAT category Z. It checks the tax registrations of the seller or the seller’s tax representative.
rule/@context)assert/@test)