Aller au contenu
Constaia
rental_agreement

Contrat de location

Bail d'habitation ou commercial de tout pays : bailleur, locataire, bien, durée, loyer et dépôt de garantie.

Catégorie
Justificatif de domicile
Pays
International
Champs extraits
11 champs
Coût
1 crédit
rental_agreementspecimen
Landlord
Tenants
Property address
Cadastral reference
Start date
End date
Monthly rent
Devise
Deposit

Ce qui est contrôlé

Pas de contrôle automatique spécifique : vos règles s'appliquent (champs obligatoires, dates et titulaire).

Champs extraits

  • Landlordlandlord
  • Tenantstenants
  • Property addressproperty_address
  • Cadastral referencecadastral_reference
  • Start datestart_date
  • End dateend_date
  • Monthly rentmonthly_rent
  • Devisecurrency
  • Depositdeposit
  • Date de signaturesignature_date
  • Signatures presentsignatures_present

Où il est utilisé

Exemple de requête

curl https://api.constaia.com/v1/analyze \
  -H "Authorization: Bearer $CONSTAIA_API_KEY" \
  -F "file=@document.pdf" \
  -F 'options={
    "expect": "rental_agreement",
    "checks": {},
    "storage": "none"
  }'

Exemple de réponse

Données fictives. Réponse abrégée.

200 OK · application/json
{
  "id": "an_01J9Z3K8QW4T6Y2B7N5M1R0PXC",
  "object": "analysis",
  "status": "completed",
  "livemode": false,
  "document": {
    "type": "rental_agreement",
    "label": "Contrat de location",
    "confidence": 0.97
  },
  "verdict": {
    "expected": [
      "rental_agreement"
    ],
    "match": true,
    "status": "valid",
    "reasons": [
      {
        "code": "type_match",
        "severity": "info",
        "message": "Le document est : Contrat de location."
      }
    ]
  },
  "fields": {
    "landlord": {
      "value": {
        "name": "ESPECIMEN",
        "tax_id": "ESPECIMEN",
        "address": "ESPECIMEN"
      },
      "confidence": 0.99,
      "validated": true
    },
    "tenants": {
      "value": [
        {
          "name": "ESPECIMEN",
          "tax_id": "ESPECIMEN"
        }
      ],
      "confidence": 0.98,
      "validated": null
    },
    "property_address": {
      "value": "ESPECIMEN",
      "confidence": 0.97,
      "validated": null
    },
    "cadastral_reference": {
      "value": "ESPECIMEN",
      "confidence": 0.96,
      "validated": null
    },
    "start_date": {
      "value": "2026-09-01",
      "confidence": 0.99,
      "validated": null
    },
    "end_date": {
      "value": "2026-09-01",
      "confidence": 0.98,
      "validated": null
    },
    "monthly_rent": {
      "value": 100,
      "confidence": 0.97,
      "validated": null
    },
    "currency": {
      "value": "ESPECIMEN",
      "confidence": 0.96,
      "validated": null
    },
    "deposit": {
      "value": 100,
      "confidence": 0.99,
      "validated": null
    },
    "signature_date": {
      "value": "2026-09-01",
      "confidence": 0.98,
      "validated": null
    },
    "signatures_present": {
      "value": true,
      "confidence": 0.97,
      "validated": null
    }
  },
  "checks": [],
  "warnings": [],
  "storage": {
    "mode": "none",
    "file_deleted_at": "2026-09-29T10:00:02Z",
    "expires_at": null
  },
  "usage": {
    "credits": 1,
    "pages": 1
  }
}

FAQ

Constaia prouve-t-il que le document est authentique ?

Non. Il contrôle le type, la cohérence des données et vos règles, et signale des indices comme une possible retouche ou une photo d'écran. Cela ne prouve pas l'authenticité.

Une copie du document est-elle conservée ?

Seulement s'il doit être vérifié : il est alors conservé chiffré jusqu'à la décision, puis 24 heures (délai configurable). Sinon, il est supprimé dès la fin de l'analyse. Vous pouvez choisir de ne jamais le conserver.

Autres documents

Et pour valoir ce que de droit…

Créez votre compte gratuit et validez votre premier document en cinq minutes. Sans carte bancaire.