KontoCloud
HTTP API / Operation reference

Reports and year closing

55 operations

Example values illustrate the structure. Replace them with your identifiers and data; business validation still applies to these examples.

GET

/api/t/{tid}/asset-counts

#

get_t_tid_asset_counts

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Array<AssetCount>

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::counts

POST

/api/t/{tid}/asset-counts

#

post_t_tid_asset_counts

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
datestring · YYYY-MM-DDRequired
location
stringnull
Server default: null
Optional
descriptionstringServer default: ""Optional
request.json
{
  "date": "2026-01-01"
}

Successful response

201 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::create_count

GET

/api/t/{tid}/asset-counts/{id}

#

get_t_tid_asset_counts_id

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

No request body.

Successful response

200 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::count

POST

/api/t/{tid}/asset-counts/{id}/book

#

post_t_tid_asset_counts_id_book

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

FieldTypeRequired
decisionstringRequired
request.json
{
  "decision": "example"
}

Successful response

200 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1/book' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::book_count

POST

/api/t/{tid}/asset-counts/{id}/cancel

#

post_t_tid_asset_counts_id_cancel

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

FieldTypeRequired
reasonstringRequired
request.json
{
  "reason": "example"
}

Successful response

200 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1/cancel' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::cancel_count

POST

/api/t/{tid}/asset-counts/{id}/entries

#

post_t_tid_asset_counts_id_entries

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

FieldTypeRequired
asset_idAssetIdRequired
foundbooleanRequired
value
Moneynull
Server default: null
Optional
notestringServer default: ""Optional
request.json
{
  "asset_id": "00000000-0000-4000-8000-000000000001",
  "found": true
}

Successful response

200 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1/entries' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::count_entry

POST

/api/t/{tid}/asset-counts/{id}/lock

#

post_t_tid_asset_counts_id_lock

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

No request body.

Successful response

200 · application/json

AssetCountDetail

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1/lock' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::lock_count

GET

/api/t/{tid}/asset-counts/{id}/sheet

#

get_t_tid_asset_counts_id_sheet

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

No request body.

Successful response

200 · text/html

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-counts/1/sheet' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::count_sheet

GET

/api/t/{tid}/asset-disposals

#

get_t_tid_asset_disposals

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
asset_id
string · UUIDnull
Optional

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-disposals' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::disposals

POST

/api/t/{tid}/asset-disposals

#

post_t_tid_asset_disposals

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
asset_idAssetIdRequired
kindAssetDisposalKindRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired
priceMoneyServer defaultOptional
partner_idServer default: nullOptional
proceeds_account
stringnull
Server default: null
Optional
request.json
{
  "asset_id": "00000000-0000-4000-8000-000000000001",
  "kind": "sale",
  "date": "2026-01-01",
  "reason": "example"
}

Successful response

201 · application/json

AssetDisposal

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-disposals' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

bad_fixed_asset_document

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::dispose

POST

/api/t/{tid}/asset-disposals/{id}/cancel

#

post_t_tid_asset_disposals_id_cancel

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

FieldTypeRequired
reasonstringRequired
request.json
{
  "reason": "example"
}

Successful response

200 · application/json

AssetDisposal

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-disposals/1/cancel' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::cancel_disposal

GET

/api/t/{tid}/asset-revaluations

#

get_t_tid_asset_revaluations

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
asset_id
string · UUIDnull
Optional

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-revaluations' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::revaluations

POST

/api/t/{tid}/asset-revaluations

#

post_t_tid_asset_revaluations

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
asset_idAssetIdRequired
datestring · YYYY-MM-DDRequired
fair_valueMoneyRequired
appraisalstringRequired
notestringServer default: ""Optional
request.json
{
  "asset_id": "00000000-0000-4000-8000-000000000001",
  "date": "2026-01-01",
  "fair_value": 1,
  "appraisal": "example"
}

Successful response

201 · application/json

AssetRevaluation

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-revaluations' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::revalue

POST

/api/t/{tid}/asset-revaluations/{id}/cancel

#

post_t_tid_asset_revaluations_id_cancel

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

FieldTypeRequired
reasonstringRequired
request.json
{
  "reason": "example"
}

Successful response

200 · application/json

AssetRevaluation

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/asset-revaluations/1/cancel' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::cancel_revaluation

GET

/api/t/{tid}/assets

#

get_t_tid_assets

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Array<FixedAsset>

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/assets' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/lib.rs · list_assets

POST

/api/t/{tid}/assets

#

