
The tax deduction for employer-sponsored pension plans seems like a simple calculation. A company contributes 3,000 euros per employee and expects to claim a deduction of 300; when it files its taxes, it discovers that the salaries of some of its employees have eaten up a significant portion of that amount.
And there’s a reason for that. Article 38-ter of the Corporate Income Tax Law sets that deduction at 10 percent, but reduces the base amount once the employee’s gross annual compensation reaches 27,000 euros.
In 30 seconds: the key points of this article
- The 10% rate applies in full only when an employee’s gross annual compensation is less than 27,000 euros. Above that amount, the basis for the deduction decreases proportionally: a uniform policy for the entire workforce yields different results depending on each employee’s salary.
- The actual savings are not simply the sum of percentages. The 10% deduction coexists with the deductibility of the expense, the higher contribution resulting from the tax, and a possible reduction in the tax liability: the net result is determined in the final tax assessment, not by simply adding up the rates.
- Before approving the measure, three specific details must be determined: cost per employee, the basis for calculating annual gross compensation, and who is responsible for each obligation (corporate tax, personal income tax, Form 345, Social Security).
- The deduction may be correctly calculated but not fully included in the tax liability for the fiscal year: it is subject to the aggregate limit set forth in Article 39, with the balance carried forward to subsequent fiscal years.
- For the employee, the contribution is not tax-exempt: it is generally considered compensation in kind, although it may reduce the employee’s taxable income within the limits set by social security regulations.
Furthermore, the calculation does not end with corporate income tax. That same tax reemerges in deductible expenses, in the employee’s personal income tax, on Form 345, and in Social Security contributions: four areas that rarely apply the same criteria.
It is therefore advisable to finalize four decisions before approving the plan: which instrument to use, which employee the contribution applies to, what the employee’s gross annual compensation is, and what portion of the deduction can be covered by the contribution for the fiscal year.
We answer this question in this article
Toggle- What deduction does Article 38-ter of the LIS allow?
- What does it mean for the contribution to be attributed to the employee?
- What should be included in the annual gross compensation?
- How should variables, partial hires, and reduced workweeks be handled?
- How is the deduction calculated?
- Is a corporate contribution a tax-deductible expense?
- What is the difference between a deductible expense and a tax deduction?
- What general limitations apply to the deduction?
- Who is required to file Form 345?
- Are employer contributions subject to Social Security taxes?
- What kind of fee reduction can the company offer?
- What documentation must the company keep on file?
- What should a company consider before implementing contributions?
- Common Mistakes When Claiming the Deduction
- Frequently Asked Questions About the Deduction
What deduction does Article 38-ter of the LIS allow?
Simply funding a retirement plan for non-active employees does not, in and of itself, trigger the tax deduction for employer-sponsored pension plans. The regulation requires an employer contribution attributed to the employee and made to one of the expressly authorized plans.
The company may deduct 10% of the employer contributions for employees with gross annual compensation of less than 27,000 euros.
For compensation equal to or greater than this amount, the deduction is calculated based on the proportional portion of the contribution corresponding to compensation of 27,000 euros.
Article 38-ter covers employer contributions made to:
- Employer-sponsored pension plans: plans established by a company or organization for the benefit of its employees.
- Corporate social welfare plans: group insurance contracts that meet the conditions established by tax regulations.
- Plans governed by Directive (EU) 2016/2341: occupational pension funds established in other Member States that meet the legal requirements.
- Social welfare mutual funds: investment vehicles in which the company acts as the sponsor and the contribution is charged to the employee.
What does it mean for the contribution to be attributed to the employee?
To attribute a corporate contribution means to assign it for tax purposes to the specific individual on whose behalf it is made. If that attribution cannot be traced back to an identifiable employee, the case file is missing a key piece of information and must be reconstructed using the plan’s documentation, payroll records, company records, and tax information.
The charge has different but related consequences:
ScopeConsequenceWhat Must Be ProvenCorporate Income TaxIt allows you to verify the expense and the deduction under Article 38-ter.Eligible program, amount, and beneficiary employee.Personal Income TaxThe contribution is generally considered compensation in kind.Tax Allocation and Deduction Limits.Model 345The contribution must be reported in the corresponding calendar year.Declarant’s ID, code, subcode, and amount.Social SecurityThe contribution is linked to the employee and the payroll period.Individual notification and payroll entry.
What should be included in the annual gross compensation?
The annual gross compensation used to compare against the 27,000-euro threshold includes all total compensation—both monetary and in kind—accrued by the employee during the fiscal year, before withholdings and deductions.
That threshold does not limit what the company can contribute; it merely determines whether the entire contribution is included in the basis for the deduction or whether the proportional rule must be applied.
Article 38-ter uses the term “gross annual compensation,” but does not provide a specific definition for this incentive.
- Base salary: amount earned during the fiscal year.
- Salary supplements: seniority, responsibility, availability, position, or other compensation components.
- Special pay: whether or not they are prorated.
- Variable compensation: bonuses, commissions, and incentives earned.
- Compensation in kind: valued in accordance with applicable tax rules.
- Wage arrears: when they should be allocated to the fiscal year used to calculate the deduction.
Exempt allowances and items that are strictly non-wage should not be included automatically. Per diems, travel expenses, transportation allowances, and other allowances must be reviewed to determine their actual nature.
How should variables, partial hires, and reduced workweeks be handled?
A bonus paid at year-end, a new hire in July, or a reduction in working hours affect the annual gross compensation and, consequently, the basis for the deduction. In all three cases, the same conservative approach applies: use the compensation actually earned during the fiscal year, without annualizing or estimating it.
AssumptionWhat NOT to DoWhat to WearVariable compensationSet the amount based on an estimated bonus.The amount ultimately accrued, adjusted at year-end.Enrollment or WithdrawalConvert the salary to a 12-month basis.Amounts earned during the period worked.Short workdayRaise the full-time salary.Earnings for the actual workday.
Article 38-ter does not establish an explicit rule for annualization; therefore, this criterion must be documented as a reasonable method—not as a literal provision of the law—and applied uniformly to all comparable cases.
Example of partial incorporation
An employee starts work on July 1 and earns 18,000 euros through the end of the period. In accordance with the conservative approach outlined, the reference amount would be 18,000 euros, not a theoretical annualized compensation of 36,000 euros. The hire date, pay periods, and the calculation used should make it possible to reconstruct the decision.
How is the deduction calculated?
An average headcount can simplify the budget, but it cannot be used to calculate this deduction. When total compensation reaches 27,000 euros, the calculation changes and must be performed on a per-employee basis.
Income of less than 27,000 euros
When the annual gross compensation is less than 27,000 euros, the basis for the deduction includes the entire eligible employer contribution.
Formula: taxable employer contribution × 10%.
If a company contributes 3,000 euros annually on behalf of an employee who earns 25,000 euros, the resulting deduction amounts to 300 euros before applying the general limits.
Compensation equal to or greater than 27,000 euros
When the gross annual compensation is equal to or greater than 27,000 euros, the company must proportionally reduce the contribution base.
Formula: [taxable employer contribution × (27,000 ÷ annual gross pay)] × 10%.
For a worker who earns exactly 27,000 euros, the proportion is 100 percent. The result is economically equivalent to that for wages below the threshold.
Example with a monthly contribution of 250 euros
A company contributes 250 euros per month to an employer-sponsored pension plan. The annual contribution amounts to 3,000 euros per employee.
Annual Gross CompensationAnnual contributionBasis for the deductionDeduction generated25.000 €3.000 €3.000 €300 €27.000 €3.000 €3.000 €300 €30.000 €3.000 €2.700 €270 €40.000 €3.000 €2.025 €202,50 €60.000 €3.000 €1.350 €135 €
The average wage may obscure precisely the difference that reduces the incentive. Article 38-ter requires that each worker’s contribution be linked to their compensation.
Before committing to a fixed contribution, run a simulation for each group
A uniform policy can have different tax implications depending on salary and the available contribution quota. Before adopting it, it is advisable to simulate the cost by pay grade and review payroll and Social Security contributions. Our team can analyze the tax structure of employer contributions.
Pre-implementation simulation identifies these differences while they can still be corrected, before the contribution becomes a permanent business obligation.
Is a corporate contribution a tax-deductible expense?
The same contribution can have two distinct tax effects: reducing the tax base as an expense and lowering the tax liability under Article 38 ter. Each effect occurs at a different stage and requires its own justification.
Contributions attributed to employees will generally be deductible when they meet the applicable accounting and tax requirements:
- Accounting: The expense must be recorded in the corresponding fiscal year.
- Accrual: The timing of recognition must correspond to the point in time when the obligation arises.
- Reason: The company must retain contracts, certificates, pay stubs, and supporting documents.
- Individual allocation: Contributions must be linked to the individuals who are entitled to the benefits.
- Irrevocability: The employee must acquire the right under the terms specified in the instrument.
- Outsourcing: Ownership and management of resources must be transferred when required by regulations.
- Compensation Reality: The contribution must be based on an actual obligation or company policy.
An accounting entry does not convert an internal provision into a tax-deductible expense. Pension obligations must be analyzed in accordance with the specific rules of the Corporate Income Tax Law (LIS).
What is the difference between a deductible expense and a tax deduction?
Confusing these two concepts distorts the calculation of savings and also the evidence needed to support it.
ConceptWhere it operatesKey RequirementsCommon riskTax-Deductible ExpenseIt reduces the taxable base.Recording, Accrual, Justification, and Allocation.Deduct an internal allocation or an unaccounted-for amount.Deduction under Article 38-terIt reduces the total tax liability.Accepted instrument, individual calculation, and limits under Article 39.Apply 10% to the entire contribution, regardless of salary.Income Tax ReductionIt reduces the employee’s overall taxable income.Supported system, allocation, and personal limits.Report the contribution as tax-exempt income.Contribution ReductionIt reduces part of the employer’s contribution.Instrument included, communication, and maximum limit.Confusing a reduction with an exemption from premium payments.
Adding the corporate income tax rate and 10% to a contribution of 3,000 euros may inflate the estimate. The taxable base, the available tax credit, and the combined limits determine the actual result.
The net effect is only visible when the components are listed with their signs. The following chart breaks them down for an annual contribution of 3,000 euros per employee earning less than 27,000 euros. The amounts for contribution costs and benefits depend on the contribution bases and rates for the fiscal year and on each employee’s individual circumstances; therefore, they are listed as categories rather than specific amounts.
ComponentEffectWhere it operatesApproximate price (3,000 €)Deductible expenseSavings (+)It reduces the corporate income tax base.The amount is converted into a lower installment at the rate applicable to the company.Deduction under Article 38-terSavings (+)It reduces the total tax liability.300 € (10% of 3,000), before the deadline specified in Article 39.Contribution AmountCost (−)The contribution is included in the contribution base.Higher employer contribution on the allocated amount, based on the tax base and rate for the fiscal year.Contribution Reduction (Article 47 of the General Social Security Law)Savings (+)It reduces the employer’s contribution for common contingencies.It offsets part of the previous cost, up to a monthly limit per worker (see the section on contributions).Net incomeTo be calculatedThe sum of the above effects on the full settlement.It is not the direct sum of percentages: it must be calculated on a case-by-case basis.
The sign of each row is fixed; its amount is not. That is why the same contribution can be clearly advantageous or barely neutral, depending on the employee’s salary, the company’s available contribution quota, and the contribution bases for the fiscal year.
What general limitations apply to the deduction?
The deduction may be calculated correctly, yet it may not be fully included in the tax liability for the fiscal year.
Article 39 of the LIS subjects the deductions under Chapter IV to a combined limit. As a general rule, the amount applied may not exceed 25% of the total tax liability, reduced by deductions for international double taxation and tax credits.
The limit may be increased to 50% when certain conditions related to deductions for research, development, technological innovation, and audiovisual productions are met. The deduction under Article 38-ter does not, in and of itself, increase that percentage.
Amounts that cannot be claimed may generally be carried forward to the 15 immediately following tax periods. It is therefore advisable to monitor four figures per fiscal year to determine which portion of the deduction is used and which portion remains in reserve.
MagnitudeWhat isIllustrative ExampleDeduction generatedTotal deduction calculated for each employee during the fiscal year.1.200 €Available LimitCap under Article 39 (generally, 25% of the reduced total tax liability), after subtracting other deductions that are subject to the same limit.800 €Deduction AppliedAmount actually used in the reverse charge mechanism: the lesser of the amount generated and the available limit.800 €Outstanding BalanceA difference carried forward to subsequent fiscal years, with the year of origin used to determine the expiration date.400 €
Losses, tax loss carryforwards, tax credits, or other incentives may leave part of the deduction unused, as shown in the example. Monitoring the year in which the deduction was generated is therefore no longer a secondary task: it determines the deadline by which the carried-forward balance can be applied.
Who is required to file Form 345?
Form 345 converts individual tax returns into annual tax information. It lists participants, contributions, and payments to pension plans, pension funds, and other social security systems.
In the typical case of a company that sponsors a pension plan and makes contributions on behalf of its employees, the company must file Form 345 with the required information. The general filing deadline is from January 1 through January 31 for the previous calendar year.
The company is not necessarily the sole party liable under all instruments. Depending on the structure of the system, liability may rest with the sponsor, the manager, a mutual fund, an insurer, or the policyholder.
Before filing the return, the company and the managing entity or insurer should reconcile the individuals, amounts, and allocation dates. This review helps prevent omissions, discrepancies, and duplications.
What information must be reported?
The content depends on the applicable key and subkey, but it must allow for the identification of the beneficiary, the system, and the amount corresponding to the calendar year.
- Identification of the declarant: Tax ID number, first name, and last name.
- Key and subkey: nature of the system and of the contribution.
- Annual amount: the amount contributed during the calendar year.
- Sponsor or system: additional data required by the study design.
- Allocation Exercise: The year in which the contribution is attributed to the employee for tax purposes.
The AEAT has clarified that contributions must be reported in the calendar year in which they are recognized for tax purposes. A December contribution recognized as income for that month is included on the tax return for that same year, even if the financial transaction is completed later.
Are employer contributions subject to Social Security taxes?
A reduction in contribution rates does not make the contribution an amount separate from payroll. Employer contributions are part of the contribution base in accordance with the general rules applicable to remuneration in cash and in kind.
The existence of an employer reduction does not preclude the employee’s contribution. The employer includes the amount in the contribution and, when the requirements are met, reduces the portion of the employer’s premium for common contingencies that is directly linked to the employee’s contribution.
PhaseTreatmentConsequenceContribution BaseThe contribution is included in the tax base within the applicable limits.Increase the base amount for the employee.Calculation of the payment amountThe base increase results in a higher tax payment.The standard contribution is calculated.Business DownsizingThe premium for general contingencies derived from the contribution may be reduced.The benefit is capped at the maximum amount allowed by law.
Describing the contribution as an amount that is “not subject to social security contributions” confuses the tax base with the taxable income used to calculate the tax.
What kind of fee reduction can the company offer?
The forty-seventh supplementary provision of the General Social Security Law provides for a 100% reduction in the employer’s contribution for common contingencies resulting exclusively from the increase in the contribution amount generated by the employer’s contribution, subject to a maximum monthly amount per worker, and without such reduction excluding the contribution from the contribution base.
In other words: the company first pays the contribution, and then, if it meets the requirements, it recovers only the portion of the employer’s share that was increased by that same amount, up to the legal limit.
The maximum amount of the monthly contribution to which the reduction applies is calculated using the formula set forth in the additional provision itself, based on the minimum daily base for Group 8 and the general employer rate for common contingencies.
The company should verify each fiscal year the guidelines, rates, and operating instructions published by the General Treasury of Social Security.
- Eligible contribution: The contribution must have been made to an instrument included in the regulation.
- Individual identification: The amount must be linked to each employee.
- Prior notification: The information must be submitted via the RED System before the final calculation is made.
- Company Application: The benefit is granted at the company’s request.
- General requirements: The conditions for eligibility for benefits based on contributions must be met.
- Good standing: The company must be up to date with its Social Security payments.
Tax policy fails if payroll data tells a different story
A carefully calculated corporate income tax payment can lead to issues if personal income tax, Form 345, and the RED System apply different criteria. Carrillo can integrate the tax review with a labor-law analysis of the measure.
Coordination becomes critical when contributions vary by category, workplace, or level of responsibility: every difference must be accurately reflected in the agreement, the payroll, the contribution, and the tax return.
What documentation must the company keep on file?
An audit does not merely examine the final result. The audit file must make it possible to reconstruct the system’s design, the contribution made, and the tax and labor-related effects that were implemented.
- Plan regulations or specifications: These document the nature of the instrument and the status of the sponsor.
- Company or collective agreement: Explain the source and terms of the contribution.
- Employee enrollment: Provide proof of enrollment when required.
- List of beneficiaries: Identifies the individuals for whom contributions are made.
- Monthly breakdown of contributions: Shows the amount and the allocation period.
- Annual gross compensation: lists the components included and the calculation method.
- Pay stubs and tax certificates: These documents serve as proof that the income is classified as earned income.
- Proof of payment: evidence of an actual contribution to the system.
- Certificates from the management company: These reconcile the amounts with the company’s records.
- Accounting entries: They document expenses, accruals, and their correspondence with payments.
- Form 345: certifies the tax information reported.
- Communications via the RED System: justification for the request to reduce fees.
- Calculation under Article 38-ter: Shows the compensation, the percentage, and the deduction per employee.
- Article 39 Check: Identifies the deduction applied and any outstanding balances.
The spreadsheet organizes the calculations, but it does not verify them. Each figure should correspond to a pay stub, a certificate, an entry, or a statement.
What should a company consider before implementing contributions?
The 10% is an incentive, not a compensation policy. Before implementing it, the company must assess the tax benefit along with labor costs and operational complexity.
- Define the objective. Determine whether the measure relates to collective bargaining, pension commitments, talent retention, or employee benefits.
- Select the instrument. Confirm that it complies with applicable regulations and is covered by Article 38-ter.
- Determine the target group. Identify the eligible employees and justify any differences between groups.
- Regulate contributions. Establish the amount, frequency, and procedures for new enrollments, withdrawals, and suspensions.
- Calculate per employee. Use a consistent annual gross compensation amount and apply the proportional rule.
- Simulate the tax. Separate the deductible expense from the deduction and check Article 39.
- Review the income tax return. Define the allocation, the reduction of the tax base, and the estimated tax payment.
- Set up payroll. Include compensation in kind and the correct contribution.
- Assign Form 345. Determine what information each party is reporting.
- Set up the RED system. Report tax payments before requesting a tax refund.
- Document the criteria. Establish rules for variables, partial enrollment, and reduced class hours.
- Review the employment framework. Check the collective bargaining agreement and internal agreements.
If monthly administration, adjustments, and document control consume more resources than the incentive provides, the decision no longer makes economic sense. The design must align with a sustainable business policy.
Common Mistakes When Claiming the Deduction
Multiplication is rarely the problem. Errors arise from the salary used, the method chosen, the allocation, and the requirements surrounding the calculation.
- Apply 10% to the entire contribution: for salaries equal to or greater than 27,000 euros, the proportional rule must be used.
- Exclude variable compensation: the base salary may not represent the entire annual compensation.
- Automatically annualize a new hire’s salary: The law does not establish an explicit rule for adjusting the salary to a twelve-month basis.
- Converting a part-time position to a full-time position: The theoretical pay does not necessarily replace the actual pay.
- Confusing expenses with deductions: They operate at different stages and are subject to different requirements.
- Using a tool not included: A one-time payment or individual product does not constitute an employment plan.
- Report the contribution as tax-exempt income: it is generally considered income in kind from employment.
- Stating that the contribution is not subject to social security contributions: The reduction does not eliminate its inclusion in the tax base.
- Assume that the company always files the return: Who is required to file Form 345 depends on the financial instrument.
- File based on the bank date: The form is based on the calendar year for tax purposes.
- Ignore the limit set forth in Article 39: the deduction may remain fully or partially outstanding.
Close the criteria before the first contribution
A preliminary review allows you to verify tax savings, social security contribution costs, reporting obligations, and differences among employee groups before the measure results in binding commitments. Carrillo Asesores can coordinate the tax and labor analysis.
The decision should not be finalized until all outstanding questions have been resolved. When compensation policy, tax settlement, and document management are established before contributions are made, the incentive can be justified without having to revise the criteria after the fact.
Frequently Asked Questions About the Deduction
These answers summarize the issues that most commonly lead to problems when calculating and documenting the incentive.
Can the company deduct 10% of the total amount contributed?
Not always. The company applies the 10% rate to the entire taxable contribution when the gross annual compensation is less than 27,000 euros. If the compensation is equal to or greater than that amount, the taxable base is reduced in proportion to the 27,000-euro threshold. The requirements regarding the investment vehicle and the allocation must also be met.
What happens if the employee earns exactly 27,000 euros?
The base is equal to the entire taxable contribution, because the ratio of 27,000 euros to earnings of 27,000 euros is equal to one. This scenario is literally covered by the rule established for earnings equal to or greater than the threshold.
What salary should be used if the employee receives a bonus?
As a prudent approach, the total gross compensation accrued during the fiscal year—including variable pay—should be used, since Article 38 ter does not provide a specific definition of the term. The company may make a provisional calculation and adjust it once the final bonus amount is known. The criteria applied must be consistent and properly documented.
Should the salary of an employee hired midyear be annualized?
Article 38-ter does not establish an explicit rule regarding annualization. In the absence of specific legal guidance, it is prudent to use the compensation actually earned during the period worked and to document the rationale. Specific cases should be reviewed on a case-by-case basis.
Should the full-time equivalent salary be calculated?
There is no explicit rule requiring that compensation be adjusted to a full-time equivalent. The prudent approach is to base the calculation on the actual compensation earned. The company must apply the same rule to all comparable employees.
Is the contribution also a deductible expense?
It may be. The expense must meet the applicable accounting and tax requirements, including individual allocation where applicable. The expense reduces the taxable base, while the deduction under Article 38-ter reduces the total tax liability.
Can the deduction be applied in full during the tax year?
It depends on the tax liability and the aggregate limit set forth in Article 39. Generally speaking, deductions under Chapter IV may not exceed 25% of the total tax liability, reduced by certain deductions and tax credits. Any remaining amounts may be carried forward for 15 tax periods.
Is the contribution exempt from the employee’s personal income tax?
No. The contribution is generally considered income in kind. The employee may reduce their taxable income within the limits and requirements of the Personal Income Tax Law (LIRPF). The absence of an estimated tax payment does not change this classification.
Is the company required to make estimated tax payments?
In general, there is no obligation to make payments on account for contributions listed in Article 102.2 of the Personal Income Tax Regulations that reduce the taxable base. The exception must be verified based on the specific instrument used. The company must, however, correctly report the compensation and the tax allocation.
Who files Form 345?
In the typical case of a company sponsoring an employer-sponsored pension plan, the company is responsible for filing Form 345 for the contributions it is required to report. This is not a universal requirement: in other systems, the obligation may fall on the fund manager, the mutual insurance company, the insurer, or the policyholder, depending on the structure of the plan. The parties must coordinate the information to avoid omissions and duplications.
Are these contributions subject to Social Security taxes?
Yes. Employer contributions are included in the contribution base in accordance with applicable rules. Any employer reduction applies to the contribution for common contingencies and does not eliminate that inclusion.
What documents must the company keep?
It must retain the documentation for the instrument, the list of employees, the amounts allocated, the compensation amounts used, the pay stubs, the payments, the accounting records, Form 345, the reports submitted to Social Security, and the calculation of the deduction.
Regulatory References and Official Sources
Regulations and administrative criteria used to review the tax, reporting, and contribution treatment of employer contributions.
- Law 27/2014 on Corporate Income Tax, Article 38-ter. This article governs the deduction for employer contributions to social welfare systems.
- Law 27/2014 on Corporate Income Tax, Article 39. This article establishes the general rules and limits on the application of deductions.
- Law 35/2006 on Personal Income Tax. It regulates the classification of contributions and deductions related to social security systems.
- Personal Income Tax Regulations, Article 102. This article governs payments on account for compensation in kind.
- Tax Agency: Form 345. Information, regulations, and procedures for the annual tax return.
- Explanatory note from the AEAT regarding Form 345. It specifies the calendar year to which the contributions are allocated.
- General Social Security Law. This law regulates the contribution base and the reduction in contributions related to certain employer contributions.
- Law 12/2022, on the Promotion of Employer-Sponsored Pension Plans. It introduced tax incentives and measures related to contributions.
This article is for informational purposes only and does not constitute personalized tax or employment advice. Specific application depends on the system used, the configuration of contributions, the situation of the company and each employee, the tax rate for the fiscal year, and the regulations in effect during the period analyzed.