Accounting solution for the management of Accounts Payable, Accounts Receivable, Inventory, Treasury and General Accounting.
Project description
Cacao Accounting
Aplicación contable web y de escritorio para PYMEs que centraliza tesorería, compras, ventas, inventario y contabilidad general.
Estado actual
- En desarrollo activo en la rama
maincon base en Python 3.12, Flask y SQLAlchemy. - Arquitectura basada en blueprints por módulo:
auth,bancos,compras,ventas,inventario,contabilidad,document_flow,importsy más. - Soporte inicial de AR/AP, pagos/cobros, conciliación, inventario con valuación, impuestos y reglas fiscales, documentos operativos, importaciones masivas y trazabilidad documental.
- UI con Alpine.js,
smart-selecty diseño de formularios transaccionales compartidos. - Internacionalización preparada para
esyen. - Calidad integrada con
black,ruff,flake8,mypy,pydocstyleypytest.
Nota: el proyecto sigue siendo de desarrollo y no está listo para uso en producción.
Características principales implementadas
- Cuentas por cobrar y cuentas por pagar.
- Gestión de inventario con
Stock Reconciliationy valuación de ajustes. - Payment entry con impuestos y cargos visibles, reglas fiscales y aplicación de referencias.
- Matriz de flujo documental (
document_flow) para crear documentos derivados y mantener trazabilidad. - Administración de clientes/proveedores con contactos, direcciones, grupos y cuentas por compañía.
- Motor fiscal unificado para preview y persistencia de reglas fiscales.
- Proceso de importación masiva de datos y documentos operativos.
- Revalorización cambiaria auditada y soporte para múltiples libros/ledgers.
Uso recomendado para desarrolladores
- Crear un entorno virtual:
python -m venv .venv - Activar el entorno:
source .venv/bin/activate - Instalar dependencias:
pip install -r requirements.txt - Para habilitar características en la nube (como validación MIME segura en la subida de archivos), instale las dependencias opcionales:
pip install cacao-accounting[cloud] - Ejecutar pruebas:
CACAO_TEST=True LOGURU_LEVEL=WARNING SECRET_KEY=ASD123kljaAddS python -m pytest -v -s --exitfirst --slow=True
CLI - cacaoctl
cacaoctl es la interfaz de línea de comandos oficial para administrar Cacao Accounting.
# Inicializar la base de datos
cacaoctl db init
# Iniciar servidor de desarrollo
cacaoctl run
# Iniciar servidor de producción (Waitress)
cacaoctl serve
# Ver estado del sistema
cacaoctl status
# Ver configuración activa
cacaoctl config
# Consola interactiva con contexto de la aplicación
cacaoctl shell
Para más detalles, consulta la documentación de cacaoctl.
Demo online
Live demo at:
URL: https://cacao-accounting.onrender.com/login
User: cacao
Password: cacao
Wait to the free render instance to wake up.
Participar en el proyecto
Todos los aportes son bienvenidos. Consulta el archivo CONTRIBUTING para más detalles.
Licencia
Derechos de autor 2024 - 2026 William José Moreno Reyes
Autorizado en virtud de la Licencia de Apache, Versión 2.0 (la "Licencia"); se prohíbe utilizar este archivo excepto en cumplimiento de la Licencia. Podrá obtener una copia de la Licencia en:
http://www.apache.org/licenses/LICENSE-2.0
A menos que lo exijan las leyes pertinentes o se haya establecido por escrito, el software distribuido en virtud de la Licencia se distribuye “TAL CUAL”, SIN GARANTÍAS NI CONDICIONES DE NINGÚN TIPO, ya sean expresas o implícitas. Véase la Licencia para consultar el texto específico relativo a los permisos y limitaciones establecidos en la Licencia.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cacao_accounting-0.0.1.dev20260720.tar.gz.
File metadata
- Download URL: cacao_accounting-0.0.1.dev20260720.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
393e167c22e686e054a7ec114a851fdb7fb50187065fc779b8df48df1a5caa1e
|
|
| MD5 |
a9190d33ff6e36236b06496a73c42d5f
|
|
| BLAKE2b-256 |
429862b10eec456b8de106f4ae343f0732cf98eaa046c8486a31ae1d6142c392
|
Provenance
The following attestation bundles were made for cacao_accounting-0.0.1.dev20260720.tar.gz:
Publisher:
publish.yml on cacao-accounting/cacao-accounting
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cacao_accounting-0.0.1.dev20260720.tar.gz -
Subject digest:
393e167c22e686e054a7ec114a851fdb7fb50187065fc779b8df48df1a5caa1e - Sigstore transparency entry: 2210302094
- Sigstore integration time:
-
Permalink:
cacao-accounting/cacao-accounting@8f6bd52ca607146292cae91c3e6cf29a2acdbf37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cacao-accounting
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f6bd52ca607146292cae91c3e6cf29a2acdbf37 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file cacao_accounting-0.0.1.dev20260720-py3-none-any.whl.
File metadata
- Download URL: cacao_accounting-0.0.1.dev20260720-py3-none-any.whl
- Upload date:
- Size: 7.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a8758669ca9e6ff2fcee88d6e045c96a847ea8cdf6ab26f283f96cb5d255879
|
|
| MD5 |
5ce555c18845b8f4871f9e0e416186e2
|
|
| BLAKE2b-256 |
29911a7a9232e077f5a8b17a2e544a56eafb2eb804f3bca6549ff108213363d7
|
Provenance
The following attestation bundles were made for cacao_accounting-0.0.1.dev20260720-py3-none-any.whl:
Publisher:
publish.yml on cacao-accounting/cacao-accounting
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cacao_accounting-0.0.1.dev20260720-py3-none-any.whl -
Subject digest:
0a8758669ca9e6ff2fcee88d6e045c96a847ea8cdf6ab26f283f96cb5d255879 - Sigstore transparency entry: 2210302102
- Sigstore integration time:
-
Permalink:
cacao-accounting/cacao-accounting@8f6bd52ca607146292cae91c3e6cf29a2acdbf37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cacao-accounting
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f6bd52ca607146292cae91c3e6cf29a2acdbf37 -
Trigger Event:
workflow_run
-
Statement type: