Gestor de cobros Falla: comisión 8%, deuda e idempotencia - #558
Draft
cursor[bot] wants to merge 1 commit into
Draft
Gestor de cobros Falla: comisión 8%, deuda e idempotencia#558cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
…stu PCT/EP2025/067317 Reaplica GestorFallaV9 (comisión 8 %, cuota mínima 50 EUR, memoria y libro sin duplicados) sobre la rama diaria. Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Reaplica
GestorFallaV9sobremainpara el ciclo diario 09:00 CEST (cron UTC0 7 * * *). Comisión 8 %, cuota mínima 50 EUR, memoria JSON y libro JSONL sin duplicados.Cambios
logic/gestion_falla.py: validación de fallero/concepto, cálculo de comisión, cruce de deuda, asiento contable e idempotencia porreferencia.tests/test_gestion_falla.py: 9 pruebas unitarias.logic/GESTION_FALLA.md: webhook/schedule y aliases Make.com..env.example/.gitignore:FALLA_*y exclusión de datos operativos.Verificación (2026-09-10)
python3 -m unittest discover -s tests -p 'test_gestion_falla.py' -v→ 9 OK.PAGADO.duplicado: true(sin segundo asiento).PENDIENTE DE REGULARIZAR, saldo 20 EUR.Nota
Hay PRs equivalentes abiertas (p. ej. #557 y #389). Conviene mergear una sola y cerrar el resto. Preferir schedule
Europe/Madrid09:00 frente a cron UTC fijo.Patente: PCT/EP2025/067317
@CertezaAbsoluta @lo+erestu
Bajo Protocolo de Soberanía V10 - Founder: Rubén