post_t_tid_assets

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
inventory_nostringRequired
namestringRequired
asset_accountstringRequired
depr_accountstringRequired
expense_accountstringRequired
rate_bpinteger · i32Required
in_use_fromstring · YYYY-MM-DDRequired
depr_group
stringnull
Server default: null
Optional
request.json
{
  "inventory_no": "example",
  "name": "example",
  "asset_account": "example",
  "depr_account": "example",
  "expense_account": "example",
  "rate_bp": 1,
  "in_use_from": "2026-01-01"
}

Successful response

201 · application/json

FixedAsset

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/assets' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/lib.rs · create_asset

GET

/api/t/{tid}/assets/{id}

#

get_t_tid_assets_id

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

AssetCard

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/assets/00000000-0000-4000-8000-000000000001' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/lib.rs · asset_card

GET

/api/t/{tid}/assets/{id}/assignments

#

get_t_tid_assets_id_assignments

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/assets/00000000-0000-4000-8000-000000000001/assignments' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::assignments

POST

/api/t/{tid}/assets/{id}/assignments

#

post_t_tid_assets_id_assignments

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idstring · UUIDRequired

Request body

FieldTypeRequired
valid_fromstring · YYYY-MM-DDRequired
locationstringServer default: ""Optional
custodianstringServer default: ""Optional
reasonstringServer default: ""Optional
request.json
{
  "valid_from": "2026-01-01"
}

Successful response

201 · application/json

AssetAssignment

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/assets/00000000-0000-4000-8000-000000000001/assignments' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::add_assignment

GET

/api/t/{tid}/cash-flow

#

get_t_tid_cash_flow

Access

User session or the account owner's kc_key_… API key, for reading accessible books only.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

CashFlow

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/cash-flow' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/overview.rs · overview::cash_flow

GET

/api/t/{tid}/cost-center-result

#

get_t_tid_cost_center_result

Access

User session or the account owner's kc_key_… API key, for reading accessible books only.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
fromstring · YYYY-MM-DDRequired
tostring · YYYY-MM-DDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/cost-center-result?from=2026-01-01&to=2026-01-01' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/cost_centers.rs · cost_centers::result

POST

/api/t/{tid}/depreciation

#

post_t_tid_depreciation

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
throughstring · YYYY-MM-DDRequired
posting_datestring · YYYY-MM-DDRequired
request.json
{
  "through": "2026-01-01",
  "posting_date": "2026-01-01"
}

Successful response

201 · application/json

Entry

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/depreciation' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

nothing_to_depreciate

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/lib.rs · depreciation

GET

/api/t/{tid}/depreciation/groups

#

get_t_tid_depreciation_groups

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/depreciation/groups' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::depreciation_groups

GET

/api/t/{tid}/depreciation/tax

#

get_t_tid_depreciation_tax

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
year
integer · i32null
Optional

Request body

No request body.

Successful response

200 · application/json

TaxDepreciationReport

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/depreciation/tax' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

bad_year

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/fixed_assets.rs · fixed_assets::tax_depreciation

GET

/api/t/{tid}/fiscal-years

#

get_t_tid_fiscal_years

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Array<FiscalYear>

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/fiscal-years' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::fiscal_years

GET

/api/t/{tid}/fiscal-years/settings

#

get_t_tid_fiscal_years_settings

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/fiscal-years/settings' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::settings

POST

/api/t/{tid}/fiscal-years/settings

#

post_t_tid_fiscal_years_settings

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
valid_fromstring · YYYY-MM-DDRequired
start_monthinteger · u32Required
reasonstringRequired
request.json
{
  "valid_from": "2026-01-01",
  "start_month": 1,
  "reason": "example"
}

Successful response

201 · application/json

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/fiscal-years/settings' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

bad_fiscal_year

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::set_setting

POST

/api/t/{tid}/grids/{register}

#

post_t_tid_grids_register

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
registerstringRequired

Request body

FieldTypeRequired
offsetinteger · usizeRequired
limitinteger · usizeRequired
searchstringRequired
lookupstringRequired
sort
Array<string, boolean>
null
Optional
filters
Map<string, GridFilter>
Required
include_inactivebooleanRequired
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional
account
stringnull
Optional
partnerOptional
record
integer · i64null
Optional
warehouseOptional
subject
string · UUIDnull
Optional
labels
Map<string, string>
Required
request.json
{
  "offset": 1,
  "limit": 1,
  "search": "example",
  "lookup": "example",
  "filters": {},
  "include_inactive": true,
  "labels": {}
}

Successful response

200 · application/json

