<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">

        <!-- ============================================================ -->
        <!-- CANADA PENSION PLAN (CPP) PARAMETERS - 2025                   -->
        <!-- ============================================================ -->
        
        <record id="rule_parameter_ca_cpp_rate" model="hr.rule.parameter">
            <field name="name">Canada - CPP Rate</field>
            <field name="code">ca_cpp_rate</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">CPP employee/employer contribution rate</field>
        </record>
        <record id="rule_parameter_ca_cpp_rate_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_cpp_rate"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">0.0595</field>
        </record>

        <record id="rule_parameter_ca_cpp_exemption" model="hr.rule.parameter">
            <field name="name">Canada - CPP Annual Exemption</field>
            <field name="code">ca_cpp_exemption</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">CPP basic exemption amount per year</field>
        </record>
        <record id="rule_parameter_ca_cpp_exemption_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_cpp_exemption"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">3500.00</field>
        </record>

        <record id="rule_parameter_ca_cpp_max" model="hr.rule.parameter">
            <field name="name">Canada - CPP Maximum Annual Contribution</field>
            <field name="code">ca_cpp_max</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Maximum CPP employee contribution per year</field>
        </record>
        <record id="rule_parameter_ca_cpp_max_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_cpp_max"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">4034.10</field>
        </record>

        <!-- ============================================================ -->
        <!-- SECOND CANADA PENSION PLAN (CPP2) PARAMETERS - 2025           -->
        <!-- ============================================================ -->

        <record id="rule_parameter_ca_cpp2_rate" model="hr.rule.parameter">
            <field name="name">Canada - CPP2 Rate</field>
            <field name="code">ca_cpp2_rate</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">CPP2 contribution rate (on earnings above YMPE)</field>
        </record>
        <record id="rule_parameter_ca_cpp2_rate_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_cpp2_rate"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">0.04</field>
        </record>

        <record id="rule_parameter_ca_cpp2_max" model="hr.rule.parameter">
            <field name="name">Canada - CPP2 Maximum Annual Contribution</field>
            <field name="code">ca_cpp2_max</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Maximum CPP2 employee contribution per year</field>
        </record>
        <record id="rule_parameter_ca_cpp2_max_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_cpp2_max"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">396.00</field>
        </record>

        <record id="rule_parameter_ca_ympe" model="hr.rule.parameter">
            <field name="name">Canada - YMPE (CPP Ceiling 1)</field>
            <field name="code">ca_ympe</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Year's Maximum Pensionable Earnings - CPP first ceiling</field>
        </record>
        <record id="rule_parameter_ca_ympe_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_ympe"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">71300.00</field>
        </record>

        <record id="rule_parameter_ca_yampe" model="hr.rule.parameter">
            <field name="name">Canada - YAMPE (CPP Ceiling 2)</field>
            <field name="code">ca_yampe</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Year's Additional Maximum Pensionable Earnings - CPP second ceiling</field>
        </record>
        <record id="rule_parameter_ca_yampe_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_yampe"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">81200.00</field>
        </record>

        <!-- ============================================================ -->
        <!-- EMPLOYMENT INSURANCE (EI) PARAMETERS - 2025                   -->
        <!-- ============================================================ -->

        <record id="rule_parameter_ca_ei_rate" model="hr.rule.parameter">
            <field name="name">Canada - EI Rate</field>
            <field name="code">ca_ei_rate</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">EI employee contribution rate</field>
        </record>
        <record id="rule_parameter_ca_ei_rate_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_ei_rate"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">0.0164</field>
        </record>

        <record id="rule_parameter_ca_ei_max" model="hr.rule.parameter">
            <field name="name">Canada - EI Maximum Annual Premium</field>
            <field name="code">ca_ei_max</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Maximum EI employee premium per year</field>
        </record>
        <record id="rule_parameter_ca_ei_max_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_ei_max"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">1077.48</field>
        </record>

        <record id="rule_parameter_ca_ei_employer_mult" model="hr.rule.parameter">
            <field name="name">Canada - EI Employer Multiplier</field>
            <field name="code">ca_ei_employer_mult</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">EI employer contribution multiplier (1.4x employee)</field>
        </record>
        <record id="rule_parameter_ca_ei_employer_mult_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_ei_employer_mult"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">1.4</field>
        </record>

        <!-- ============================================================ -->
        <!-- FEDERAL TAX PARAMETERS - 2025                                 -->
        <!-- ============================================================ -->

        <record id="rule_parameter_ca_fed_bpa" model="hr.rule.parameter">
            <field name="name">Canada - Federal Basic Personal Amount</field>
            <field name="code">ca_fed_bpa</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Federal basic personal amount (TD1 default)</field>
        </record>
        <record id="rule_parameter_ca_fed_bpa_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_fed_bpa"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">16129</field>
        </record>

        <record id="rule_parameter_ca_fed_cea" model="hr.rule.parameter">
            <field name="name">Canada - Canada Employment Amount</field>
            <field name="code">ca_fed_cea</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Canada Employment Amount for federal tax credit</field>
        </record>
        <record id="rule_parameter_ca_fed_cea_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_fed_cea"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">1433</field>
        </record>

        <record id="rule_parameter_ca_fed_brackets" model="hr.rule.parameter">
            <field name="name">Canada - Federal Tax Brackets</field>
            <field name="code">ca_fed_brackets</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Federal income tax brackets: [(threshold, rate), ...]</field>
        </record>
        <record id="rule_parameter_ca_fed_brackets_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_fed_brackets"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">[(57375, 0.15), (114750, 0.205), (177882, 0.26), (253414, 0.29), (float('inf'), 0.33)]</field>
        </record>

        <!-- ============================================================ -->
        <!-- ONTARIO PROVINCIAL TAX PARAMETERS - 2025                      -->
        <!-- ============================================================ -->

        <record id="rule_parameter_ca_on_bpa" model="hr.rule.parameter">
            <field name="name">Canada Ontario - Basic Personal Amount</field>
            <field name="code">ca_on_bpa</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Ontario basic personal amount</field>
        </record>
        <record id="rule_parameter_ca_on_bpa_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_on_bpa"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">12399</field>
        </record>

        <record id="rule_parameter_ca_on_brackets" model="hr.rule.parameter">
            <field name="name">Canada Ontario - Tax Brackets</field>
            <field name="code">ca_on_brackets</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Ontario income tax brackets: [(threshold, rate), ...]</field>
        </record>
        <record id="rule_parameter_ca_on_brackets_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_on_brackets"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">[(52886, 0.0505), (105775, 0.0915), (150000, 0.1116), (220000, 0.1216), (float('inf'), 0.1316)]</field>
        </record>

        <!-- ============================================================ -->
        <!-- VACATION PAY RATE                                             -->
        <!-- ============================================================ -->

        <record id="rule_parameter_ca_vacation_rate" model="hr.rule.parameter">
            <field name="name">Canada - Vacation Pay Rate</field>
            <field name="code">ca_vacation_rate</field>
            <field name="country_id" ref="base.ca"/>
            <field name="description">Vacation pay percentage (Ontario minimum 4%)</field>
        </record>
        <record id="rule_parameter_ca_vacation_rate_2025" model="hr.rule.parameter.value">
            <field name="rule_parameter_id" ref="rule_parameter_ca_vacation_rate"/>
            <field name="date_from">2025-01-01</field>
            <field name="parameter_value">0.04</field>
        </record>

    </data>
</odoo>
