Provide a fee
Adds a one-off or periodic fee in the station currency, with dates contained in the convention. A ONE_OFF fee takes due_on and no period; a MONTHLY, QUARTERLY or YEARLY fee takes period_start and period_end and no due date. A request of the wrong shape is refused as invalid_fee_dates, naming each field at fault. **Required permission:** `referential.fee:write`
/referential/v1/occupancy-agreements/{id}/feesAdds a one-off or periodic fee in the station currency, with dates contained in the convention. A ONE_OFF fee takes due_on and no period; a MONTHLY, QUARTERLY or YEARLY fee takes period_start and period_end and no due date. A request of the wrong shape is refused as invalid_fee_dates, naming each field at fault.
Required permission: referential.fee:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/occupancy-agreements/string/fees" \ -H "Content-Type: application/json" \ -d '{ "amount": 0, "currency": "string", "effective_from": "2019-08-24", "fee_kind_id": "string", "rhythm": "ONE_OFF" }'{ "amount": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "due_on": "2019-08-24", "effective_from": "2019-08-24", "fee_id": "string", "id": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "recorded_at": "2019-08-24T14:15:22Z", "recorded_by": "string", "rhythm": "ONE_OFF"}List agreement fees
Returns stable fee identities belonging to the agreement. **Required permission:** `referential.fee:read`
Terminate an occupancy agreement
Records a prospective inclusive last occupation day, caps fees and preserves the signed end date. **Required permission:** `referential.occupancy-agreement:write`