Overview
Budget Item Management in SMAF handles two critical catalog types:- PEF (Presupuesto de Egresos de la Federación): The federal budget classifications imported from the annual federal budget decree
- Partidas Presupuestales: Specific budget line items assigned to projects for expense tracking
PEF management is restricted to Director de Administración, Director General, and authorized financial staff (Subdirector Adjunto with Financiero position). Budget item assignment to projects is available to all administrators.
PEF (Presupuesto de Egresos de la Federación)
What is PEF?
The PEF is Mexico’s annual federal budget, approved by Congress, that establishes spending authority for all government agencies. SMAF imports PEF data to ensure all expenses are charged against authorized budget classifications.PEF Structure
The federal budget uses a complex classification system:Unidad Responsable - Responsible Unit code
Unidad Ejecutora - Executing Unit code
Estado - State/geographic location code
Finalidad - Purpose classification
Función - Function classification
Subfunción - Subfunction classification
Región - Region code
Actividad Institucional - Institutional Activity
Programa Presupuestario - Budget Program
Componente Presupuestario - Budget Component
Partida Específica - Specific budget line item (e.g., “3801” for national travel)
Tipo de Gasto - Type of expenditure (current, capital, etc.)
Fuente de Financiamiento - Funding source
Programa Presupuestario Institucional - Institutional Budget Program
Importing PEF Data
Access Requirements
Navigate to Catálogos > PEF. Access is validated:One-Time Import Rule
The PEF can only be imported once per fiscal year:Excel File Preparation
Obtain Federal Budget Data
Acquire the official PEF allocation from SHCP (Secretaría de Hacienda y Crédito Público) for INAPESCA.
Format Excel Workbook
Organize data in an Excel file with the following structure:
| Column | Field | Description |
|---|---|---|
| A | UR | Unidad Responsable |
| B | UE | Unidad Ejecutora |
| C | EDO | Estado |
| D | FI | Finalidad |
| E | FU | Función |
| F | SF | Subfunción |
| G | RG | Región |
| H | AI | Actividad Institucional |
| I | PP | Programa Presupuestario |
| J | CP | Componente Presupuestario |
| K | PARTIDA | Partida Específica |
| L | TG | Tipo de Gasto |
| M | FF | Fuente de Financiamiento |
| N | PPI | Programa Presupuestario Institucional |
| O | PEF | Total Annual Amount |
| P | ENERO | January allocation |
| Q | FEBRERO | February allocation |
| R | MARZO | March allocation |
| S | ABRIL | April allocation |
| T | MAYO | May allocation |
| U | JUNIO | June allocation |
| V | JULIO | July allocation |
| W | AGOSTO | August allocation |
| X | SEPTIEMBRE | September allocation |
| Y | OCTUBRE | October allocation |
| Z | NOVIEMBRE | November allocation |
| AA | DICIEMBRE | December allocation |
Validate Data
Ensure:
- All classification codes match federal standards
- Monthly allocations sum to annual total
- No empty cells in required columns
- Numeric values for all budget amounts
Upload Process
Select Excel File
Click the file upload control and select your prepared Excel file.Supported formats:
.xlsx, .xlsImport Logic
The system processes each row of the Excel file:File Storage
Uploaded files are stored in a year-specific directory:/InapescaWeb/CONTABLE/2024/PEF_2024.xlsx
Budget Classifications
Chapter Structure (Capítulos)
Budget items are organized into chapters following federal guidelines:Chapter 1000: Personal Services
Chapter 1000: Personal Services
Salaries, wages, and personnel benefits
Chapter 2000: Materials and Supplies
Chapter 2000: Materials and Supplies
Office supplies, fuel, consumables
Chapter 3000: General Services
Chapter 3000: General Services
- 3801: National Travel (Viáticos Nacionales)
- 3802: International Travel (Viáticos al Extranjero)
- 3851: Installation, Relocation, and Travel Expenses
Chapter 4000: Transfers and Subsidies
Chapter 4000: Transfers and Subsidies
Grants and transfers to other entities
Chapter 5000: Capital Goods
Chapter 5000: Capital Goods
Furniture, vehicles, equipment
Chapter 6000: Public Works
Chapter 6000: Public Works
Construction and infrastructure
Partidas Presupuestales
Specific budget line items used for expense tracking:| Partida | Description | Chapter | Typical Use |
|---|---|---|---|
| 3801 | Viáticos Nacionales | 3000 | Domestic travel expenses |
| 3802 | Viáticos Internacionales | 3000 | International travel |
| 3851 | Gastos de Instalación | 3000 | Relocation expenses |
| 2141 | Materiales y Útiles | 2000 | Office supplies |
| 2611 | Combustibles | 2000 | Fuel for vehicles |
Assigning Budget Items to Projects
Access
Navigate to Catálogos > Proyecto Partida to assign budget items to projects.Assignment Process
Allocate Monthly Budgets
Enter budget amounts for each month:
- Enero (January)
- Febrero (February)
- Marzo (March)
- Abril (April)
- Mayo (May)
- Junio (June)
- Julio (July)
- Agosto (August)
- Septiembre (September)
- Octubre (October)
- Noviembre (November)
- Diciembre (December)
Monthly allocations enable time-based budget controls and prevent overspending in specific periods.
Partida Selector Interface
The modal popup displays budget items in a tree structure:Budget Control and Validation
Monthly Budget Tracking
SMAF validates expenses against monthly allocations:- Monthly Caps: Prevents charging expenses beyond the monthly budget
- Cumulative Tracking: Monitors year-to-date spending
- Remaining Balance: Shows available budget for each partida/month combination
Validation Rules
Best Practices
Validate PEF Before Import
Cross-reference Excel data with official SHCP documentation before uploading.
Test with Sample Data
Import a small subset first to verify column mapping and format.
Document Worksheet Names
Keep a record of worksheet names used for each fiscal year’s import.
Distribute Budgets Realistically
Allocate monthly budgets based on expected spending patterns, not uniform distribution.
Common Import Errors
Invalid file format
Invalid file format
Error: “Tipo de Archivo no valido.”Solution: Ensure file extension is
.xlsx or .xls. Save Excel files in compatible format, not CSV or other types.Worksheet name not found
Worksheet name not found
Error: Import fails silently or throws exception.Solution: Verify the worksheet name is entered exactly as it appears in Excel, including capitalization and spaces.
PEF already loaded
PEF already loaded
Error: “Ya existe cargado un pef para este año…”Solution: This is expected behavior. Use the Adecuaciones PEF module to add budget items after initial load.
Column count mismatch
Column count mismatch
Error: Import succeeds but data is misaligned.Solution: Ensure Excel has exactly 27 columns in the correct order. Do not add or remove columns.
Related Topics
Programs
Link programs to budget components
Projects
Assign partidas to active projects
Expense Tracking
Charge expenses against budget items