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.
var result = client.json("get_t_tid_absences",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"kind\": \"sick\",\n \"date_from\": \"2026-01-01\",\n \"date_to\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_absences",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_absences_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var body = "{\n \"kind\": \"indefinite\",\n \"valid_from\": \"2026-01-01\",\n \"hours_per_week\": 1,\n \"salary_basis\": \"gross\",\n \"salary_amount\": 1,\n \"cost_account\": \"example\",\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_contracts_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_employees",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"embg\": \"example\",\n \"first_name\": \"example\",\n \"last_name\": \"example\"\n}";
var result = client.json("post_t_tid_employees",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_employees_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"first_name\": \"example\",\n \"last_name\": \"example\",\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_employees_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"kind\": \"indefinite\",\n \"valid_from\": \"2026-01-01\",\n \"hours_per_week\": 1,\n \"salary_basis\": \"gross\",\n \"salary_amount\": 1,\n \"cost_account\": \"example\"\n}";
var result = client.json("post_t_tid_employees_id_contracts",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"code\": \"example\"\n}";
var result = client.json("post_t_tid_employees_id_municipality",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "00000000-0000-4000-8000-000000000001"), Map.of(), body);
Errors and constraints
mpin_code
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.
var result = client.json("get_t_tid_leave",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var result = client.json("get_t_tid_leave_balance",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("employee_id", "00000000-0000-4000-8000-000000000001"), null);
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.
var result = client.json("get_t_tid_leave_decisions",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"year\": 2026,\n \"decision_date\": \"2026-01-01\",\n \"date_from\": \"2026-01-01\",\n \"date_to\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_leave_decisions",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_leave_decisions_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_leave_decisions_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var body = "{\n \"date_from\": \"2026-01-01\",\n \"date_to\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_leave_decisions_id_usages",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var result = client.json("get_t_tid_leave_entitlements",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"year\": 2026,\n \"base_days\": 1\n}";
var result = client.json("post_t_tid_leave_entitlements",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_leave_rules",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_leave_usages_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var result = client.json("get_t_tid_leave_working_days",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("from", "2026-01-01", "to", "2026-01-01"), null);
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.
var result = client.json("get_t_tid_payroll_advance_limit",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("employee_id", "00000000-0000-4000-8000-000000000001"), null);
Errors and constraints
internal
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.
var result = client.json("get_t_tid_payroll_advances",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"amount\": 1\n}";
var result = client.json("post_t_tid_payroll_advances",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"amount\": 1\n}";
var result = client.json("post_t_tid_payroll_advances_group",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), body);
Errors and constraints
payroll_advance_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.
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.
var result = client.json("get_t_tid_payroll_advances_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_payroll_advances_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var body = "{\n \"bank_account_id\": \"00000000-0000-4000-8000-000000000001\",\n \"value_date\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_payroll_advances_id_payment_order",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
payroll_advance_paymentpayroll_advance_state
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.
var result = client.json("get_t_tid_payroll_deduction_plans",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"type_code\": \"example\",\n \"total\": 1,\n \"installment\": 1,\n \"start_period\": \"2026-01-01\",\n \"creditor\": \"example\"\n}";
var result = client.json("post_t_tid_payroll_deduction_plans",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"period\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_payroll_deduction_plans_apply",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_payroll_deduction_plans_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_payroll_deduction_plans_id_close",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var result = client.json("get_t_tid_payroll_garnishment_limit",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("employee_id", "00000000-0000-4000-8000-000000000001", "period", "2026-01-01"), null);
Errors and constraints
internal
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.
var result = client.json("get_t_tid_payroll_item_types",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var result = client.json("get_t_tid_payroll_items",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"period\": \"2026-01-01\",\n \"type_code\": \"example\",\n \"amount\": 1\n}";
var result = client.json("post_t_tid_payroll_items",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_payroll_items_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var result = client.json("post_t_tid_payroll_mpin_epdd_id_check",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
Errors and constraints
mpin_status_final
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.
var result = client.json("get_t_tid_payroll_mpin_municipalities",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var result = client.json("get_t_tid_payroll_mpin_settings",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{}";
var result = client.json("post_t_tid_payroll_mpin_settings",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), body);
Errors and constraints
mpin_code
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.
var result = client.json("get_t_tid_payroll_parameters",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var result = client.json("get_t_tid_payroll_preview",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"period\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_payroll_preview",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_payroll_runs",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
Errors and constraints
internal
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.
var body = "{\n \"period\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_payroll_runs",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_payroll_runs_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var result = client.json("get_t_tid_payroll_runs_id_header",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var result = client.json("get_t_tid_payroll_runs_id_mpin",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{\n \"reference\": \"example\"\n}";
var result = client.json("post_t_tid_payroll_runs_id_mpin",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
missing_reference
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.
var result = client.json("get_t_tid_payroll_runs_id_mpin_epdd",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var result = client.json("post_t_tid_payroll_runs_id_mpin_epdd",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
Errors and constraints
mpin_already_acceptedmpin_usernamesign_failed
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.
var result = client.json("post_t_tid_payroll_runs_id_mpin_epdd_sign",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
Errors and constraints
sign_failed
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.
var body = "{}";
var result = client.json("post_t_tid_payroll_runs_id_post",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
internal
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.
var result = client.json("get_t_tid_travel_allowance_rates",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"country\": \"example\",\n \"valid_from\": \"2026-01-01\",\n \"currency\": \"MKD\",\n \"amount\": 1,\n \"source\": \"example\",\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_travel_allowance_rates",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_travel_expenses_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
travel_state
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.
var result = client.json("get_t_tid_travel_orders",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
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.
var body = "{\n \"employee_id\": \"00000000-0000-4000-8000-000000000001\",\n \"purpose\": \"example\",\n \"destination\": \"example\",\n \"country\": \"example\",\n \"transport\": \"company_vehicle\",\n \"depart_at\": \"example\",\n \"return_at\": \"example\"\n}";
var result = client.json("post_t_tid_travel_orders",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), 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.
var result = client.json("get_t_tid_travel_orders_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_travel_orders_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var body = "{\n \"kind\": \"per_diem\",\n \"description\": \"example\",\n \"doc_date\": \"2026-01-01\",\n \"amount\": 1\n}";
var result = client.json("post_t_tid_travel_orders_id_expenses",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.
var body = "{\n \"kind\": \"advance\",\n \"bank_account_id\": \"00000000-0000-4000-8000-000000000001\",\n \"value_date\": \"2026-01-01\"\n}";
var result = client.json("post_t_tid_travel_orders_id_payment_order",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
travel_payment
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.
var result = client.json("get_t_tid_travel_orders_id_preview",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
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.
var body = "{}";
var result = client.json("post_t_tid_travel_orders_id_settle",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), 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.