Skip to main content
Contract / Billing

Get contract billing status

This method requires the ContractBilling:Get permission to be associated with your role.

GET
/fm/contract/billing/status
Authorizationstringheaderrequired

For accessing the API a valid token must be passed in all the queries in the 'Authorization' header.

A valid token is generated by the API and returned by the /authenticate method by supplying a valid username and password.

The following syntax must be used in the 'Authorization' header :

Bearer aaaaaa/bbbbbb.ccccccc.dddddd
contract_idstringqueryrequired

Contract Id

Maximum string length: 10
Pattern: ^[1-9]{1}[0-9]*$

Response

application/vnd.catch-e-api.v1+json

Success

billing_startedenum<string>
Available options: yes, no
billing_structureobject

Billing configuration/status, equivalent to the "Billing Structure" panel on the legacy Contract Billing screen. When no billing schedule exists yet, these values are derived from the contract's own persisted defaults and the client's billing defaults, mirroring the legacy screen's behaviour before a contract has started billing.

lease_structureobject

Contract term/dates/type/inertia, equivalent to the "Lease Structure" panel on the legacy Contract Billing screen. Most of this is also available on getContract; it's duplicated here for convenience.

life_budgetobject

Whole-of-life budget totals, equivalent to the "Life Budget" panel on the legacy Contract Billing screen.

next_datestring

Next pending billing date

Example: YYYY-MM-DD
next_intervalstring

Next pending billing interval

next_periodinteger

Next pending billing period

Example: 0
previous_datestring

Last billing date

Example: YYYY-MM-DD
previous_intervalstring

Last billing interval

previous_periodinteger

Last billing period

Example: 0
rental_billing_summaryobject

Per-period billing totals, equivalent to the "Rental Billing Summary" panel on the legacy Contract Billing screen.