List usage charges to report
List usage charges to report
Finance reviewers, delivery staff and integration keys. Read-only; lists open usage charges another system may report a figure for, without any billed amount.
Query parameters
contract_iduuid
Headers
X-Tenant-SlugstringThe workspace the request acts in.
X-Valtor-Advisor-Sessionstring
Response 200
dataarray of objectrequiredEvery open usage or percentage charge another system may report a figure for.
Show 12 child fields
obligation_idstringrequiredThe open obligation to report a figure for.
contract_idstringrequirednullableIts contract.
contract_namestringrequirednullableThe contract's display name.
customer_namestringrequirednullableThe invoice recipient's name.
charge_rule_idstringrequiredThe charge rule to report against.
charge_labelstringrequirednullableHuman wording of the charge.
inputstringrequiredamount when the figure is a currency base, quantity otherwise.
unitstringrequirednullableUnit the quantity is reported in.
currencystringrequirednullableISO 4217 currency, only for amount charges.
period_startstringrequirednullableFirst day of the service period.
period_endstringrequirednullableLast day of the service period, inclusive.
statusstringrequiredneeds_figure, awaiting_review or accepted. Never shows what the charge bills.
Errors
Every error has the same shape: an error object with a stable code and a message for people. 403 is a missing role, 404 a row this workspace does not hold, 409 a state conflict, 422 a broken business rule. A missing or invalid token answers 401 on every signed-in route.
| Status | Code | Meaning |
|---|---|---|
| 422 | request_validation_failed | One or more request fields are invalid |