chore(default-data): refresh salary components and leave types from accountant

Updated bookkeeper-supplied master data:
- leave_types.json: leave types restructured per AZ Labor Code articles
  (Maddə 95, 130.e, 143.1.4, …) — names now reference statute, flags
  adjusted accordingly.
- salary_components.json: "Keyfiim bonusu" renamed to "Premiya";
  obsolete disabled components removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-05-01 12:48:15 +00:00
parent 408bacfc84
commit eef0c82032
2 changed files with 393 additions and 201 deletions

View File

@ -1,95 +1,17 @@
[
{
"leave_type_name": "Ödənişsiz məzuniyyət",
"leave_type_name": "Kompensasiya istirahəti (Maddə 95)",
"max_leaves_allowed": 0,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 1,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişli məzuniyyət",
"max_leaves_allowed": 21,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 1,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"allow_over_allocation": 1,
"include_holiday": 0,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 1,
"max_encashable_leaves": 21,
"non_encashable_leaves": 0,
"earning_component": "Məzuniyyət Kompensasiyası",
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Xəstəlik vərəqəsi",
"max_leaves_allowed": 0,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Məzuniyyət kompensasiyası",
"max_leaves_allowed": 0,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 1,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
@ -102,5 +24,395 @@
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Xəstəlik vərəqi (Maddə 143.1.4)",
"max_leaves_allowed": 0,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 1,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - ərazi müdafiəsi (Maddə 130.e)",
"max_leaves_allowed": 14,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 1,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": "Məzuniyyət Kompensasiyası",
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - müharibə veteranları (Maddə 130.d)",
"max_leaves_allowed": 14,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - əlillər (Maddə 130.ç)",
"max_leaves_allowed": 30,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - uşağı olan qadınlar (Maddə 130.c)",
"max_leaves_allowed": 14,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - ata doğuş zamanı (Maddə 130.b)",
"max_leaves_allowed": 14,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Ödənişsiz məzuniyyət - ümumi (Maddə 128-130)",
"max_leaves_allowed": 180,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 1,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Övladlığagötürmə məzuniyyəti (Maddə 126)",
"max_leaves_allowed": 56,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Uşağa qulluq məzuniyyəti (Maddə 127)",
"max_leaves_allowed": 1095,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Hamiləliyə və doğuşa görə məzuniyyət (Maddə 125)",
"max_leaves_allowed": 126,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Təhsil məzuniyyəti - ödənişli (Maddə 123-124)",
"max_leaves_allowed": 0,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 0,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 1,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Əlavə məzuniyyət - uşaqları olan qadınlar (Maddə 117)",
"max_leaves_allowed": 5,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 1,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Əlavə məzuniyyət - əmək stajı (Maddə 116)",
"max_leaves_allowed": 6,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 1,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "Əlavə məzuniyyət - əmək şəraiti (Maddə 115)",
"max_leaves_allowed": 6,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 1,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 1,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 0,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 0,
"max_encashable_leaves": 0,
"non_encashable_leaves": 0,
"earning_component": null,
"is_earned_leave": 0,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "",
"doctype": "Leave Type"
},
{
"leave_type_name": "İllik ödənişli məzuniyyət (Maddə 114)",
"max_leaves_allowed": 21,
"applicable_after": 0,
"max_continuous_days_allowed": 0,
"is_carry_forward": 1,
"is_lwp": 0,
"is_ppl": 0,
"fraction_of_daily_salary_per_leave": 0,
"is_optional_leave": 0,
"allow_negative": 0,
"allow_over_allocation": 0,
"include_holiday": 0,
"is_compensatory": 0,
"maximum_carry_forwarded_leaves": 21,
"expire_carry_forwarded_leaves_after_days": 0,
"allow_encashment": 1,
"max_encashable_leaves": 21,
"non_encashable_leaves": 0,
"earning_component": "Məzuniyyət Kompensasiyası",
"is_earned_leave": 1,
"earned_leave_frequency": "Monthly",
"allocate_on_day": "Last Day",
"rounding": "0.5",
"doctype": "Leave Type"
}
]

View File