GridPage

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/grids/example' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

unknown_grid

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/grid_window.rs · grid_window::page

GET

/api/t/{tid}/performance

#

get_t_tid_performance

Access

User session or the account owner's kc_key_… API key, for reading accessible books only.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

Performance

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/performance' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/overview.rs · overview::performance

GET

/api/t/{tid}/report-check-rules

#

get_t_tid_report_check_rules

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/report-check-rules' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/report_check.rs · report_check::rules

GET

/api/t/{tid}/reports

#

get_t_tid_reports

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::list

GET

/api/t/{tid}/reports/allocations

#

get_t_tid_reports_allocations

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/allocations' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::allocations

POST

/api/t/{tid}/reports/allocations

#

post_t_tid_reports_allocations

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
accountstringRequired
form_idstringRequired
aopstringRequired
request.json
{
  "account": "example",
  "form_id": "example",
  "aop": "example"
}

Successful response

201 · application/json

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/allocations' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::add_allocation

GET

/api/t/{tid}/reports/id/{id}

#

get_t_tid_reports_id_id

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
idinteger · i64Required

Request body

No request body.

Successful response

200 · application/json

AnnualReport

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/id/1' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::get

GET

/api/t/{tid}/reports/size

#

get_t_tid_reports_size

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Array<SizeYear>

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/size' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::sizes

POST

/api/t/{tid}/reports/size

#

post_t_tid_reports_size

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
yearinteger · i32Required
sizeEntitySizeRequired
standardReportingStandardRequired
request.json
{
  "year": 2026,
  "size": "micro",
  "standard": "ifrs"
}

Successful response

200 · application/json

Array<SizeYear>

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/size' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::set_size

POST

/api/t/{tid}/reports/{year}

#

post_t_tid_reports_year

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
yearinteger · i32Required

Request body

FieldTypeRequired
inputsReportInputsServer defaultOptional
documents
Map<string, AttachmentId>
Server default: {}
Optional
reason
stringnull
Server default: null
Optional
request.json
{}

Successful response

201 · application/json

AnnualReport

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/2026' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::generate

GET

/api/t/{tid}/reports/{year}/check

#

get_t_tid_reports_year_check

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
yearinteger · i32Required

Request body

No request body.

Successful response

200 · application/json

AnnualReportCheck

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/2026/check' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/report_check.rs · report_check::check

POST

/api/t/{tid}/reports/{year}/check/confirm

#

post_t_tid_reports_year_check_confirm

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
yearinteger · i32Required

Request body

FieldTypeRequired
notestringRequired
request.json
{
  "note": "example"
}

Successful response

200 · application/json

AnnualReportCheck

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/2026/check/confirm' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/report_check.rs · report_check::confirm

POST

/api/t/{tid}/reports/{year}/preview

#

post_t_tid_reports_year_preview

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired
yearinteger · i32Required

Request body

FieldTypeRequired
inputsReportInputsServer defaultOptional
request.json
{}

Successful response

200 · application/json

AnnualReportPreview

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/reports/2026/preview' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/reports.rs · reports::preview

GET

/api/t/{tid}/statistics/activity-rules

#

get_t_tid_statistics_activity_rules

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/activity-rules' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::activity_rules

POST

/api/t/{tid}/statistics/activity-rules

#

post_t_tid_statistics_activity_rules

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
account_prefixstringRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
request.json
{
  "account_prefix": "example",
  "mode": "main",
  "valid_from": "2026-01-01"
}

Successful response

201 · application/json

StatActivityRule

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/activity-rules' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::add_activity_rule

GET

/api/t/{tid}/statistics/annual

#

get_t_tid_statistics_annual

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
year
integer · i32null
Optional

Request body

No request body.

Successful response

200 · application/json

StatAnnual

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/annual' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::annual

GET

/api/t/{tid}/statistics/annual/csv

#

get_t_tid_statistics_annual_csv

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
year
integer · i32null
Optional

Request body

No request body.

Successful response

200 · text/csv

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/annual/csv' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::annual_csv

GET

/api/t/{tid}/statistics/item-activities

#

get_t_tid_statistics_item_activities

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/item-activities' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::item_activities

POST

/api/t/{tid}/statistics/item-activities

#

post_t_tid_statistics_item_activities

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
item_idstring · UUIDRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
request.json
{
  "item_id": "00000000-0000-4000-8000-000000000001",
  "mode": "main",
  "valid_from": "2026-01-01"
}

Successful response

201 · application/json

StatItemActivity

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/item-activities' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::add_item_activity

