REST API

Fixed Assets API

Generated from the Celerp 2.9.0 OpenAPI schema, .

GET /fixed-assets/api/assets

List Assets

Parameters

NameInRequiredTypeDescription
class_idquery--string, optionalKeeps only assets in this asset class.
qquery--string, optionalSearch text used to filter matching assets.
limitquery--integerNumber of assets in each page, from 1 to 500. The default is 50.
offsetquery--integerNumber of rows to skip before the page starts. The default is 0.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets

Create Asset

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}

Get Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id \
  -H "Authorization: Bearer $TOKEN"

PATCH /fixed-assets/api/assets/{asset_id}

Update Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/assets/:asset_id \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/add

Add To Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/add \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/components

List Components

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/components \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/correct

Correct

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/correct \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/correct-fields

Correct Fields

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/correct-fields \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/corrections

Request Correction

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/corrections \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/dispose

Dispose Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/dispose \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/files

List Files

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/files \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/files

Upload File

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/files \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/assets/{asset_id}/files/{file_id}

Download File

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
file_idpathyesstringIdentifier of the file held on the asset.

Responses

StatusDescriptionBody
200Successful Response--
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id \
  -H "Authorization: Bearer $TOKEN"

DELETE /fixed-assets/api/assets/{asset_id}/files/{file_id}

Delete File

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
file_idpathyesstringIdentifier of the file to remove.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X DELETE http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id \
  -H "Authorization: Bearer $TOKEN"

PATCH /fixed-assets/api/assets/{asset_id}/files/{file_id}/description

Describe File

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
file_idpathyesstringIdentifier of the file to describe.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id/description \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/files/{file_id}/tag

Tag File

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
file_idpathyesstringIdentifier of the file to tag.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id/tag \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/financial-details

Financial Details

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/financial-details \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/impair

Impair

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/impair \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/maintenance

Create Entry

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/maintenance \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/move

Move Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/move \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/movements

List Movements

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
limitquery--integerNumber of movements in each page, from 1 to 500. The default is 50.
offsetquery--integerNumber of rows to skip before the page starts. The default is 0.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/movements \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/place-in-service

Place In Service

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/place-in-service \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/readings

Record Reading

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/readings \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/reclassify

Reclassify Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reclassify \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/reminders

Create Reminder

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reminders \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/revalue

Revalue

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/revalue \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/reverse-impairment

Reverse Impairment

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reverse-impairment \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/reviews

List Reviews

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/reviews

Record Review

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/reviews/{review_id}/withdraw

Withdraw Review

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
review_idpathyesstringIdentifier of the review to withdraw.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews/:review_id/withdraw \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/assets/{asset_id}/sale

Get Sale

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/sale \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/sale/{action}

Change Sale

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
actionpathyesstringChange to make to the sale: credit, reissue, or cancel. Any other value returns 404.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/sale/:action \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/sell

Sell Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/sell \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/skip

Skip Month

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/skip \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

DELETE /fixed-assets/api/assets/{asset_id}/skip/{month}

Withdraw Skip

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
monthpathyesstringMonth whose skip is withdrawn, as YYYY-MM, such as 2026-09.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X DELETE http://localhost:8000/fixed-assets/api/assets/:asset_id/skip/:month \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/assets/{asset_id}/transfer

Transfer Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/transfer \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/undo

Undo Asset

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/undo-disposal

Undo Disposal

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-disposal \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/undo-latest

Undo Latest

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-latest \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/assets/{asset_id}/undo-move

Undo Move

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-move \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/assets/{asset_id}/upkeep

Get Upkeep

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/upkeep \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/attention

Attention

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/attention \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/checks

List Checks

The standing checks, each with the asset's name as it reads now.

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/checks \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/checks

Create Check

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/checks \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/checks/not-seen

Report Not Seen

Parameters

NameInRequiredTypeDescription
sincequeryyesstringDay to check from, as YYYY-MM-DD. Lists assets with no check on or after this day.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/checks/not-seen \
  -H "Authorization: Bearer $TOKEN"

DELETE /fixed-assets/api/checks/{check_id}

Remove Check

Its author removes a check recorded by mistake, on the day it was recorded.

Parameters

NameInRequiredTypeDescription
check_idpathyesstringIdentifier of the asset check.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X DELETE http://localhost:8000/fixed-assets/api/checks/:check_id \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/class-table

Apply Class Table

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/class-table \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/class-table/{op_key}/undo

Undo Class Table

Parameters

NameInRequiredTypeDescription
op_keypathyesstringKey of the class table change to undo.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/class-table/:op_key/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/classes

List Classes

Parameters

NameInRequiredTypeDescription
include_archivedquery--booleanSet to true to include archived asset classes. The default is false, which lists only active classes.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/classes \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/classes

Create Class

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

PATCH /fixed-assets/api/classes/{class_id}

Update Class

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/classes/:class_id \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/classes/{class_id}/apply-to-assets

Apply To Assets

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/apply-to-assets \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/classes/{class_id}/fix-account