@ -1,6 +1,6 @@
[
{
"salary_component": "Keyfiim bonusu",
"salary_component": "Premiya",
"salary_component_abbr": "KB",
"type": "Earning",
"description": null,
@ -34,126 +34,6 @@
}
]
},
{
"salary_component": "Gəlir vergisi (yalnız işçi)",
"salary_component_abbr": "GV_1",
"type": "Deduction",
"description": "Gəlir vergisi",
"depends_on_payment_days": 0,
"is_tax_applicable": 0,
"deduct_full_tax_on_selected_payroll_date": 0,
"variable_based_on_taxable_salary": 0,
"is_income_tax_component": 1,
"exempted_from_income_tax": 0,
"round_to_the_nearest_integer": 0,
"statistical_component": 0,
"accrual_component": 0,
"do_not_include_in_total": 0,
"do_not_include_in_accounts": 0,
"remove_if_zero_valued": 1,
"arrear_component": 0,
"disabled": 1,
"condition": null,
"amount": 0,
"amount_based_on_formula": 1,
"formula": "(\n (base - 200) * 0.03 if base <= 2500\n else (75 + (base - 2500) * 0.10 if base <= 8000\n else 625 + (base - 8000) * 0.14)\n)\nif getdate(start_date).year >= 2026\nelse 0",
"is_flexible_benefit": 0,
"payout_method": "",
"final_cycle_accrual_payout": 0,
"max_benefit_amount": 0,
"doctype": "Salary Component",
"accounts": []
},
{
"salary_component": "DSMF (xərc şirkət)",
"salary_component_abbr": "DSMF-XŞ",
"type": "Earning",
"description": "DSMF tutulması şirkətdən (22%)",
"depends_on_payment_days": 0,
"is_tax_applicable": 0,
"deduct_full_tax_on_selected_payroll_date": 0,
"variable_based_on_taxable_salary": 0,
"is_income_tax_component": 0,
"exempted_from_income_tax": 0,
"round_to_the_nearest_integer": 0,
"statistical_component": 0,
"accrual_component": 0,
"do_not_include_in_total": 1,
"do_not_include_in_accounts": 0,
"remove_if_zero_valued": 1,
"arrear_component": 0,
"disabled": 1,
"condition": null,
"amount": 0,
"amount_based_on_formula": 1,
"formula": "200 * 0.22 if base <= 200 else 44 + (base - 200) * 0.15",
"is_flexible_benefit": 0,
"payout_method": "",
"final_cycle_accrual_payout": 0,
"max_benefit_amount": 0,
"doctype": "Salary Component",
"accounts": []
},
{
"salary_component": "İcbari tibbi sığorta (xərc şirkət 2%)",
"salary_component_abbr": "İTS-XŞ",
"type": "Earning",
"description": "İcbari tibbi sığorta tutulması, şirkətdən (2%)",
"depends_on_payment_days": 0,
"is_tax_applicable": 0,
"deduct_full_tax_on_selected_payroll_date": 0,
"variable_based_on_taxable_salary": 0,
"is_income_tax_component": 0,
"exempted_from_income_tax": 0,
"round_to_the_nearest_integer": 0,
"statistical_component": 0,
"accrual_component": 0,
"do_not_include_in_total": 1,
"do_not_include_in_accounts": 0,
"remove_if_zero_valued": 1,
"arrear_component": 0,
"disabled": 1,
"condition": null,
"amount": 0,
"amount_based_on_formula": 1,
"formula": "base * 0.02 if base <= 8000 else 160 + (base - 8000) * 0.005",
"is_flexible_benefit": 0,
"payout_method": "",
"final_cycle_accrual_payout": 0,
"max_benefit_amount": 0,
"doctype": "Salary Component",
"accounts": []
},
{
"salary_component": "İşsizlikdən sığorta haqqı (xərc şirkət 0,5%)",
"salary_component_abbr": "İŞ-XŞ",
"type": "Earning",
"description": "İşsizlik, şirkətdən tutulan vergi",
"depends_on_payment_days": 0,
"is_tax_applicable": 0,
"deduct_full_tax_on_selected_payroll_date": 0,
"variable_based_on_taxable_salary": 0,
"is_income_tax_component": 0,
"exempted_from_income_tax": 0,
"round_to_the_nearest_integer": 0,
"statistical_component": 0,
"accrual_component": 0,
"do_not_include_in_total": 1,
"do_not_include_in_accounts": 0,
"remove_if_zero_valued": 1,
"arrear_component": 0,
"disabled": 1,
"condition": "",
"amount": 0,
"amount_based_on_formula": 1,
"formula": "base * 0.5 / 100",
"is_flexible_benefit": 0,
"payout_method": "",
"final_cycle_accrual_payout": 0,
"max_benefit_amount": 0,
"doctype": "Salary Component",
"accounts": []
},
{
"salary_component": "Məzuniyyət Kompensasiyası",
"salary_component_abbr": "LE",