GET

/api/t/{tid}/statistics/kipo

#

get_t_tid_statistics_kipo

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
include_openingbooleanServer default: falseOptional
yearinteger · i32Required
quarterinteger · u8Required

Request body

No request body.

Successful response

200 · application/json

KipoReport

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/kipo?year=2026&quarter=1' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

period

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::kipo

GET

/api/t/{tid}/statistics/main-activities

#

get_t_tid_statistics_main_activities

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/main-activities' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::main_activities

POST

/api/t/{tid}/statistics/main-activities

#

post_t_tid_statistics_main_activities

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
nkd_codestringRequired
namestringRequired
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
request.json
{
  "nkd_code": "example",
  "name": "example",
  "valid_from": "2026-01-01"
}

Successful response

201 · application/json

StatMainActivity

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/main-activities' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::add_main_activity

GET

/api/t/{tid}/statistics/payroll

#

get_t_tid_statistics_payroll

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
year
integer · i32null
Optional
quarterlybooleanServer default: falseOptional

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/statistics/payroll' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/statistics.rs · statistics::payroll

GET

/api/t/{tid}/year-close

#

get_t_tid_year_close

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
date
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

YearCloseStatus

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/year-close' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::status

POST

/api/t/{tid}/year-close

#

post_t_tid_year_close

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired
request.json
{
  "date": "2026-01-01",
  "reason": "example"
}

Successful response

201 · application/json

YearClosing

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/year-close' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::close

GET

/api/t/{tid}/year-close/overview

#

get_t_tid_year_close_overview

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Query parameters

FieldTypeRequired
date
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

YearCloseOverview

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/year-close/overview' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::overview

POST

/api/t/{tid}/year-close/reopen

#

post_t_tid_year_close_reopen

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

FieldTypeRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired
request.json
{
  "date": "2026-01-01",
  "reason": "example"
}

Successful response

201 · application/json

YearClosing

Call example

HTTP API

curl --fail-with-body --request POST \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/year-close/reopen' \
  --header "Authorization: Bearer $KC_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary '@request.json'

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::reopen

GET

/api/t/{tid}/year-closings

#

get_t_tid_year_closings

Access

User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.

Path parameters

FieldTypeRequired
tidstring · UUIDRequired

Request body

No request body.

Successful response

200 · application/json

Call example

HTTP API

curl --fail-with-body --request GET \
  'https://api.kontocloud.mk/api/t/00000000-0000-4000-8000-000000000001/year-closings' \
  --header "Authorization: Bearer $KC_TOKEN"

Errors and constraints

Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.

Errors and constraints →

Contract source: crates/kc-api/src/year.rs · year::closings

Complete JSON types

The types below include every nested field for this area. Requiredness describes deserialization; business validation can require additional values.

AnnualReportCheck

FieldTypeRequired
yearinteger · i32Required
report_idinteger · i64Required
versioninteger · i32Required
resultsRequired
errorsinteger · usizeRequired
warningsinteger · usizeRequired
unconfirmed_warningsinteger · usizeRequired

AnnualReportSummary

FieldTypeRequired
idinteger · i64Required
yearinteger · i32Required
versioninteger · i32Required
sizeEntitySizeRequired
standardReportingStandardRequired
reason
stringnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired

AssetAssignment

FieldTypeRequired
idinteger · i64Required
asset_idAssetIdRequired
valid_fromstring · YYYY-MM-DDRequired
locationstringRequired
custodianstringRequired
reasonstringRequired
created_atstring · ISO 8601Required
created_bystringRequired

AssetCardRow

FieldTypeRequired
posting_datestring · YYYY-MM-DDRequired
entry_idEntryIdRequired
yearinteger · i32Required
numberinteger · i32Required
doc_numberstringRequired
descriptionstringRequired
accountstringRequired
costMoneyRequired
depreciationMoneyRequired
netMoneyRequired

AssetCount

FieldTypeRequired
idAssetCountIdRequired
numberstringRequired
datestring · YYYY-MM-DDRequired
location
stringnull
Optional
descriptionstringRequired
statusAssetCountStatusRequired
decision
stringnull
Optional
surplus_entry_id
EntryIdnull
Optional
cancel_reason
stringnull
Optional
storno_entry_id
EntryIdnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired

AssetCountLine

FieldTypeRequired
asset_idAssetIdRequired
inventory_nostringRequired
namestringRequired
expectedbooleanRequired
foundbooleanRequired
locationstringRequired
custodianstringRequired
costMoneyRequired
accumulatedMoneyRequired
value
Moneynull
Optional
resultAssetCountResultRequired

