Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Medinaallan/ContabilidadISV/llms.txt

Use this file to discover all available pages before exploring further.

A consolidación (consolidation) in ContabilidadISV is a double-entry accounting ledger record that captures all debit (Debe) and credit (Haber) movements for one client company over a defined date range. Each consolidation is linked to a single client (empresa), stamped with the creating user, and stored in either the consolidaciones_generales or consolidaciones_hoteles SQL Server table depending on the client’s business type. The ledger enforces double-entry balance: total Debe must equal total Haber, with a tolerance of less than L. 0.01 for the record to be marked as balanceado.

Consolidation Types

ContabilidadISV provides two mutually exclusive consolidation types, selected when creating a new record:

Generales

Used for all non-hotel businesses (commerce, professional services, industry, clinics, etc.). The ledger contains 54 chart-of-accounts entries (positions 1–54 after Caja y Bancos at position 0). The I.S.T. 4% row is hidden and excluded from all calculations in this mode.

Hoteles

Used for hotel and tourism businesses. The ledger contains 55 chart-of-accounts entries — the same 54 as Generales plus I.S.T. 4% (Impuesto Sobre Turismo) inserted at position 5 (after I.S.V. 18%). The I.S.T. Haber value is automatically computed as Ventas Gravadas 15% (Haber) × 4%.
When selecting HOTELES, a blue informational banner appears in the creation modal confirming that I.S.T. 4% will be included automatically.

Chart of Accounts

The following table lists all 55 accounts from the datosIniciales array. The Auto-calculated column indicates which cells are read-only because their values derive from a formula.
#Account Name (Spanish)Auto-calculated
0Caja y BancosDebe = Σ Haber of accounts 1–54 (excluding I.S.T. if GENERALES); Haber = Σ Debe of accounts 1–54
1Ventas Gravadas 15%
2I.S.V. 15% (ventas)Haber = Ventas Gravadas 15% × 15%
3Ventas Gravadas 18%
4I.S.V. 18% (ventas)Haber = Ventas Gravadas 18% × 18%
5I.S.T. 4% (Hoteles only)Haber = Ventas Gravadas 15% × 4%
6Ventas Exentas
7Ventas Exoneradas
8Ingresos por Honorarios
9Compras Gravadas 15%
10I.S.V. 15% (compras)Debe = Compras Gravadas 15% × 15%
11Compras Gravadas 18%
12I.S.V. 18% (compras)Debe = Compras Gravadas 18% × 18%
13Compras Exentas
14Compras Exoneradas
15Compra de Medicamentos e insumos
16Equipo y Material de Laboratorio
17Equipo y Material Odontológico
18Retenciones I.S.V.
19Sueldos y Salarios
2013 Avo mes
2114 Avo mes
22Prestaciones laborales
23Honorarios Médicos
24Mobiliario y Equipo
25Energía Eléctrica
26Suministro de Agua
27Hondutel
28Servicio de Internet
29IHSS Instituto Hondureño de Seguridad Social
30Aportaciones INFOP
31Aportaciones RAP
32Pagos CONATEL /Aportes FITT
33Papelería y Útiles
34Alquileres
35Combustibles y Lubricantes
36Seguros
37Viáticos / Gastos de viaje
38Impuestos Municipales
39Impuestos Estatales
40Reparaciones y Mantenimiento
41Insumos de Aseo
42Seguridad y Vigilancia
43Publicidad y Propaganda
44Materiales, Suministros y Accesorios
45Obligaciones Bancarias / Cooperativas
46Intereses Financieros
47Tasa de Seguridad Poblacional
48Adquisición de Vehículos
49Honorarios Profesionales
50Mantenimiento de Vehículos
51Fletes y encomiendas
52Honorarios Contables
53Honorarios Legales
54Gastos Varios
Auto-calculated cells are rendered with a yellow background (bg-yellow-100) in the UI and are readOnly — the input accepts no manual entry.
Caja y Bancos (position 0) is computed automatically from all other rows. Do not enter values manually in either its Debe or Haber cell — they will be overwritten by the formula on every render.

Creating a Consolidation

1

Navigate to Consolidaciones → Crear Consolidación

From the sidebar, click Consolidaciones and then Crear Consolidación to open the UploadSection view.
2

Click Nueva Consolidación

Click the Nueva Consolidación button. A modal dialog opens.
3

Select a client

Type in the search field to filter active clients by name or RTN. Select the correct client from the dropdown. The modal shows a green confirmation panel once a client is selected.
4

Choose Tipo de Rubro

Select either GENERALES or HOTELES from the dropdown. For HOTELES, a note appears confirming that I.S.T. 4% will be included.
5

Enter the date range

Choose Por Mes (select a calendar month and year — dates are set automatically) or Por Período (Manual) (enter fecha_inicio and fecha_fin directly as YYYY-MM-DD). The system checks for overlapping consolidations and will alert you if a conflict is found.
6

Click Iniciar Consolidación

Click the Iniciar Consolidación button. The modal closes and the ledger table is ready for data entry.
7

Fill in Debe / Haber values

Enter numeric values in the white (editable) cells. Auto-calculated cells (yellow background) update in real time as you type into their source rows. The balance status bar at the bottom shows whether totals are balanced.
8

Save the consolidation

Click Guardar cambios. On success, the ExportModal opens offering immediate export to Excel or PDF.

Editing and Deleting

Editing

Consolidations can be edited through the ConsolidacionEditModal component, accessible from both the UploadSection and the HistorySection (click the amber pencil icon). Before saving, a motivo (reason for the edit) is required. Each changed field is recorded individually in the BitacoraCambios table so the full field-level audit trail is preserved. The system log records a consolidacion_updated action.

Deleting (Soft Delete)

Deleting a consolidation sets activo = 0 in the database — the record is never physically removed. Soft-deleted consolidations are excluded from all queries (WHERE activo = 1). The delete operation is available in the history view and requires the tipo query parameter (GENERALES or HOTELES) to identify the correct table.

Clients

Manage the client companies that consolidations are linked to.

Export

Download any consolidation as Excel or PDF.

Reports

Aggregate consolidation data across periods and clients.

Consolidaciones API

REST endpoints for creating, reading, updating, and deleting consolidations.

Build docs developers (and LLMs) love