KontoCloud
.NET SDK / Operation reference

Banking and exchange rates

39 operations

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

GET

/api/t/{tid}/bank/accounts

#

get_t_tid_bank_accounts

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

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_accounts", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::accounts

POST

/api/t/{tid}/bank/accounts

#

post_t_tid_bank_accounts

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_nostringRequired
bank_namestringRequired
currencystringRequired
gl_account
stringnull
Server default: null
Optional
namestringServer default: ""Optional
request.json
{
  "account_no": "example",
  "bank_name": "example",
  "currency": "MKD"
}

Successful response

201 · application/json

BankAccount

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"account_no\": \"example\",\n  \"bank_name\": \"example\",\n  \"currency\": \"MKD\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_accounts", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/bank.rs · bank::create_account

POST

/api/t/{tid}/bank/assignments/{id}/cancel

#

post_t_tid_bank_assignments_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

201 · application/json

BankStatementDetail

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_assignments_id_cancel", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/bank.rs · bank::cancel_assignment

POST

/api/t/{tid}/bank/import

#

post_t_tid_bank_import

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
accountServer default: nullOptional
formatServer default: nullOptional
profile
string · UUIDnull
Server default: null
Optional
number
stringnull
Server default: null
Optional
date
string · YYYY-MM-DDnull
Server default: null
Optional
opening
Moneynull
Server default: null
Optional
closing
Moneynull
Server default: null
Optional

Request body

Raw bytes; not JSON or multipart. Set Content-Type to match the file.

Successful response

201 · application/json

BankStatementDetail

Call example

.NET SDK

var body = await File.ReadAllBytesAsync("upload.bin");
var result = await client.RequestAsync("post_t_tid_bank_import", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    RawBody = body,
    Headers = new Dictionary<string, string> { ["Content-Type"] = "application/xml", ["X-KC-Filename"] = "example.pdf" }
});

Errors and constraints

bad_filenamestatement_unbalancedunknown_bank_account

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/bank.rs · bank::import

GET

/api/t/{tid}/bank/profiles

#

get_t_tid_bank_profiles

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

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_profiles", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::profiles

POST

/api/t/{tid}/bank/profiles

#

post_t_tid_bank_profiles

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
namestringRequired
configCsvProfileConfigRequired
request.json
{
  "name": "example",
  "config": {
    "columns": {}
  }
}

Successful response

201 · application/json