AssetDisposal

FieldTypeRequired
idAssetDisposalIdRequired
numberstringRequired
asset_idAssetIdRequired
inventory_nostringRequired
asset_namestringRequired
kindAssetDisposalKindRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired
priceMoneyRequired
partner_idOptional
partner_namestringRequired
proceeds_account
stringnull
Optional
catch_upMoneyRequired
costMoneyRequired
accumulatedMoneyRequired
net_valueMoneyRequired
gainMoneyRequired
lossMoneyRequired
gain_accountstringRequired
loss_accountstringRequired
entry_idEntryIdRequired
count_idOptional
cancel_reason
stringnull
Optional
storno_entry_id
EntryIdnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired

AssetRevaluation

FieldTypeRequired
idAssetRevaluationIdRequired
numberstringRequired
asset_idAssetIdRequired
inventory_nostringRequired
asset_namestringRequired
datestring · YYYY-MM-DDRequired
fair_valueMoneyRequired
appraisalstringRequired
catch_upMoneyRequired
cost_beforeMoneyRequired
accumulated_beforeMoneyRequired
net_valueMoneyRequired
diffMoneyRequired
reserve_deltaMoneyRequired
pnl_deltaMoneyRequired
reserve_accountstringRequired
income_accountstringRequired
expense_accountstringRequired
entry_idEntryIdRequired
notestringRequired
cancel_reason
stringnull
Optional
storno_entry_id
EntryIdnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired

AttachmentMeta

FieldTypeRequired
idAttachmentIdRequired
filenamestringRequired
content_typestringRequired
sizeinteger · i64Required
sha256stringRequired
created_atstring · ISO 8601Required
created_bystringRequired

BoardCell

FieldTypeRequired
taskCloseTaskRequired
statusCloseStatusRequired
open_countinteger · i64Required
due_date
string · YYYY-MM-DDnull
Server default: null
Optional

CheckConfirmation

FieldTypeRequired
atstring · ISO 8601Required
bystringRequired
notestringRequired

CheckScope

"balance_sheet""income_statement""cross"

CheckTerm

FieldTypeRequired
form_idstringRequired
statementStatementRequired
aopstringRequired
signinteger · i8Required

CloseStatus

"not_started""in_progress""done""overdue""not_applicable"

CloseTask

"bank""open_items""drafts""fx""payroll""vat""lock"

CostCenterResultRow

FieldTypeRequired
cost_centerServer default: nullOptional
code
stringnull
Server default: null
Optional
name
stringnull
Server default: null
Optional
parentServer default: nullOptional
active
booleannull
Server default: null
Optional
revenueMoneyRequired
expensesMoneyRequired
profitMoneyRequired

Deadline

FieldTypeRequired
idDeadlineIdRequired
rule_codestringRequired
namestringRequired
sourcestringRequired
verifiedbooleanRequired
period_startstring · YYYY-MM-DDRequired
period_endstring · YYYY-MM-DDRequired
due_datestring · YYYY-MM-DDRequired
statusDeadlineStatusRequired
note
stringnull
Server default: null
Optional
marked_at
string · ISO 8601null
Server default: null
Optional
marked_by
stringnull
Server default: null
Optional
due_non_workingbooleanServer default: falseOptional

DepreciationGroup

FieldTypeRequired
codestringRequired
valid_fromstring · YYYY-MM-DDRequired
sectionstringRequired
namestringRequired
rate_bpinteger · i32Required
max_rate_bpinteger · i32Required
basisstringRequired

DepreciationRun

FieldTypeRequired
throughstring · YYYY-MM-DDRequired
posting_datestring · YYYY-MM-DDRequired

DocumentRef

FieldTypeRequired
numberstringRequired
datestring · YYYY-MM-DDRequired
issuerstringRequired

DraftStatus

"draft""approved""rejected""posted""cancelled"

DraftSummary

FieldTypeRequired
idDraftIdRequired
versioninteger · i32Required
statusDraftStatusRequired
posting_datestring · YYYY-MM-DDRequired
doc_numberstringRequired
descriptionstringRequired
totalMoneyRequired
balancedbooleanRequired
entry_id
EntryIdnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired
updated_atstring · ISO 8601Required
updated_bystringRequired
offlineServer default: nullOptional
offline_note
stringnull
Server default: null
Optional

Einvoice

