Prepare Dominican accounting localization for core review
This commit is contained in:
+47
-65
@@ -1,81 +1,63 @@
|
||||
account_do
|
||||
==========
|
||||
|
||||
Localización contable dominicana para Tryton.
|
||||
Dominican Republic accounting localization for Tryton.
|
||||
|
||||
Cobertura funcional
|
||||
Functional Coverage
|
||||
-------------------
|
||||
|
||||
* Plan de cuentas base para República Dominicana.
|
||||
* Catálogo de cuentas preparado para operar bajo NIIF completas en República Dominicana, basado en la matriz documental ``catalogo_cuentas_niif_rd_tryton_completo.xlsx`` y validado contra cuentas reales del XML.
|
||||
* Catálogo de impuestos y códigos fiscales.
|
||||
* Reglas fiscales de venta, compra, tasas especiales y retenciones para escenarios dominicanos comunes.
|
||||
* Campo ``tax_kind`` para clasificar ITBIS, retenciones, ISC, CDT, propina legal y otros impuestos.
|
||||
* Campos ``tax_fiscal_type``, ``tax_application`` y metadata DGII para clasificar fiscalmente cada impuesto con mayor granularidad sin romper integraciones que usan ``tax_kind``.
|
||||
* Vigencias fiscales nativas en plantillas de impuesto y reglas, incluyendo impuesto de cheques/transferencias 0.15% histórico y 0.20% vigente desde 2026-07-03.
|
||||
* Las casillas y formularios DGII no se duplican aquí: ``account_do`` define cuentas/impuestos/reglas base y ``dgii_reports`` consume esa base para 606, 607, IT-1, IR-17, IR-2, ACT, ISC y formularios relacionados.
|
||||
* Cuentas fiscales auxiliares para retenciones ITBIS, retenciones ISR, adquirencias, pagos al exterior, ISC, CDT e impuestos especiales.
|
||||
* Documentación técnica en ``doc/index.rst`` y escenario funcional en ``tests/scenario_account_do.rst``.
|
||||
The module provides:
|
||||
|
||||
Pruebas
|
||||
* a base chart of accounts for Dominican companies;
|
||||
* an IFRS-oriented account structure;
|
||||
* Dominican tax groups, tax templates, tax codes, and tax rules;
|
||||
* fiscal accounts for ITBIS, ISR withholdings, ISC, CDT, legal tip, check and
|
||||
electronic transfer tax, asset tax, and real estate transfer tax;
|
||||
* tax validity dates, including the historical 0.15% and current 0.20% check
|
||||
and electronic transfer tax rates;
|
||||
* chart creation defaults for the Dominican receivable and payable accounts.
|
||||
|
||||
The module defines accounting and tax data. It does not duplicate DGII form
|
||||
box mappings, electronic fiscal document processing, NCF management, invoice
|
||||
customizations, party fiscal validation, payroll, or reporting logic.
|
||||
|
||||
The account codes form a proposed general-purpose baseline, not an official
|
||||
Dominican chart. IFRS does not prescribe account numbers, and regulated
|
||||
entities may be required to use a sector-specific chart. Tax templates are
|
||||
accounting aids; users remain responsible for checking applicability and
|
||||
current law. See ``doc/sources.rst`` and ``doc/tax_blueprint.rst``.
|
||||
|
||||
Testing
|
||||
-------
|
||||
|
||||
Las pruebas validan la instalación del módulo, la creación del plan para una compañía, la integridad de referencias XML, la clasificación contable principal, los códigos fiscales y las categorías fiscales dominicanas.
|
||||
The tests validate module installation, chart creation, wizard defaults, XML
|
||||
reference integrity, tax account mapping, tax validity, tax code signs, tax
|
||||
rules, translations, and package structure.
|
||||
|
||||
Cumplimiento base NIIF
|
||||
----------------------
|
||||
Languages
|
||||
---------
|
||||
|
||||
``account_do`` cubre el 100% de la base estructural que corresponde a una localización contable: catálogo NIIF/RD, tipos de presentación, cuentas fiscales dominicanas, impuestos, reglas, metadata legal y pruebas de instalación. La medición NIIF, estimaciones, cierres, estados financieros, notas y revelaciones dependen de políticas contables y módulos operativos complementarios.
|
||||
Tryton treats account and tax template names as static accounting data. The
|
||||
module therefore provides two complete selectable charts instead of relying on
|
||||
runtime translation:
|
||||
|
||||
=============================== ===============================================
|
||||
Área NIIF Cobertura en el plan
|
||||
=============================== ===============================================
|
||||
NIC 1 Corriente/no corriente, patrimonio, ORI y cierre/control separado
|
||||
NIC 2 Inventarios, costo de ventas y deterioro
|
||||
NIIF 9 / NIIF 7 / NIC 32 Cuentas por cobrar, ECL, instrumentos financieros y ORI
|
||||
NIIF 15 Ingresos, descuentos, activos y pasivos contractuales
|
||||
NIIF 16 Activos por derecho de uso, pasivos, depreciación e intereses
|
||||
NIC 12 Impuesto corriente e impuesto diferido activo/pasivo
|
||||
NIC 16 PPE, depreciación acumulada y deterioro
|
||||
NIC 36 Deterioro de inventarios, PPE, ROU, propiedades de inversión e intangibles
|
||||
NIC 37 Provisiones corrientes/no corrientes y reversión
|
||||
NIC 38 Intangibles, amortización y deterioro
|
||||
NIC 40 / NIIF 13 Propiedades de inversión, valor razonable y modelo de costo
|
||||
NIIF 5 Activos mantenidos para la venta y pasivos asociados
|
||||
=============================== ===============================================
|
||||
* ``IFRS Chart of Accounts - Dominican Republic`` in English;
|
||||
* ``Plan de Cuentas NIIF - República Dominicana`` in Latin American Spanish
|
||||
(``es_419``), used until Tryton provides ``es_DO``.
|
||||
|
||||
Matriz de auditoría
|
||||
-------------------
|
||||
Each chart has its own account types, accounts, taxes, tax codes and tax rules.
|
||||
The language is selected when the chart is created and changing the user
|
||||
language does not rename existing accounting records.
|
||||
|
||||
La cobertura de auditoría fiscal queda formalizada en pruebas para evitar cambios silenciosos en cuentas, clasificación o vigencias.
|
||||
IFRS-Oriented Structure
|
||||
-----------------------
|
||||
|
||||
.. list-table::
|
||||
:header-rows: 1
|
||||
The chart includes structural accounts for current and non-current
|
||||
presentation, inventories, financial instruments, revenue contracts, leases,
|
||||
deferred tax, property, plant and equipment, impairment, provisions,
|
||||
intangibles, investment property, other comprehensive income, and assets held
|
||||
for sale.
|
||||
|
||||
* - Área
|
||||
- Cobertura
|
||||
- Prueba
|
||||
* - Impuesto contra cuenta
|
||||
- 55 plantillas de ``tax_do.xml`` contra cuenta.
|
||||
- ``account_do.tests.test_module.TAX_TEMPLATE_AUDIT``
|
||||
* - Clasificación fiscal
|
||||
- ``tax_kind``, ``tax_fiscal_type`` y aplicación.
|
||||
- ``test_tax_templates_are_classified``
|
||||
* - Metadata legal y vigencia
|
||||
- Referencia, artículo, formulario, estado y fecha.
|
||||
- ``test_tax_templates_are_classified``
|
||||
* - Signos de tax codes
|
||||
- Plantillas y códigos reales creados por compañía.
|
||||
- ``test_tax_code_templates_use_expected_signs`` y chart real.
|
||||
* - Reglas con sustitución
|
||||
- Impuesto cheques 0.15% hasta 2026-07-02 y 0.20% desde 2026-07-03.
|
||||
- ``test_tax_rule_templates_include_date_sensitive_bank_tax``
|
||||
* - Documentación contra XML
|
||||
- La matriz apunta a XML real y falla ante ids/campos faltantes.
|
||||
- ``test_xml_references_are_resolved_inside_module``
|
||||
* - Plan NIIF contra XML
|
||||
- Códigos NIIF críticos, tipos y políticas.
|
||||
- ``test_ifrs_chart_is_complete_and_typed`` y ``test_ifrs_policy_matrix_is_represented_in_chart``
|
||||
* - Facturas reales
|
||||
- Factura venta/compra posteada con ITBIS 18%.
|
||||
- ``account_invoice_do.tests.test_module``
|
||||
IFRS measurement, estimates, closing procedures, financial statements, notes,
|
||||
and disclosures depend on company accounting policies and complementary
|
||||
operational modules.
|
||||
|
||||
Reference in New Issue
Block a user