Deactivate fund

Deactivate a fund so it can no longer be selected on new transactions. When the fund has a balance in any asset or liability account, every balance must be transferred to another fund: one entry per account, each posted as a fund-transfer journal entry. Retrieve the fund's balances from /api/funds/{id}/balance.

Required permission: Accounting Settings

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the fund

Body Params

The balance transfer selections

accounts
array of objects | null

One entry per account the fund has a balance in, selecting the fund each balance is transferred to. Required for every account balance returned by the fund balance endpoint.

accounts
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

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