FairePlace Lease Annexes API
Management of regulatory and supplementary lease annexes. Annexes are the mandatory and optional documents that accompany a rental contract in compliance with French legislation (ALUR Law, Decrees 87-712/87-713, etc.). ## System catalog The platform maintains a global catalog of system annexes containing official regulatory documents. These annexes are shared across all tenants and serve as templates when attaching to a lease. ## Three source categories | Source | Description | Example | |--------|-------------|---------| | `STATIC_FILE` | Embedded static PDF file | Information notice, Recoverable charges | | `GENERATED` | PDF dynamically generated from lease data | Furniture inventory | | `USER_UPLOAD` | Document manually uploaded by the user | Insurance certificate | ## Recommended workflow 1. **Create the lease** via `POST /leases` 2. **Attach mandatory annexes** via `POST /leases/{id}/annexes/attach-mandatory` 3. **Add custom annexes** via `POST /leases/{id}/annexes` 4. **Check compliance** via `GET /leases/{id}/annexes/compliance` 5. **Download PDFs** via `GET /leases/{id}/annexes/{annex_id}/download`