Fix Account

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/fix-account \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/classes/{class_id}/fix-account/undo

Undo Fix Account

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/fix-account/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/classes/{class_id}/revalue

Revalue Class

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/revalue \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/classes/{class_id}/valuer-report

Attach Valuer Report

The valuer's report behind a class revaluation, kept on every asset in use in the class.

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/valuer-report \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/classes/{class_id}/valuer-report/remove

Remove Valuer Report

Take a valuer's report attached by mistake off every asset it was kept on.

Parameters

NameInRequiredTypeDescription
class_idpathyesstringIdentifier of the asset class.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/valuer-report/remove \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/corrections

List Corrections

Parameters

NameInRequiredTypeDescription
asset_idquery--string, optionalKeeps only corrections for this asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/corrections \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/corrections/{correction_id}

Get Correction

Parameters

NameInRequiredTypeDescription
correction_idpathyesstringIdentifier of the asset correction.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/corrections/:correction_id \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/corrections/{correction_id}/apply

Apply Correction

Parameters

NameInRequiredTypeDescription
correction_idpathyesstringIdentifier of the asset correction.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/apply \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/corrections/{correction_id}/undo

Undo Correction

Parameters

NameInRequiredTypeDescription
correction_idpathyesstringIdentifier of the asset correction.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/corrections/{correction_id}/withdraw

Withdraw Correction

Parameters

NameInRequiredTypeDescription
correction_idpathyesstringIdentifier of the asset correction.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/withdraw \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/dispose

Dispose Assets

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/dispose \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/imports

List Imports

Parameters

NameInRequiredTypeDescription
limitquery--integerNumber of imports in each page, from 1 to 500. The default is 50.
offsetquery--integerNumber of rows to skip before the page starts. The default is 0.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/imports \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/imports

Import Register

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/imports \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/imports/{batch_id}

Get Import

Parameters

NameInRequiredTypeDescription
batch_idpathyesstringIdentifier of the asset import.
statusquery--string, optionalKeeps only import rows with this status: imported, rejected, or history. Omit it to list every row.
limitquery--integerNumber of rows in each page. The default is 100.
offsetquery--integerNumber of rows to skip before the page starts. The default is 0.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/imports/:batch_id \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/imports/{batch_id}/rows

Import Rows

Parameters

NameInRequiredTypeDescription
batch_idpathyesstringIdentifier of the asset import.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/imports/:batch_id/rows \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/imports/{batch_id}/undo

Undo Import

Parameters

NameInRequiredTypeDescription
batch_idpathyesstringIdentifier of the asset import.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/imports/:batch_id/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/intake

Intake

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/intake \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/keep-line

Keep Line

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/keep-line \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/link-depreciation

Link Depreciation

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/link-depreciation \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/maintenance/{maint_id}

Get Entry

Parameters

NameInRequiredTypeDescription
maint_idpathyesstringIdentifier of the maintenance record.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/maintenance/:maint_id \
  -H "Authorization: Bearer $TOKEN"

PATCH /fixed-assets/api/maintenance/{maint_id}

Entry Edit

Parameters

NameInRequiredTypeDescription
maint_idpathyesstringIdentifier of the maintenance record.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/maintenance/:maint_id \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/maintenance/{maint_id}/files

Entry File

Parameters

NameInRequiredTypeDescription
maint_idpathyesstringIdentifier of the maintenance record.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/files \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/maintenance/{maint_id}/remove

Entry Remove

Parameters

NameInRequiredTypeDescription
maint_idpathyesstringIdentifier of the maintenance record.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/remove \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/maintenance/{maint_id}/restore

Entry Restore

Parameters

NameInRequiredTypeDescription
maint_idpathyesstringIdentifier of the maintenance record.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/restore \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/mine

List Mine

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/mine \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/mine/{asset_id}

Get Mine

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/mine/:asset_id \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/mine/{asset_id}/confirm

Confirm

The custodian confirms they still hold the asset, today.

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/mine/:asset_id/confirm \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/mine/{asset_id}/files/{file_id}

Download Mine

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
file_idpathyesstringIdentifier of the file held on the asset.

Responses

StatusDescriptionBody
200Successful Response--
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/mine/:asset_id/files/:file_id \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/mine/{asset_id}/problems

Report Problem

The custodian reports a problem, with a photo if they have one; the asset's responsible person is told, or the whole company when no one is responsible.

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/mine/:asset_id/problems \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/move

Move Assets

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/move \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/not-acquisition

Not Acquisition

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/not-acquisition \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/opening

Get Opening

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/opening \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/opening/finish

Finish Opening

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/opening/finish \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/reconciliation

Get Reconciliation

Parameters

NameInRequiredTypeDescription
atquery--string, optionalDate to reconcile at, as YYYY-MM-DD. Defaults to today in the company's time zone. It cannot be earlier than the cutover date.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reconciliation \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/reconciliation/acknowledge

Acknowledge

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/reconciliation/acknowledge \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/register

Register

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/register \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/reminders

