Cotizador Terra Vivet
Este recurso calcula cotizaciones manuales o por propiedad. Si el cliente no puede usar la UI, prefiera la API, el MCP o el markdown.
Cómo se calcula la cotización
Variables clave visibles: price,
discountRate,
entryAmount, annualRate,
termMonths
y purchaseType.
discountAmount = price * (discountRate / 100)netAmount = max(0, price - discountAmount)financedAmount = max(0, netAmount - entryAmount)-
interestAmount = remainingBalance * (annualRate / 100 / 360) * periodDaysen la primera cuota -
interestAmount = remainingBalance * (annualRate / 100 / 12)en las cuotas siguientes
La cuota fija usa sistema francés cuando
annualRate > 0.
monthlyRate = annualRate / 100 / 12
growthFactor = (1 + monthlyRate) ^ termMonths
fixedInstallment = financedAmount * ((monthlyRate * growthFactor) / (growthFactor - 1))
Tasas anuales por defecto visibles: 16.77% para Montesito
y Torres Zermatt; 24.89% para Santa Bárbara y Valle del
Toachi.
-
POST /api/v1/quote/from-propertyrequierepropertyIdy aceptapurchaseType. -
POST /api/v1/quote/calculaterequierepurchaseTypey ademáspropertyIdoproject + propertyLabel + propertyType + price. - El plazo máximo visible actual es
60meses.
En la implementación actual, un navegador con WebMCP puede registrar
tv_list_properties, tv_get_property,
tv_calculate_quote
y tv_open_quote. Para cotización, las más útiles suelen
ser
tv_calculate_quote
y tv_open_quote. Si usa HTTP directo, envíe JSON por
POST.
curl -X POST https://www.terravivet.com/api/v1/quote/calculate \
-H 'content-type: application/json' \
-d '{"project":"Demo","propertyLabel":"Lote 12","propertyType":"Lote","price":25000,"purchaseType":"Financiado"}'
curl -X POST https://www.terravivet.com/api/v1/quote/from-property \
-H 'content-type: application/json' \
-d '{"propertyId":"montesito:mz-a-lote-1","purchaseType":"Financiado"}'