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).
For an invoice with an invoice line in category Z, there is neither a seller tax registration with ram:ID and schemeID VA or FC, nor a tax representative registration with ram:ID and schemeID VA.
For an invoice with a zero-rated invoice line, the invoice must contain one of the seller or tax representative registrations specified by the test. These identifiers associate the tax registration with the relevant party.
The invoice contains an invoice line in category Z, but the check finds no matching tax identifier for the seller or tax representative. Add one of the eligible registrations.
- Add a seller tax registration with
schemeIDVAorFC, or a tax representative registration withschemeIDVA. - For a seller identifier, check the call to
AddSellerTaxRegistration(...)and the identifier inLegalOrganization.ID. - Generate the invoice again and validate it.
<rsm:CrossIndustryInvoice> <rsm:SupplyChainTradeTransaction> <ram:ApplicableHeaderTradeAgreement> <ram:SellerTradeParty/> </ram:ApplicableHeaderTradeAgreement> </rsm:SupplyChainTradeTransaction> </rsm:CrossIndustryInvoice>
<rsm:CrossIndustryInvoice> <rsm:SupplyChainTradeTransaction> <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)
VA and FC are allowed for the seller; only VA is specified for the tax representative.
Technical details
The XPath passes if a seller ram:SpecifiedTaxRegistration/ram:ID has schemeID VA or FC, or if the corresponding registration of ram:SellerTaxRepresentativeTradeParty has schemeID VA.
The rule applies to invoices containing an invoice line in tax category Z. It checks the tax registrations of the seller and the seller’s tax representative.
rule/@context)assert/@test)