Overview
Thetab_pmtros table stores company-wide payroll parameters and configuration settings. This includes legal minimum wage values, payment periods, current month/year, and references to key payroll concepts. This table typically contains a single record per company.
Table Definition
Column Reference
Unique identifier for the company processing payroll. Primary key.
Company name. Must be at least 5 characters.Constraint:
LENGTH(nom_empresa) >= 5Default payment period for the company:
'Q': Quincenal (Bi-weekly)'M': Mensual (Monthly)
Salario Mínimo Legal Vigente (Legal Minimum Wage) for the current year in Colombian Pesos.Constraint:
val_smlv > 0Example: 1,423,500 COP for 2025Auxilio de Transporte (Transportation Allowance) for the current year in Colombian Pesos.Constraint:
val_auxtrans > 0 AND val_auxtrans < val_smlvExample: 200,000 COP for 2025Multiplier to determine transportation allowance eligibility. Employees earning less than (SMLV × ind_num_trans) receive transportation allowance.Constraint:
ind_num_trans > 0 AND ind_num_trans < 4Typical value: 2 (employees earning less than 2× minimum wage receive transport allowance)Current year for payroll processing.Example: 2025
Current month for payroll processing (1-12). Foreign key to tab_meses.Constraint:
mes_nomina >= 1 AND mes_nomina <= 12Interest percentage on severance payments (Intereses a las Cesantías).Standard Colombian value: 12%
Number of days per fiscal month for payroll calculations.Standard value: 30 days
Foreign key to tab_conceptos identifying the “Salario Básico” (Basic Salary) concept.Typical value: 1
Foreign key to tab_conceptos identifying the “Auxilio de Transporte” (Transportation Allowance) concept.Typical value: 2
Constraints
Primary Key
- id_empresa: Unique company identifier
Foreign Keys
- mes_nomina → tab_meses(id_mes)
- id_concep_sb → tab_conceptos(id_concepto) - Basic salary concept
- id_concep_at → tab_conceptos(id_concepto) - Transportation concept
Check Constraints
- nom_empresa: Minimum 5 characters
- ind_perio_pago: Must be ‘Q’ or ‘M’
- val_smlv: Must be greater than 0
- val_auxtrans: Must be greater than 0 and less than SMLV
- ind_num_trans: Must be between 1 and 3
- mes_nomina: Must be between 1 and 12
Default Values
- ind_perio_pago: ‘Q’ (quincenal)
- ind_num_trans: 2
- ano_nomina: 2025
- val_por_intces: 12
- num_diasmes: 30
Sample Data
Colombian Legal Requirements
SMLV (Salario Mínimo Legal Vigente)
The legal minimum wage is set annually by the Colombian government. Values by year:| Year | SMLV (COP) |
|---|---|
| 2025 | 1,423,500 |
| 2024 | 1,300,000 |
| 2023 | 1,160,000 |
Auxilio de Transporte
Transportation allowance is also set annually:| Year | Amount (COP) |
|---|---|
| 2025 | 200,000 |
| 2024 | 162,000 |
| 2023 | 140,000 |
Transportation Allowance Eligibility
Employees earning less than 2× SMLV (ind_num_trans = 2) are eligible:- 2025 threshold: 2,847,000 COP (1,423,500 × 2)
- If salary < threshold → receives auxilio de transporte
- If salary >= threshold → does not receive auxilio
Usage Examples
Get Current Payroll Parameters
Update Current Month
Update Annual Values (New Year)
Check Transport Eligibility Threshold
Get Concept Definitions
Configuration Guide
Initial Setup
-
Insert company parameters:
-
Verify configuration:
Monthly Updates
At the start of each month:Annual Updates
At the start of each year:Notes
The num_diasmes value of 30 is used for standardized payroll calculations, regardless of the actual number of days in a calendar month.
Interest on severance (val_por_intces) is fixed at 12% per Colombian labor law and should not be changed unless regulations are updated.