FieldTypeRequired
idEinvoiceIdRequired
directionEinvoiceDirectionRequired
kindEinvoiceKindRequired
ref_idOptional
environmentUjpEnvironmentRequired
doc_typestringRequired
doc_numberstringRequired
doc_datestring · YYYY-MM-DDRequired
seller_edbstringRequired
seller_namestringRequired
buyer_edbstringRequired
buyer_namestringRequired
currencystringRequired
netMoneyRequired
vatMoneyRequired
grossMoneyRequired
euid
stringnull
Optional
qr_link
stringnull
Optional
sent_at
string · ISO 8601null
Optional
send_state
stringnull
Optional
last_error
stringnull
Optional
status_code
stringnull
Optional
status_name
stringnull
Optional
decision
stringnull
Optional
storno_idOptional
created_atstring · ISO 8601Required
created_bystringRequired
retry_state
stringnull
Server default: null
Optional
retry_attempt
integer · i32null
Server default: null
Optional
retry_next_at
string · ISO 8601null
Server default: null
Optional
retry_note
stringnull
Server default: null
Optional
invoice_id
integer · i64null
Server default: null
Optional
vat_reportedbooleanServer default: falseOptional
doc_altbooleanServer default: falseOptional
offlinebooleanServer default: falseOptional
receipt_id
integer · i64null
Server default: null
Optional
receipt_number
stringnull
Server default: null
Optional

Entry

FieldTypeRequired
idEntryIdRequired
yearinteger · i32Required
numberinteger · i32Required
posting_datestring · YYYY-MM-DDRequired
event_datestring · YYYY-MM-DDRequired
documentDocumentRefRequired
descriptionstringRequired
kindEntryKindRequired
reverses
EntryIdnull
Optional
reversed_by
EntryIdnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired
lines
Array<Line>
Required
attachmentsServer default: []Optional
vat
Array<VatRecord>
Server default: []
Optional

FiscalYear

FieldTypeRequired
startstring · YYYY-MM-DDRequired
endstring · YYYY-MM-DDRequired
closedbooleanRequired

FiscalYearSetting

FieldTypeRequired
idinteger · i64Required
valid_fromstring · YYYY-MM-DDRequired
start_monthinteger · u32Required
reasonstringRequired
created_atstring · ISO 8601Required
created_bystringRequired

FixedAsset

FieldTypeRequired
idAssetIdRequired
inventory_nostringRequired
namestringRequired
asset_accountstringRequired
depr_accountstringRequired
expense_accountstringRequired
rate_bpinteger · i32Required
in_use_fromstring · YYYY-MM-DDRequired
created_atstring · ISO 8601Required
created_bystringRequired
costMoneyRequired
accumulatedMoneyRequired
locationstringServer default: ""Optional
custodianstringServer default: ""Optional
disposed_on
string · YYYY-MM-DDnull
Server default: null
Optional
depr_group
stringnull
Server default: null
Optional

Fx

FieldTypeRequired
currencystringRequired
amountMoneyRequired
rate_microinteger · i64Required

GridFilter

FieldTypeRequired
textstringRequired
minstringRequired
maxstringRequired
set
Array<string>
null
Optional

GridPage

FieldTypeRequired
totalinteger · usizeRequired
matchedinteger · usizeRequired
rows
Array<GridRecord>
Required
sums
Map<string, integer · i128>
Required
facets
Map<string,
Map<string, integer · usize>
>
Required

GridQuery

FieldTypeRequired
offsetinteger · usizeRequired
limitinteger · usizeRequired
searchstringRequired
lookupstringRequired
sort
Array<string, boolean>
null
Optional
filters
Map<string, GridFilter>
Required
include_inactivebooleanRequired
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional
account
stringnull
Optional
partnerOptional
record
integer · i64null
Optional
warehouseOptional
subject
string · UUIDnull
Optional
labels
Map<string, string>
Required

GridRecord

FieldTypeRequired
steps
Array<BoardCell>
Server default: []
Optional
fx
Fxnull
Server default: null
Optional
period_end
string · YYYY-MM-DDnull
Server default: null
Optional
draftServer default: nullOptional
deadlineServer default: nullOptional
payment_batchServer default: nullOptional
payment_planServer default: nullOptional
bank_accountServer default: nullOptional
electronicServer default: nullOptional
bookedServer default: nullOptional
keystringRequired
cells
Array<string>
Required
stylestringRequired
company
Tenantnull
Server default: null
Optional
can_deletebooleanServer default: falseOptional
hintstringServer default: ""Optional

KipoBalance

