result = client.json("get_t_tid_accounts",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
body = JSON.parse("{\n \"code\": \"example\",\n \"name\": \"example\"\n}")
result = client.json("post_t_tid_accounts",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {}, 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.
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.
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.
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.
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.
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.
result = client.json("get_t_tid_cost_center_rules",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
body = JSON.parse("{\n \"account_prefix\": \"example\",\n \"required\": true,\n \"valid_from\": \"2026-01-01\"\n}")
result = client.json("post_t_tid_cost_center_rules",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {}, 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.
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.
result = client.json("get_t_tid_cost_centers",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
body = JSON.parse("{\n \"code\": \"example\",\n \"name\": \"example\"\n}")
result = client.json("post_t_tid_cost_centers",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {}, 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.
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.
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.
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.
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.
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.
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.
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.
body = JSON.parse("{\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}")
result = client.json("post_t_tid_entries_id_attachments",
params: {"tid" => "00000000-0000-4000-8000-000000000001", "id" => "1"}, query: {}, 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.
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.
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.
result = client.json("get_t_tid_journal",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
User session or the account owner's kc_key_… API key, for reading accessible books only.
Path parameters
Field
Type
Required
tid
string · UUID
Required
Query parameters
Field
Type
Required
year
integer · i32|null
Optional
limit
integer · i64|null
Optional
order
string|null
Optional
Request body
No request body.
Successful response
200 · text/csv
Call example
Ruby SDK
result = client.request("get_t_tid_journal_csv",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
result = client.json("get_t_tid_opening_balances",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
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.
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.
result = client.json("get_t_tid_period_lock",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
body = JSON.parse("{\n \"reason\": \"example\"\n}")
result = client.json("post_t_tid_period_lock",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {}, 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.
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.
result = client.json("get_t_tid_schemes",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
result = client.json("get_t_tid_trial_balance",
params: {"tid" => "00000000-0000-4000-8000-000000000001"}, query: {})
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.