Create a disposal
Creates a disposal for the asset at the given date. Requires the asset to not have a disposal already. Furthermore, the asset must be fully depreciated so the value of the asset at the disposal date must be zero.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Request Body
date
string · date · requiredHas to be after the purchase date of the asset, and cannot be in the future or in the locked period of the administration.
reason
string · enum · requiredEnum values:out_of_usesoldprivate_withdrawaldivested
Responses
A disposal
date
string · datereason
string · enumEnum values:out_of_usesoldprivate_withdrawaldivestedexternally_booked
booleanasset_id
string | integer · pattern:^\d+$
A unique record identifier
Delete a source
Deletes a source from an asset. Does not delete the detail or the asset
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
detail_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Source deleted
Add a source to an asset
Adds a detail as a source to an asset. The detail must have the same ledger account as the asset.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
A detail that is added as a source to an asset
id
string | integer · pattern:^\d+$
A unique record identifier
asset_id
string | integer · pattern:^\d+$
A unique record identifier
detail_id
string | integer · pattern:^\d+$
A unique record identifier
Create an arbitrary value change
Creates an arbitrary value change for the asset at the given date. If the amount is larger than the value of the asset at the given date, a 422 error will be returned. Any existing linear value changes after the given date will be removed.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Request Body
date
string · date · requiredHas to be after the purchase date of the asset, and cannot be in the future or in the locked period of the administration.
amount
requiredNote that a negative amount means the asset decreases in value while a positive amount means the asset increases in value.
description
string · required
externally_booked
booleanSet to true if the value change is already externally booked and doesn't need to be booked by Moneybird.
Default: false
Responses
A value change
type
string · enumEnum values:divestmentfull_depreciationmanualarbitrarylineardate
string · dateamount
description
null | stringexternally_booked
booleanasset_id
string | integer · pattern:^\d+$
A unique record identifier
Create a divestment value change
Creates a divestment value change for the asset at the given date. The remaining value of the asset will be taken from the balance sheet and the profit will be booked as book result. The amount of the value change will automatically be set to the value of the asset at the given date. If the value change is created successfully, a disposal will be created for the asset. Any existing linear value changes after the given date will be removed.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Request Body
date
string · date · requiredHas to be after the purchase date of the asset, and cannot be in the future or in the locked period of the administration.
Responses
A value change
type
string · enumEnum values:divestmentfull_depreciationmanualarbitrarylineardate
string · dateamount
description
null | stringexternally_booked
booleanasset_id
string | integer · pattern:^\d+$
A unique record identifier
Create a full depreciation value change
Creates a full depreciation value change for the asset at the given date. The remaining value of the asset will be taken from the balance sheet. The amount of the value change will automatically be set to the value of the asset at the given date. If the value change is created successfully, a disposal will be created for the asset. Any existing linear value changes after the given date will be removed.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Request Body
date
string · date · requiredHas to be after the purchase date of the asset, and cannot be in the future or in the locked period of the administration.
description
string · required
Responses
A value change
type
string · enumEnum values:divestmentfull_depreciationmanualarbitrarylineardate
string · dateamount
description
null | stringexternally_booked
booleanasset_id
string | integer · pattern:^\d+$
A unique record identifier
Create a manual value change
Creates a manual value change for the asset at the given date. If the amount is larger than the value of the asset at the given date, a 422 error will be returned.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Request Body
date
string · date · requiredHas to be after the purchase date of the asset, and cannot be in the future or in the locked period of the administration.
amount
requiredNote that a negative amount means the asset decreases in value while a positive amount means the asset increases in value.
description
string · required
externally_booked
booleanSet to true if the value change is already externally booked and doesn't need to be booked by Moneybird.
Default: false
Responses
A value change
type
string · enumEnum values:divestmentfull_depreciationmanualarbitrarylineardate
string · dateamount
description
null | stringexternally_booked
booleanasset_id
string | integer · pattern:^\d+$
A unique record identifier
Get an asset by ID
Returns the asset with the given ID.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
An asset
id
string | integer | null · pattern:^\d+$
A unique record identifier
ledger_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
name
stringpurchase_date
string · datepurchase_value
current_value
value_change_plan
object | nulldisposal
value_changes
object[]sources
object[]
Delete an asset
Deletes the asset with the given ID.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Asset deleted
Update an asset
Updates the asset with the given ID.
If the asset is active (the purchase date is in the past), only the name
can be updated.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Asset updated
id
string | integer | null · pattern:^\d+$
A unique record identifier
ledger_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
name
stringpurchase_date
string · datepurchase_value
current_value
value_change_plan
object | nulldisposal
value_changes
object[]sources
object[]
List all assets
Returns a list of all assets.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
query Parameters
ledger_account_id
string | integer · pattern:^\d+$
Filter on the ID of the ledger account
A unique record identifier
active
boolean | stringWhether to include only active assets
Default: true
Responses
A list of assets
id
string | integer | null · pattern:^\d+$
A unique record identifier
ledger_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
name
stringpurchase_date
string · datepurchase_value
current_value
value_change_plan
object | nulldisposal
value_changes
object[]sources
object[]
Create a new asset
Creates a new asset.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Asset created
id
string | integer | null · pattern:^\d+$
A unique record identifier
ledger_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
name
stringpurchase_date
string · datepurchase_value
current_value
value_change_plan
object | nulldisposal
value_changes
object[]sources
object[]