SmartGare
API referenceEndpoints

List derived fee instalments whose due date falls in a closed interval

Invoiced and dropped instalments are omitted; only amounts still owed are returned. **Required permission:** `billing.fee-instalment:read`

GET/billing/v1/fee-instalments/due

Invoiced and dropped instalments are omitted; only amounts still owed are returned.

Required permission: billing.fee-instalment:read

AuthorizationBearer <token>

In: header

Query Parameters

from*string

Inclusive lower bound on due_on

Formatdate
to*string

Inclusive upper bound on due_on

Formatdate

Response Body

*/*

curl -X GET "https://example.com/billing/v1/fee-instalments/due?from=2019-08-24&to=2019-08-24"
[  {    "agreement_id": "string",    "agreement_reference": "string",    "amount": 0,    "as_of": "2019-08-24T14:15:22Z",    "currency": "string",    "due_on": "2019-08-24",    "fee_effective_from": "2019-08-24",    "fee_id": "string",    "fee_kind_code": "string",    "fee_kind_label": "string",    "fee_version_id": "string",    "id": "string",    "occupant_id": "string",    "occupant_name": "string",    "period_end": "2019-08-24",    "period_start": "2019-08-24",    "source_event_id": "string",    "status": "string",    "unit_id": "string",    "unit_name": "string"  }]