BankProfile

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"name\": \"example\",\n  \"config\": {\n    \"columns\": {}\n  }\n}");
using var result = await client.JsonAsync("post_t_tid_bank_profiles", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/bank.rs · bank::create_profile

GET

/api/t/{tid}/bank/rules

#

get_t_tid_bank_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

Array<BankRule>

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_rules", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/schemes.rs · schemes::rules

POST

/api/t/{tid}/bank/rules

#

post_t_tid_bank_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
namestringRequired
priorityinteger · i32Server default: 100Optional
directionRuleDirectionRequired
counterparty_accountstringServer default: ""Optional
counterparty_edbstringServer default: ""Optional
text_containsstringServer default: ""Optional
accountstringRequired
partnerServer default: nullOptional
cost_centerServer default: nullOptional
valid_fromstring · YYYY-MM-DDRequired
request.json
{
  "name": "example",
  "direction": "in",
  "account": "example",
  "valid_from": "2026-01-01"
}

Successful response

201 · application/json

BankRule

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"name\": \"example\",\n  \"direction\": \"in\",\n  \"account\": \"example\",\n  \"valid_from\": \"2026-01-01\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_rules", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/schemes.rs · schemes::create_rule

GET

/api/t/{tid}/bank/rules/{id}/automation

#

get_t_tid_bank_rules_id_automation

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

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_rules_id_automation", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/schemes.rs · schemes::policies

POST

/api/t/{tid}/bank/rules/{id}/automation

#

post_t_tid_bank_rules_id_automation

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
bank_accountstring · UUIDRequired
max_amountMoneyRequired
modeBankAutomationModeRequired
request.json
{
  "bank_account": "00000000-0000-4000-8000-000000000001",
  "max_amount": 1,
  "mode": "off"
}

Successful response

200 · application/json

integer · i64

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"bank_account\": \"00000000-0000-4000-8000-000000000001\",\n  \"max_amount\": 1,\n  \"mode\": \"off\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_rules_id_automation", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/schemes.rs · schemes::set_policy

POST

/api/t/{tid}/bank/rules/{id}/automation/preview

#

post_t_tid_bank_rules_id_automation_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
idstring · UUIDRequired

Request body

FieldTypeRequired
bank_accountstring · UUIDRequired
max_amountMoneyRequired
modeBankAutomationModeRequired
request.json
{
  "bank_account": "00000000-0000-4000-8000-000000000001",
  "max_amount": 1,
  "mode": "off"
}

Successful response

200 · application/json

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"bank_account\": \"00000000-0000-4000-8000-000000000001\",\n  \"max_amount\": 1,\n  \"mode\": \"off\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_rules_id_automation_preview", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/schemes.rs · schemes::policy_preview

POST

/api/t/{tid}/bank/rules/{id}/deactivate

#

post_t_tid_bank_rules_id_deactivate

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
idBankRuleIdRequired

Request body

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

Successful response

201 · application/json

BankRule

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_bank_rules_id_deactivate", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/schemes.rs · schemes::deactivate_rule

GET

/api/t/{tid}/bank/statements

#

get_t_tid_bank_statements

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
accountOptional

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_statements", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::statements

GET

/api/t/{tid}/bank/statements/{id}

#

get_t_tid_bank_statements_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
idStatementIdRequired

Query parameters

FieldTypeRequired
summary_onlybooleanServer default: falseOptional

Request body

No request body.

Successful response

200 · application/json

BankStatementDetail

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_statements_id", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::statement

POST

/api/t/{tid}/bank/statements/{id}/apply-rules

#

post_t_tid_bank_statements_id_apply_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
idStatementIdRequired

Request body

No request body.

Successful response

201 · application/json

AutoMatchResult

Call example

.NET SDK

using var result = await client.JsonAsync("post_t_tid_bank_statements_id_apply_rules", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/schemes.rs · schemes::apply_rules

POST

/api/t/{tid}/bank/statements/{id}/assignments

#

post_t_tid_bank_statements_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
idStatementIdRequired

Request body

FieldTypeRequired
line_nointeger · i32Required
amountMoneyRequired
item
LineRefnull
Server default: null
Optional
account
stringnull
Server default: null
Optional
partnerServer default: nullOptional
cost_centerServer default: nullOptional
notestringServer default: ""Optional
request.json
{
  "line_no": 1,
  "amount": 1
}

Successful response

201 · application/json

BankStatementDetail

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"line_no\": 1,\n  \"amount\": 1\n}");
using var result = await client.JsonAsync("post_t_tid_bank_statements_id_assignments", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/bank.rs · bank::assign

POST

/api/t/{tid}/bank/statements/{id}/auto-match

#

post_t_tid_bank_statements_id_auto_match

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
idStatementIdRequired

Request body

No request body.

Successful response

201 · application/json

AutoMatchResult

Call example

.NET SDK

using var result = await client.JsonAsync("post_t_tid_bank_statements_id_auto_match", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::auto_match

POST

/api/t/{tid}/bank/statements/{id}/post

#

post_t_tid_bank_statements_id_post

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
idStatementIdRequired

Request body

No request body.

Successful response

201 · application/json

Entry

Call example

.NET SDK

using var result = await client.JsonAsync("post_t_tid_bank_statements_id_post", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::post

GET

/api/t/{tid}/bank/statements/{id}/rule-suggestions

#

get_t_tid_bank_statements_id_rule_suggestions

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
idStatementIdRequired

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_statements_id_rule_suggestions", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/schemes.rs · schemes::rule_suggestions

GET

/api/t/{tid}/bank/statements/{id}/suggestions

#

get_t_tid_bank_statements_id_suggestions

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
idStatementIdRequired

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_bank_statements_id_suggestions", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::suggestions

GET

/api/t/{tid}/fx-rates

#

get_t_tid_fx_rates

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
currency
stringnull
Optional

Request body

No request body.

Successful response

200 · application/json

Array<FxRate>

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_fx_rates", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/bank.rs · bank::fx_rates

POST

/api/t/{tid}/fx-rates

#

post_t_tid_fx_rates

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
sourceFxSourceRequired
rates
Array<NewFxRate>
Required
request.json
{
  "source": "manual",
  "rates": []
}

Successful response

201 · application/json

Array<FxRate>

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"source\": \"manual\",\n  \"rates\": []\n}");
using var result = await client.JsonAsync("post_t_tid_fx_rates", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/bank.rs · bank::add_fx_rates

POST

/api/t/{tid}/fx-rates/nbrm

#

post_t_tid_fx_rates_nbrm

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
fromstring · YYYY-MM-DDRequired
tostring · YYYY-MM-DDRequired
request.json
{
  "from": "2026-01-01",
  "to": "2026-01-01"
}

Successful response

200 · application/json

NbrmImported

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"from\": \"2026-01-01\",\n  \"to\": \"2026-01-01\"\n}");
using var result = await client.JsonAsync("post_t_tid_fx_rates_nbrm", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

Errors and constraints

bad_periodnbrm_unavailable

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/bank.rs · bank::import_nbrm

GET

/api/t/{tid}/fx-revaluation-policies

#

get_t_tid_fx_revaluation_policies

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

.NET SDK

using var result = await client.JsonAsync("get_t_tid_fx_revaluation_policies", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/fx_revaluation.rs · fx_revaluation::policies

POST

/api/t/{tid}/fx-revaluation-policies

#

post_t_tid_fx_revaluation_policies

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
reverse_next_monthbooleanRequired
gain_account
stringnull
Server default: null
Optional
loss_account
stringnull
Server default: null
Optional
related_gain_account
stringnull
Server default: null
Optional
related_loss_account
stringnull
Server default: null
Optional
related_partners
Array<PartnerId>
Server default: []
Optional
reasonstringServer default: ""Optional
request.json
{
  "valid_from": "2026-01-01",
  "reverse_next_month": true
}

Successful response

201 · application/json

FxRevaluationPolicy

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"valid_from\": \"2026-01-01\",\n  \"reverse_next_month\": true\n}");
using var result = await client.JsonAsync("post_t_tid_fx_revaluation_policies", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/fx_revaluation.rs · fx_revaluation::add_policy

GET

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

#

get_t_tid_fx_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

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_fx_revaluations", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/fx_revaluation.rs · fx_revaluation::list

POST

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

#

post_t_tid_fx_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
datestring · YYYY-MM-DDRequired
notestringServer default: ""Optional
request.json
{
  "date": "2026-01-01"
}

Successful response

201 · application/json

FxRevaluation

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"date\": \"2026-01-01\"\n}");
using var result = await client.JsonAsync("post_t_tid_fx_revaluations", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/fx_revaluation.rs · fx_revaluation::create

GET

/api/t/{tid}/fx-revaluations/preview

#

get_t_tid_fx_revaluations_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

Query parameters

FieldTypeRequired
date
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

FxRevaluationPreview

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_fx_revaluations_preview", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/fx_revaluation.rs · fx_revaluation::preview

GET

/api/t/{tid}/fx-revaluations/{id}

#

get_t_tid_fx_revaluations_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

FxRevaluation

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_fx_revaluations_id", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/fx_revaluation.rs · fx_revaluation::get_one

POST

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

#

post_t_tid_fx_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

FxRevaluation

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_fx_revaluations_id_cancel", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/fx_revaluation.rs · fx_revaluation::cancel

GET

/api/t/{tid}/fx-revaluations/{id}/statement

#

get_t_tid_fx_revaluations_id_statement

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

.NET SDK

var result = await client.RequestAsync("get_t_tid_fx_revaluations_id_statement", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  }
});

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/fx_revaluation.rs · fx_revaluation::statement

GET

/api/t/{tid}/payments

#

get_t_tid_payments

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
status
stringnull
Optional

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_payments", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

Errors and constraints

bad_payment_status

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/payments.rs · payments::list

POST

/api/t/{tid}/payments

#

post_t_tid_payments

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
bank_account_idBankAccountIdRequired
formPaymentFormRequired
payee_namestringRequired
payee_accountstringRequired
payee_bankstringServer default: ""Optional
amountMoneyRequired
purposestringRequired
payment_codestringServer default: ""Optional
payer_refstringServer default: ""Optional
payee_refstringServer default: ""Optional
revenue_codestringServer default: ""Optional
program_codestringServer default: ""Optional
budget_account
stringnull
Server default: null
Optional
urgentbooleanServer default: falseOptional
value_datestring · YYYY-MM-DDRequired
partner_idServer default: nullOptional
entry_id
EntryIdnull
Server default: null
Optional
line_no
integer · i32null
Server default: null
Optional
notestringServer default: ""Optional
request.json
{
  "bank_account_id": "00000000-0000-4000-8000-000000000001",
  "form": "pp30",
  "payee_name": "example",
  "payee_account": "example",
  "amount": 1,
  "purpose": "example",
  "value_date": "2026-01-01"
}

Successful response

200 · application/json

PaymentOrder

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"bank_account_id\": \"00000000-0000-4000-8000-000000000001\",\n  \"form\": \"pp30\",\n  \"payee_name\": \"example\",\n  \"payee_account\": \"example\",\n  \"amount\": 1,\n  \"purpose\": \"example\",\n  \"value_date\": \"2026-01-01\"\n}");
using var result = await client.JsonAsync("post_t_tid_payments", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

Errors and constraints

bad_amountbad_payment_orderpayment_link

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/payments.rs · payments::create

GET

/api/t/{tid}/payments/batches

#

get_t_tid_payments_batches

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

.NET SDK

using var result = await client.JsonAsync("get_t_tid_payments_batches", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/payments.rs · payments::batches

POST

/api/t/{tid}/payments/batches

#

post_t_tid_payments_batches

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
bank_account_idBankAccountIdRequired
order_idsRequired
nlbServer default: nullOptional
request.json
{
  "bank_account_id": "00000000-0000-4000-8000-000000000001",
  "order_ids": []
}

Successful response

200 · application/json

PaymentBatch

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"bank_account_id\": \"00000000-0000-4000-8000-000000000001\",\n  \"order_ids\": []\n}");
using var result = await client.JsonAsync("post_t_tid_payments_batches", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

Errors and constraints

bad_filenamebad_payment_batch

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/payments.rs · payments::create_batch

POST

/api/t/{tid}/payments/payroll

#

post_t_tid_payments_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

Request body

FieldTypeRequired
run_idPayrollRunIdRequired
bank_account_idBankAccountIdRequired
value_datestring · YYYY-MM-DDRequired
request.json
{
  "run_id": 1,
  "bank_account_id": "00000000-0000-4000-8000-000000000001",
  "value_date": "2026-01-01"
}

Successful response

200 · application/json

PayrollPaymentResult

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"run_id\": 1,\n  \"bank_account_id\": \"00000000-0000-4000-8000-000000000001\",\n  \"value_date\": \"2026-01-01\"\n}");
using var result = await client.JsonAsync("post_t_tid_payments_payroll", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

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/payments.rs · payments::from_payroll

GET

/api/t/{tid}/payments/plan

#

get_t_tid_payments_plan

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
due
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_payments_plan", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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/payments.rs · payments::plan

POST

/api/t/{tid}/payments/{id}/cancel

#

post_t_tid_payments_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

PaymentOrder

Call example

.NET SDK

var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n  \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_payments_id_cancel", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
    Query = new Dictionary<string, string> {  },
    Body = body
});

Errors and constraints

already_cancelled

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/payments.rs · payments::cancel

GET

/api/t/{tid}/reconciliation

#

get_t_tid_reconciliation

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
from
string · YYYY-MM-DDnull
Optional
to
string · YYYY-MM-DDnull
Optional

Request body

No request body.

Successful response

200 · application/json

Call example

.NET SDK

using var result = await client.JsonAsync("get_t_tid_reconciliation", new RequestOptions {
    Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
    Query = new Dictionary<string, string> {  }
});

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 · reconciliation

Complete JSON types

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

AccountKind

"general""cash""fixed_asset""fixed_asset_depr""partner"

AttachmentMeta

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

AutoMatchResult

FieldTypeRequired
assignments
Array<integer · i64>
Required
lines
Array<integer · i32>
Required

BankAccount

FieldTypeRequired
idBankAccountIdRequired
account_nostringRequired
bank_namestringRequired
currencystringRequired
gl_accountstringRequired
namestringRequired
created_atstring · ISO 8601Required
created_bystringRequired

BankAssignment

FieldTypeRequired
idinteger · i64Required
line_nointeger · i32Required
amountMoneyRequired
item
LineRefnull
Server default: null
Optional
accountstringRequired
partnerServer default: nullOptional
partner_name
stringnull
Server default: null
Optional
notestringRequired
created_atstring · ISO 8601Required
created_bystringRequired
cancelledServer default: nullOptional
rule
string · UUIDnull
Server default: null
Optional
cost_centerServer default: nullOptional

BankProfile

FieldTypeRequired
idstring · UUIDRequired
namestringRequired
configCsvProfileConfigRequired
created_atstring · ISO 8601Required
created_bystringRequired

BankRule

FieldTypeRequired
idBankRuleIdRequired
namestringRequired
priorityinteger · i32Required
directionRuleDirectionRequired
counterparty_accountstringRequired
counterparty_edbstringRequired
text_containsstringRequired
accountstringRequired
partnerServer default: nullOptional
partner_name
stringnull
Server default: null
Optional
cost_centerServer default: nullOptional
valid_fromstring · YYYY-MM-DDRequired
activebooleanRequired
deactivation_reason
stringnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired

BankStatement

FieldTypeRequired
idStatementIdRequired
bank_account_idBankAccountIdRequired
account_nostringRequired
bank_namestringRequired
currencystringRequired
gl_accountstringRequired
statement_nostringRequired
statement_datestring · YYYY-MM-DDRequired
openingMoneyRequired
closingMoneyRequired
formatStatementFormatRequired
attachment_idAttachmentIdRequired
filenamestringRequired
sha256stringRequired
linesinteger · i64Required
unassignedinteger · i64Required
statusStatementStatusRequired
entry_id
EntryIdnull
Server default: null
Optional
created_atstring · ISO 8601Required
created_bystringRequired

BankStatementLine

FieldTypeRequired
line_nointeger · i32Required
booking_datestring · YYYY-MM-DDRequired
value_date
string · YYYY-MM-DDnull
Server default: null
Optional
amountMoneyRequired
counterparty_namestringRequired
counterparty_accountstringRequired
counterparty_edbstringRequired
referencestringRequired
descriptionstringRequired
bank_refstringRequired
assignedMoneyRequired
assignmentsRequired

BankSuggestion

FieldTypeRequired
line_nointeger · i32Required
itemLineRefRequired
partner_idPartnerIdRequired
partner_namestringRequired
doc_numberstringRequired
amountMoneyRequired
scoreinteger · i32Required
reasons
Array<string>
Required
surebooleanRequired

CsvColumns

FieldTypeRequired
booking_dateOptional
value_dateServer default: nullOptional
amountServer default: nullOptional
debitServer default: nullOptional
creditServer default: nullOptional
counterparty_nameServer default: nullOptional
counterparty_accountServer default: nullOptional
counterparty_edbServer default: nullOptional
referenceServer default: nullOptional
descriptionServer default: nullOptional
bank_refServer default: nullOptional

CsvProfileConfig

FieldTypeRequired
delimiterstringServer default: ";"Optional
date_formatstringServer default: "%d.%m.%Y"Optional
skip_rowsinteger · usizeServer default: 0Optional
headerbooleanServer default: trueOptional
columnsCsvColumnsRequired

DocumentRef

FieldTypeRequired
numberstringRequired
datestring · YYYY-MM-DDRequired
issuerstringRequired

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

Fx

FieldTypeRequired
currencystringRequired
amountMoneyRequired
rate_microinteger · i64Required

FxRate

FieldTypeRequired
idinteger · i64Required
currencystringRequired
datestring · YYYY-MM-DDRequired
rate_microinteger · i64Required
sourceFxSourceRequired
notestringRequired
created_atstring · ISO 8601Required
created_bystringRequired

FxRevaluation

FieldTypeRequired
idFxRevaluationIdRequired
numberstringRequired
datestring · YYYY-MM-DDRequired
entry_idEntryIdRequired
reversal_date
string · YYYY-MM-DDnull
Optional
reversal_entry_id
EntryIdnull
Optional
gain_accountstringRequired
loss_accountstringRequired
related_gain_accountstringRequired
related_loss_accountstringRequired
gainMoneyRequired
lossMoneyRequired
notestringRequired
linesRequired
cancel_reason
stringnull
Optional
storno_entry_id
EntryIdnull
Optional
reversal_storno_entry_id
EntryIdnull
Optional
created_atstring · ISO 8601Required
created_bystringRequired

FxRevaluationLine

FieldTypeRequired
line_nointeger · i32Required
kindFxRevaluationKindRequired
item_entry_id
EntryIdnull
Optional
item_line_no
integer · i32null
Optional
accountstringRequired
partner_idOptional
partner_namestringRequired
doc_numberstringRequired
currencystringRequired
fx_amountMoneyRequired
book_amountMoneyRequired
rate_microinteger · i64Required
new_amountMoneyRequired
diffMoneyRequired
relatedbooleanRequired

FxRevaluationPolicy

FieldTypeRequired
idinteger · i64Required
valid_fromstring · YYYY-MM-DDRequired
reverse_next_monthbooleanRequired
gain_accountstringRequired
loss_accountstringRequired
related_gain_accountstringRequired
related_loss_accountstringRequired
related_partners
Array<PartnerId>
Required
reasonstringRequired
created_atstring · ISO 8601Required
created_bystringRequired

ImportStatement

FieldTypeRequired
accountServer default: nullOptional
formatServer default: nullOptional
profile
string · UUIDnull
Server default: null
Optional
number
stringnull
Server default: null
Optional
date
string · YYYY-MM-DDnull
Server default: null
Optional
opening
Moneynull
Server default: null
Optional
closing
Moneynull
Server default: null
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

LineRef

FieldTypeRequired
entry_idEntryIdRequired
line_nointeger · i32Required

MatchCancellation

FieldTypeRequired
reasonstringRequired
created_atstring · ISO 8601Required
created_bystringRequired

NbrmImport

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

NbrmImported

FieldTypeRequired
fetchedinteger · usizeRequired
added
Array<FxRate>
Required
unchangedinteger · usizeRequired

NewBankAccount

FieldTypeRequired
account_nostringRequired
bank_namestringRequired
currencystringRequired
gl_account
stringnull
Server default: null
Optional
namestringServer default: ""Optional

NewBankAssignment

FieldTypeRequired
line_nointeger · i32Required
amountMoneyRequired
item
LineRefnull
Server default: null
Optional
account
stringnull
Server default: null
Optional
partnerServer default: nullOptional
cost_centerServer default: nullOptional
notestringServer default: ""Optional

NewBankRule

FieldTypeRequired
namestringRequired
priorityinteger · i32Server default: 100Optional
directionRuleDirectionRequired
counterparty_accountstringServer default: ""Optional
counterparty_edbstringServer default: ""Optional
text_containsstringServer default: ""Optional
accountstringRequired
partnerServer default: nullOptional
cost_centerServer default: nullOptional
valid_fromstring · YYYY-MM-DDRequired

NewFxRate

FieldTypeRequired
currencystringRequired
datestring · YYYY-MM-DDRequired
rate_microinteger · i64Required
notestringServer default: ""Optional

NewFxRevaluation

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

NewFxRevaluationPolicy

FieldTypeRequired
valid_fromstring · YYYY-MM-DDRequired
reverse_next_monthbooleanRequired
gain_account
stringnull
Server default: null
Optional
loss_account
stringnull
Server default: null
Optional
related_gain_account
stringnull
Server default: null
Optional
related_loss_account
stringnull
Server default: null
Optional
related_partners
Array<PartnerId>
Server default: []
Optional
reasonstringServer default: ""Optional

NewPaymentOrder

FieldTypeRequired
bank_account_idBankAccountIdRequired
formPaymentFormRequired
payee_namestringRequired
payee_accountstringRequired
payee_bankstringServer default: ""Optional
amountMoneyRequired
purposestringRequired
payment_codestringServer default: ""Optional
payer_refstringServer default: ""Optional
payee_refstringServer default: ""Optional
revenue_codestringServer default: ""Optional
program_codestringServer default: ""Optional
budget_account
stringnull
Server default: null
Optional
urgentbooleanServer default: falseOptional
value_datestring · YYYY-MM-DDRequired
partner_idServer default: nullOptional
entry_id
EntryIdnull
Server default: null
Optional
line_no
integer · i32null
Server default: null
Optional
notestringServer default: ""Optional

PaymentBatch

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

PaymentOrder

FieldTypeRequired
idPaymentOrderIdRequired
bank_account_idBankAccountIdRequired
payer_accountstringRequired
formPaymentFormRequired
payee_namestringRequired
payee_accountstringRequired
payee_bankstringRequired
amountMoneyRequired
purposestringRequired
payment_codestringRequired
payer_refstringRequired
payee_refstringRequired
revenue_codestringRequired
program_codestringRequired
budget_account
stringnull
Server default: null
Optional
urgentbooleanRequired
value_datestring · YYYY-MM-DDRequired
partner_idOptional
entry_id
EntryIdnull
Optional
line_no
integer · i32null
Optional
payroll_run_idOptional
payroll_line_no
integer · i32null
Optional
notestringRequired
statusPaymentStatusRequired
batch_idOptional
cancel_reason
stringnull
Optional
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

RulePreviewLine

FieldTypeRequired
statementstringRequired
lineinteger · i32Required
datestring · YYYY-MM-DDRequired
descriptionstringRequired
amountMoneyRequired

StatementFormat

"camt053""mt940""stb_txt""stb_dat""nlb_txt""kb300""excel""mapped_xml""csv"

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"

RangeQ

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

bank::FxQ

FieldTypeRequired
currency
stringnull
Optional