An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" 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).
The invoice contains an allowance in category M, but it has neither a seller tax identifier with schemeID VA or FC nor a seller tax representative VAT identifier with schemeID VA.
For an allowance in category M, the invoice must contain at least one of the seller or seller tax representative identifiers allowed by the test.
An allowance in category M is included, but none of the accepted seller or tax representative identifiers is provided. You can add an accepted tax identifier to the invoice.
- Add a
SpecifiedTaxRegistration/IDwithschemeIDVAorFCunderSellerTradeParty, or an ID withschemeIDVAunderSellerTaxRepresentativeTradeParty. - Check
LegalOrganization.IDandTaxRegistration.SchemeID, as well as 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">ES12345678Z</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
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)
For the seller, VA and FC are accepted schemeID values; for the tax representative, only VA is accepted.
Technical details
The test accepts a seller ID with schemeID VA or FC under SellerTradeParty, or an ID with schemeID VA under SellerTaxRepresentativeTradeParty.
The rule applies to the invoice when a document-level allowance in SpecifiedTradeAllowanceCharge uses VAT category M for IPSI.
rule/@context)assert/@test)