Update Allowance

Update the specified allowance state to 'accounted' (optionally with an 'accounted_id') or to 'paid' (optionally with 'paid_id' and 'paid_at'). Only allowances in 'approved' or 'accounted' state can be updated.

Path Params
string
required
Defaults to v1

Api version

string
required

Id of the selected enterprise

string
required

Id of the selected subsidiary

string
required

Id of the desired allowance

Body Params
string
enum
required

State to transition the allowance to. Only 'accounted' and 'paid' transitions are supported through this endpoint.

Allowed:
string | null

Optional accounting identifier recorded when transitioning to the accounted state.

string | null

Optional payment identifier recorded when transitioning to paid state.

date-time | null

Optional ISO 8601 timestamp indicating when the allowance was paid.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json