unpaismejor-ecf-engine-connector (8.0.3)
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-connectorAbout 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_doaccount_invoice_doaccount_credit_noteaccount_debit_noteaccount_invoice_apply_credit_notencf_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.