Tryton República Dominicana
República Dominicana

unpaismejor-ecf-engine-connector (8.0.4)

Published 2026-08-16 20:56:16 -04:00 by unpaismejor

Installation

pip install --index-url https://code.unpaismejor.org.do/api/packages/tryton-do/pypi/simple/ --extra-index-url https://pypi.org/simple unpaismejor-ecf-engine-connector

About this package

e-CF engine connector for Tryton Dominican Republic invoices

########################### Ecf Engine Connector Module ###########################

The ecf_engine_connector module integrates Tryton invoices with an external Dominican Republic e-CF engine.

It works as the electronic fiscal layer above ncf_manager. The module keeps NCF assignment and fiscal validation in ncf_manager and adds e-CF payload generation, engine submission, status tracking, QR data, signed XML storage, and print-readiness fields.

Functional Scope

  • Builds DGII e-CF payloads from posted Tryton invoices.
  • Supports electronic NCF types 31, 32, 33, 34, 41, 43, 44, 45, 46, and 47.
  • Sends documents to the configured e-CF engine.
  • Tracks pending, accepted, rejected, and error states.
  • Stores engine response data, QR image data, and signed XML attachments.
  • Adds credit-note and debit-note electronic modification fields without replacing the accounting note workflows.

Compatibility

The module targets Tryton 8.0 and depends on ncf_manager. Through that dependency it is designed to run with:

  • account_do
  • account_invoice_do
  • account_credit_note
  • account_debit_note
  • account_invoice_apply_credit_note
  • ncf_manager

Packaging

The package is built with hatchling and hatch-tryton and publishes as unpaismejor_ecf_engine_connector.

Safe transmission defaults

Posting an invoice builds and validates its e-CF payload but does not transmit it by default. Transmission requires the explicit Enviar e-CF action or an opt-in company setting. Production additionally requires the independent Autorizar transmisiones en producción switch. See doc/compliance.rst.

Requirements

Requires Python: >=3.11
Details
PyPI
2026-08-16 20:56:16 -04:00
22
Fundación Un País Mejor
699 KiB
Assets (2)
Versions (15) View all
7.0.19 2026-08-30
7.0.18 2026-08-30
7.0.17 2026-08-30
7.0.16 2026-08-30
7.0.15 2026-08-29