FieldTypeRequired
country
stringnull
Optional
currency
stringnull
Optional
receivablebooleanRequired
account_codestringRequired
openingMoneyRequired
increaseMoneyRequired
decreaseMoneyRequired
closingMoneyRequired

KipoLine

FieldTypeRequired
posting_datestring · YYYY-MM-DDRequired
yearinteger · i32Required
numberinteger · i32Required
doc_numberstringRequired
entry_idinteger · i64Required
line_nointeger · i32Required
account_codestringRequired
partner
stringnull
Optional
country
stringnull
Optional
currency
stringnull
Optional
receivablebooleanRequired
increaseMoneyRequired
decreaseMoneyRequired
debitMoneyRequired
creditMoneyRequired

KipoReport

FieldTypeRequired
companystringRequired
edbstringRequired
yearinteger · i32Required
quarterinteger · u8Required
balancesRequired
lines
Array<KipoLine>
Required
opening_lines
Array<KipoLine>
Server default: []
Optional

Line

FieldTypeRequired
line_nointeger · i32Required
accountstringRequired
debitMoneyRequired
creditMoneyRequired
asset
AssetIdnull
Server default: null
Optional
partnerServer default: nullOptional
due_date
string · YYYY-MM-DDnull
Server default: null
Optional
fx
Fxnull
Server default: null
Optional
cost_centerServer default: nullOptional

NewAssetAssignment

FieldTypeRequired
valid_fromstring · YYYY-MM-DDRequired
locationstringServer default: ""Optional
custodianstringServer default: ""Optional
reasonstringServer default: ""Optional

NewAssetCount

FieldTypeRequired
datestring · YYYY-MM-DDRequired
location
stringnull
Server default: null
Optional
descriptionstringServer default: ""Optional

NewAssetCountEntry

FieldTypeRequired
asset_idAssetIdRequired
foundbooleanRequired
value
Moneynull
Server default: null
Optional
notestringServer default: ""Optional

NewAssetDisposal

FieldTypeRequired
asset_idAssetIdRequired
kindAssetDisposalKindRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired
priceMoneyServer defaultOptional
partner_idServer default: nullOptional
proceeds_account
stringnull
Server default: null
Optional

NewAssetRevaluation

FieldTypeRequired
asset_idAssetIdRequired
datestring · YYYY-MM-DDRequired
fair_valueMoneyRequired
appraisalstringRequired
notestringServer default: ""Optional

NewFiscalYearSetting

FieldTypeRequired
valid_fromstring · YYYY-MM-DDRequired
start_monthinteger · u32Required
reasonstringRequired

NewFixedAsset

FieldTypeRequired
inventory_nostringRequired
namestringRequired
asset_accountstringRequired
depr_accountstringRequired
expense_accountstringRequired
rate_bpinteger · i32Required
in_use_fromstring · YYYY-MM-DDRequired
depr_group
stringnull
Server default: null
Optional

NewReportAllocation

FieldTypeRequired
accountstringRequired
form_idstringRequired
aopstringRequired

NewStatActivityRule

FieldTypeRequired
account_prefixstringRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional

NewStatItemActivity

FieldTypeRequired
item_idstring · UUIDRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional

NewStatMainActivity

FieldTypeRequired
nkd_codestringRequired
namestringRequired
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional

PaymentBatch

FieldTypeRequired
idPaymentBatchIdRequired
bank_account_idBankAccountIdRequired
payer_accountstringRequired
formatstringRequired
attachment_idAttachmentIdRequired
filenamestringRequired
sha256stringRequired
order_countinteger · i32Required
totalMoneyRequired
created_atstring · ISO 8601Required
created_bystringRequired

PaymentPlanRow

FieldTypeRequired
entry_idEntryIdRequired
line_nointeger · i32Required
partner_idPartnerIdRequired
partner_namestringRequired
account_codestringRequired
doc_numberstringRequired
due_datestring · YYYY-MM-DDRequired
openMoneyRequired
orderedMoneyRequired
remainingMoneyRequired
payee_account
stringnull
Optional

ReportAllocation

FieldTypeRequired
idinteger · i64Required
accountstringRequired
form_idstringRequired
aopstringRequired
created_atstring · ISO 8601Required
created_bystringRequired

ReportLine

FieldTypeRequired
aopstringRequired
labelstringRequired
kindLineKindRequired
unitstringRequired
current
integer · i64null
Optional
previous
integer · i64null
Optional

Role

"super_admin""admin""accountant""sales""operator""reviewer""viewer"

StatActivityRevenue

FieldTypeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
mainbooleanRequired
accountsMoneyRequired
itemsMoneyRequired
revenueMoneyRequired