List Due

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/reminders \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reminders/{reminder_id}

Get Reminder

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reminders/:reminder_id \
  -H "Authorization: Bearer $TOKEN"

PATCH /fixed-assets/api/reminders/{reminder_id}

Reminder Edit

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/reminders/:reminder_id \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/reminders/{reminder_id}/done

Reminder Done

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/done \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/reminders/{reminder_id}/postpone

Reminder Postpone

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/postpone \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/reminders/{reminder_id}/remove

Reminder Remove

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/remove \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/reminders/{reminder_id}/undo

Reminder Undo

Parameters

NameInRequiredTypeDescription
reminder_idpathyesstringIdentifier of the asset reminder.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/undo \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/book-tax

Book Tax Report

Parameters

NameInRequiredTypeDescription
regimequeryyesstringKey of the tax regime. It must be one of the regimes the company has chosen.
yearqueryyesintegerTax year, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/book-tax \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/depreciation

Depreciation Report

Parameters

NameInRequiredTypeDescription
date_fromqueryyesstringFirst day of the report period, as YYYY-MM-DD.
date_toqueryyesstringLast day of the report period, as YYYY-MM-DD.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/depreciation \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/disposals

Disposals Report

Parameters

NameInRequiredTypeDescription
date_fromqueryyesstringFirst day of the report period, as YYYY-MM-DD.
date_toqueryyesstringLast day of the report period, as YYYY-MM-DD.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/disposals \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/prior-period-adjustments

Prior Period Adjustments

Parameters

NameInRequiredTypeDescription
yearqueryyesintegerYear the adjustments are reported for, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/prior-period-adjustments \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/schedule

Schedule Report

Parameters

NameInRequiredTypeDescription
date_fromqueryyesstringFirst day of the report period, as YYYY-MM-DD.
date_toqueryyesstringLast day of the report period, as YYYY-MM-DD.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/schedule \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reports/statutory/{report_key}

Statutory Report

Parameters

NameInRequiredTypeDescription
report_keypathyesstringKey of the statutory report. A report that is unavailable to the company returns 404.
yearqueryyesintegerTax year, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/reports/statutory/:report_key \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/reviews

Due Reviews

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/reviews \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/runs

List Runs

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/runs \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/runs

Run

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/runs \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/runs/{month}/reverse

Reverse Run

Parameters

NameInRequiredTypeDescription
monthpathyesstringMonth of the depreciation run, as YYYY-MM, such as 2026-09.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/runs/:month/reverse \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

PATCH /fixed-assets/api/settings

Update Settings

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/settings \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/setup

Get Setup

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/setup \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/source-line

Source Line

One source line, waiting or not, with what became of it.

Parameters

NameInRequiredTypeDescription
sourcequery--stringIdentifier of the posted source line, in the form `<document or journal id>:<line>`, as listed by the intake route.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/source-line \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/sources/undo

Undo Source

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/sources/undo \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/start

Start

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X POST http://localhost:8000/fixed-assets/api/start \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/tax-books

Get Tax Book

Parameters

NameInRequiredTypeDescription
regimequeryyesstringKey of the tax regime. It must be one of the regimes the company has chosen.
yearqueryyesintegerTax year, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/tax-books \
  -H "Authorization: Bearer $TOKEN"

PATCH /fixed-assets/api/tax-books/{asset_id}/{regime}

Set Tax Book

Parameters

NameInRequiredTypeDescription
asset_idpathyesstringIdentifier of the fixed asset.
regimepathyesstringKey of the tax regime. It must be one of the regimes the company has chosen.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X PATCH http://localhost:8000/fixed-assets/api/tax-books/:asset_id/:regime \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

POST /fixed-assets/api/tax-years/{regime}/{year}/close

Close Tax Year

Parameters

NameInRequiredTypeDescription
regimepathyesstringKey of the tax regime. It must be one of the regimes the company has chosen.
yearpathyesintegerTax year, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/tax-years/:regime/:year/close \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/tax-years/{regime}/{year}/reopen

Reopen Tax Year

Parameters

NameInRequiredTypeDescription
regimepathyesstringKey of the tax regime. It must be one of the regimes the company has chosen.
yearpathyesintegerTax year, as a four-digit year such as 2026.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/tax-years/:regime/:year/reopen \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

GET /fixed-assets/api/transfer-targets

Transfer Targets

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/fixed-assets/api/transfer-targets \
  -H "Authorization: Bearer $TOKEN"

GET /fixed-assets/api/year-end

Get Year End

Parameters

NameInRequiredTypeDescription
yearqueryyesintegerYear to review, as a four-digit year such as 2026.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/fixed-assets/api/year-end \
  -H "Authorization: Bearer $TOKEN"

POST /fixed-assets/api/year-end/{year}/marks

Mark Year End

Parameters

NameInRequiredTypeDescription
yearpathyesintegerYear the marks are recorded for, as a four-digit year such as 2026.

Request body

object

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/fixed-assets/api/year-end/:year/marks \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... }'