Request for IRPF Withholding (Spain) Implementation in Membership Pro

  • Ultimo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 days 1 hour ago #173390 by Ultimo
Dear JoomDonation team,I am reaching out as a user of Membership Pro, responsible for maintaining a website that uses this component in production, to propose a functionality that is very important in the context of Spanish taxation, which is currently not available in the component.Requirement: IRPF Withholding in SpainIn Spain, self-employed professionals (freelancers) are required to apply IRPF withholding (Personal Income Tax) when invoicing companies or other professionals. This withholding is a direct deduction (commonly 15% or 7%) on the base amount (after applying coupons, if applicable), before VAT is applied.Currently, Membership Pro allows configuring tax rules for VAT very flexibly. However, it does not support negative tax rules (deductions) such as IRPF withholding.Typical Calculation in Spain:Base Amount – IRPF Withholding (on Base) + VAT (on Base) = Total Invoice Amount to ChargeExample:
  • Base amount: €100
  • IRPF withholding (15% on base): –€15
  • VAT (21% on base): +€21
  • Final amount to charge (and to pass to the payment gateway): 100 – 15 + 21 = €106
Feature ProposalI kindly request that you consider implementing this functionality natively in Membership Pro by adding:
  1. Support for negative tax deductions (IRPF withholding) applied to the base amount (after applying discounts/coupons if applicable).
  2. Configuration of customizable withholding percentages (7% / 15% / custom).
  3. Geographic condition, so the withholding applies only to customers from Spain.
  4. Clear display of the withholding breakdown in:
    • Subscription form (frontend).
    • Order details in backend.
    • Invoice generated by Membership Pro.
    • Confirmation email sent after subscription.
  5. Full compatibility with existing VAT tax rules.
Benefits
  • Compliance with Spanish tax regulations for self-employed professionals.
  • Reduces manual calculation errors when issuing invoices.
  • Increases acceptance of Membership Pro in the Spanish market.
  • Saves time for users who need to issue correct invoices with withholding.
Temporary AlternativeI am aware that it is possible to develop a custom plugin to manage this withholding, but I believe this functionality should be integrated natively into Membership Pro, as is done in other subscription or e-commerce systems that support tax deductions.

I am available to collaborate in the detailed definition of this requirement, provide official documentation, and participate in testing if needed.Thank you for your attention, and I look forward to your response.Best regards,

Please Log in or Create an account to join the conversation.