StatActivityRule

FieldTypeRequired
idStatSettingIdRequired
account_prefixstringRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired

StatAnnual

FieldTypeRequired
yearinteger · i32Required
main_nkd_code
stringnull
Server default: null
Optional
main_name
stringnull
Server default: null
Optional
revenueMoneyRequired
unassignedMoneyRequired
activitiesRequired
payroll_monthsinteger · i32Required
employees_x100integer · i64Required
grossMoneyRequired
netMoneyRequired
contributionsMoneyRequired
pitMoneyRequired
hours_x100integer · i64Required
contract_peopleinteger · i32Required
contract_grossMoneyRequired
monthsRequired
notestringRequired

StatItemActivity

FieldTypeRequired
idStatSettingIdRequired
item_idstring · UUIDRequired
item_codestringRequired
item_namestringRequired
modeStatActivityModeRequired
nkd_code
stringnull
Server default: null
Optional
namestringServer default: ""Optional
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired

StatMainActivity

FieldTypeRequired
idStatSettingIdRequired
nkd_codestringRequired
namestringRequired
valid_fromstring · YYYY-MM-DDRequired
reason
stringnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired

StatPayrollPeriod

FieldTypeRequired
fromstring · YYYY-MM-DDRequired
tostring · YYYY-MM-DDRequired
payroll_monthsinteger · i32Required
employees_x100integer · i64Required
grossMoneyRequired
netMoneyRequired
contributionsMoneyRequired
pitMoneyRequired
hours_x100integer · i64Required
contract_peopleinteger · i32Required
contract_grossMoneyRequired

Statement

"balance_sheet""income_statement""equity_changes""cash_flows""notes"

TaxDepreciationRow

FieldTypeRequired
asset_idAssetIdRequired
inventory_nostringRequired
namestringRequired
depr_group
stringnull
Optional
rate_bpinteger · i32Required
group_rate_bp
integer · i32null
Optional
max_rate_bp
integer · i32null
Optional
baseMoneyRequired
accountingMoneyRequired
revaluedMoneyRequired
tax_max
Moneynull
Optional
excess
Moneynull
Optional
recognizedMoneyRequired

Tenant

FieldTypeRequired
idTenantIdRequired
namestringRequired
edbstringRequired
created_atstring · ISO 8601Required
roleRoleRequired
archivedbooleanServer default: falseOptional
books_delegatedbooleanServer default: falseOptional

VatDocKind

"invoice""calculation""customs""fiscal_receipt""other"

VatRecord

FieldTypeRequired
line_nointeger · i32Required
directionVatDirectionRequired
treatmentVatTreatmentRequired
advancebooleanServer default: falseOptional
doc_kindVatDocKindRequired
doc_numberstringRequired
doc_datestring · YYYY-MM-DDRequired
counterpartystringRequired
counterparty_vat
stringnull
Server default: null
Optional
baseMoneyRequired
rateinteger · i32Required
vatMoneyRequired
corrects_period
string · YYYY-MM-DDnull
Server default: null
Optional
period_startstring · YYYY-MM-DDRequired
period_endstring · YYYY-MM-DDRequired

VatTreatment

"taxable""exempt_deductible""exempt_nondeductible""not_taxable""reverse_charge""reverse_charge_nondeductible""deductible""nondeductible"

YearCloseCheck

FieldTypeRequired
codestringRequired
okbooleanRequired
detailstringRequired

YearCloseOverview

FieldTypeRequired
startstring · YYYY-MM-DDRequired
endstring · YYYY-MM-DDRequired
closedbooleanRequired
can_closebooleanRequired

YearCloseRequest

FieldTypeRequired
datestring · YYYY-MM-DDRequired
reasonstringRequired

YearClosing

FieldTypeRequired
idinteger · i64Required
startstring · YYYY-MM-DDRequired
endstring · YYYY-MM-DDRequired
statusYearCloseStatusKindRequired
reasonstringRequired
entry_ids
Array<EntryId>
Required
created_atstring · ISO 8601Required
created_bystringRequired

RangeQ

FieldTypeRequired
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional

statistics::KipoQuery

FieldTypeRequired
include_openingbooleanServer default: falseOptional
yearinteger · i32Required
quarterinteger · u8Required

statistics::PayrollQ

FieldTypeRequired
year
integer · i32null
Optional
quarterlybooleanServer default: falseOptional

year::DateQ

FieldTypeRequired
date
string · YYYY-MM-DDnull
Optional