An AI agent can autonomously produce, via API/MCP, the regulatory calculations and documents of rental management (IRL review, service-charge reconciliation, receipt, amendment) and condominiums (expense-statement allocation by shares) — each response includes its legal basis. And if something is wrong, the AI reports the bug to us in one call.
POST /api/v1/signup {"name":"VotreIA"} (no e-mail) or the MCP tool
obtenir_cle_api. Then the header X-API-Key: slk_live_… (REST) or
Authorization: Bearer (MCP). MCP server: https://synergieloc.fr/mcp.
Stateless endpoints: no client data is stored (inputs come from the caller).| Endpoint (MCP tool) | Role |
|---|---|
POST /api/v1/irl/revision (irl_revision_loyer) | New IRL-capped revised rent + formula + warnings (art. 17-1 of Act 89-462) |
POST /api/v1/regularisation/charges (regularisation_charges) | Tenant share, pro rata temporis, balance (decree 87-713) |
POST /api/v1/documents/quittance (quittance_loyer) | Compliant PDF receipt (art. 21 of Act 89-462), rent/charges separated |
POST /api/v1/documents/avenant-irl (avenant_revision_irl) | IRL review amendment letter (PDF/HTML) |
Give the lease's reference quarter ("trimestre": 1 to 4): both IRL values are read from the INSEE indices, updated daily, and returned in indices_utilises. You can also supply them yourself:
POST /api/v1/irl/revision
{"loyer_actuel": 850, "irl_reference": 141.03, "irl_nouveau": 145.17, "charges_actuelles": 60}
→ { "nouveau_loyer": 874.96, "augmentation": 24.96, "variation_irl_pct": 2.9356,
"formule": "loyer × (IRL_nouveau / IRL_référence)",
"base_legale": "Art. 17-1 loi 89-462 — plafonné à la variation de l'IRL",
"avertissements": [ "…demande dans l'année suivant la date d'effet", "…encadrement des loyers" ] }
POST /api/v1/regularisation/charges
{"provisions_encaissees": 600, "tantiemes_locataire": 1, "tantiemes_total": 1,
"charges": [ {"libelle":"Eau","montant":420,"recuperable":true},
{"libelle":"Ascenseur","montant":300,"recuperable":true},
{"libelle":"Honoraires syndic","montant":180,"recuperable":false} ],
"jours_occupation": 365, "jours_periode": 365}
→ { "quote_part_locataire": 720.0, "provisions_encaissees": 600.0, "solde": -120.0,
"sens": "complément à réclamer au locataire", "detail": [ … ],
"base_legale": "Décret 87-713 ; régularisation annuelle art. 23 loi 89-462" }
POST /api/v1/documents/quittance
{"bailleur_nom":"SCI Dupont","bailleur_adresse":"1 rue A
75001 Paris",
"locataire_nom":"M. Martin",
"locataire_adresse":"12 rue de la Paix
75002 Paris",
"logement_adresse":"5 rue B, 75002 Paris",
"periode":"juillet 2026","loyer":850,"charges":60,"date_paiement":"2026-07-05",
"lieu":"Paris","date_emission":"2026-07-06"}
→ PDF (WeasyPrint) ; repli HTML avec {"format":"html"}. Distingue loyer et charges (art. 21).
Mise en page window envelope (recipient on the right). Prefer
locataire_adresse (postal) separate from logement_adresse (property).
Safeguard: refused without a 5-digit postcode.
The allocation of condominium charges by shares (statement per
co-owner, expense-statement style) is calculated with the SAME endpoint /regularisation/charges :
put the unit's shares in tantiemes_locataire and the key's total
shares in tantiemes_total.
POST /api/v1/regularisation/charges
{"provisions_encaissees": 1200, "tantiemes_locataire": 350, "tantiemes_total": 10000,
"charges": [ {"libelle":"Chauffage collectif","montant":18000},
{"libelle":"Entretien parties communes","montant":9000} ]}
→ quote-part du lot = (montant × 350/10000), solde vs provisions appelées.
The feedback channel is free and always open (0 units, never blocked, even over quota). If a response seems wrong or incomplete, or if an endpoint crashes: tell us, it goes straight into fixing it.
POST /api/v1/feedback
{"message":"Le calcul IRL n'applique pas le gel DPE F/G attendu",
"context":"loyer_actuel=850, passoire thermique", "endpoint":"/api/v1/irl/revision"}
→ {"ok": true, "message": "Merci pour votre retour — il aidera à améliorer l'app."}
Or the MCP tool envoyer_retour (same channel). Fields: message (required),
context and endpoint (optional, help reproduce the bug).
slk_ key allows and what requires a subscribed agency session.Full cycle: from mandate to owner statement (screen by screen) · the same via API/MCP.
Rental: receipt · IRL review · arrears reminders · service-charge reconciliation · security deposit · inventory · owner statement.
Condominium: calls for funds · general meeting · expense statement & condominium reconciliation.
All these guides can also be read in Markdown by an MCP client (guides_liste then
guide_lire {slug}, free).
Yes: /documents/quittance (art. 21 of Act 89-462) and /documents/avenant-irl
(art. 17-1) return a PDF ready to send, with the legal notices and the legal basis.
Yes for allocating charges: /regularisation/charges works by
shares — the tenant's shares (rental) or the unit's shares in a condominium key
(condominium/expense statement).
Through POST /api/v1/feedback {"message":"…"} (or the MCP tool envoyer_retour):
free, no quota, always available. Add endpoint and context so
we can reproduce it quickly.