An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63).
The invoice contains an allowance in category G, but no seller or seller tax representative VAT identifier with schemeID equal to VA is provided.
For an allowance in category G, the invoice must contain the seller’s VAT identifier or the VAT identifier of the seller’s tax representative.
An allowance for export outside the EU is included, but the required VAT identifier is missing. You can provide the seller’s VAT identifier or that of the seller’s tax representative.
- Add a
SpecifiedTaxRegistration/IDwithschemeIDequal toVAunderSellerTradePartyorSellerTaxRepresentativeTradeParty. - Check the entry through
LegalOrganization.IDor theAddSellerTaxRegistration(...)call. - Generate the invoice again and validate it again.
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">123</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">DE123456789</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
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
The test requires at least one SpecifiedTaxRegistration/ID with schemeID equal to VA, either under SellerTradeParty or under SellerTaxRepresentativeTradeParty.
The rule applies to the invoice when a document-level allowance in SpecifiedTradeAllowanceCharge uses VAT category G for export outside the EU.
rule/@context)assert/@test)