Gestor de cobros Falla: comisión 8%, deuda e idempotencia - #559
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[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 12, 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 de cobros de Falla (cron 09:00 CEST). El gestor valida fallero y concepto (cuota, lotería, evento), aplica un 8 % de comisión, cruza saldo pendiente y escribe un asiento idempotente.Cambios
logic/gestion_falla.py: cálculo Decimal, memoria JSON con lock, libro JSONL y CLI compatible con Make.com (monto/tipo/payment_id).tests/test_gestion_falla.py: 9 pruebas (comisión, impago, duplicados, aliases).logic/GESTION_FALLA.md: webhook y scheduleEurope/Madrid09:00..env.example/.gitignore:FALLA_*y exclusión dedata/falla_memories.jsonylogs/falla_cobros.jsonl.Ciclo 2026-09-11
PAGADO; reintentoduplicado: true; cobro 30 EUR →PENDIENTE DE REGULARIZAR(saldo 20 EUR).Nota operativa
Hay varios PR DRAFT equivalentes abiertos (p. ej. #558 y anteriores). Conviene mergear uno y cerrar el resto para no duplicar el gestor en
main.Patente PCT/EP2025/067317 — @CertezaAbsoluta @lo+erestu
Bajo Protocolo de Soberanía V10 - Founder: Rubén