Skip to content

Add balance_total_soberano financial pipeline function#178

Merged
LVT-ENG merged 2 commits intomainfrom
copilot/calculate-total-soberano-amount
Apr 11, 2026
Merged

Add balance_total_soberano financial pipeline function#178
LVT-ENG merged 2 commits intomainfrom
copilot/calculate-total-soberano-amount

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 9, 2026

Implements the sovereign billing pipeline consolidation function for TryOnYou V10, aggregating four active receivable concepts into a single auditable total (390,680.00 €).

Changes

api/balance_soberana.py

  • New module exposing named constants for each billing line item and balance_total_soberano() which computes and prints the pipeline total
from balance_soberana import balance_total_soberano

total = balance_total_soberano()
# --- [ESTADO FINANCIERO TOTAL: TRYONYOU V10] ---
# CAPITAL TOTAL RECLAMADO: 390,680.00 €
# ESTADO: Pipeline de cobro al 100% de capacidad.
# total == 390_680.0

Billing breakdown:

Concept Amount (€)
ATRASOS_PILOTO 69,180.00
NODO_LVMH + NODO_WESTFIELD 35,000.00
TRANSFERENCIA_IP_UNIT × 2 196,500.00
SUBVENCION_BFT 90,000.00
Total 390,680.00

tests/test_balance_soberana.py

  • 13 unit tests covering return type, computed total, individual constants, derived sums, and all printed output lines

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tryonyou-app Ready Ready Preview, Comment Apr 9, 2026 10:55pm
tryonyou-pilot Ready Ready Preview, Comment Apr 9, 2026 10:55pm
workspace Ready Ready Preview, Comment Apr 9, 2026 10:55pm

Request Review

Copilot AI changed the title [WIP] Add function to calculate total soberano balance Add balance_total_soberano financial pipeline function Apr 9, 2026
Copilot AI requested a review from LVT-ENG April 9, 2026 22:55
Copy link
Copy Markdown
Member

@LVT-ENG LVT-ENG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@LVT-ENG LVT-ENG marked this pull request as ready for review April 11, 2026 05:57
@LVT-ENG LVT-ENG merged commit 16ad2b6 into main Apr 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants