Allocate fund call to leases
Distributes the recoverable lines of a fund call to leases based on millième values (tantièmes de copropriété).
Allocation formula:
Code
Rounding is handled by adjusting the last lease to ensure the exact total matches. Existing allocations for the same fund call are deleted and recreated (idempotent re-allocation).
path Parameters
syndic_idcall_idAllocate fund call to leases › Request Body
total_milliemesTotal millièmes of the copropriété
Allocate fund call to leases › Responses
Allocations created
idfund_call_line_idlease_idmillieme_valueMillièmes for this lease
total_milliemesTotal millièmes used for calculation
allocated_amountCalculated amount = line_amount × (millieme_value / total_milliemes)
statusAllocation status
created_atupdated_atlease_charge_idLink to the lease charge (set after link-charges)
List allocations for a fund call
path Parameters
syndic_idcall_idList allocations for a fund call › Responses
List of allocations
idfund_call_line_idlease_idmillieme_valueMillièmes for this lease
total_milliemesTotal millièmes used for calculation
allocated_amountCalculated amount = line_amount × (millieme_value / total_milliemes)
statusAllocation status
created_atupdated_atlease_charge_idLink to the lease charge (set after link-charges)
Link syndic allocations to lease charges
Links existing fund call allocations to their corresponding lease charges using the charge distribution calculation service.
path Parameters
syndic_idcall_idLink syndic allocations to lease charges › Responses
Allocations linked to charges
List syndic allocations for a lease
Returns all syndic fund allocations linked to a specific lease.
path Parameters
lease_idList syndic allocations for a lease › Responses
List of allocations for this lease
idfund_call_line_idlease_idmillieme_valueMillièmes for this lease
total_milliemesTotal millièmes used for calculation
allocated_amountCalculated amount = line_amount × (millieme_value / total_milliemes)
statusAllocation status
created_atupdated_atlease_charge_idLink to the lease charge (set after link-charges)