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_invoice_book",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("book", "example", "from", "2026-01-01", "to", "2026-01-01"), null);
Errors and constraints
bad_bookbad_rangebad_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.
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_invoices",
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 \"direction\": \"out\",\n \"kind\": \"invoice\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"issue_date\": \"2026-01-01\",\n \"account\": \"example\",\n \"lines\": []\n}";
var result = client.json("post_t_tid_invoices",
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_invoices_dispatches_partner",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "partner", "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 \"key\": \"00000000-0000-4000-8000-000000000001\",\n \"invoice\": {\n \"direction\": \"out\",\n \"kind\": \"invoice\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"issue_date\": \"2026-01-01\",\n \"account\": \"example\",\n \"lines\": []\n },\n \"ujp\": {}\n}";
var result = client.json("post_t_tid_invoices_issue",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), body);
Errors and constraints
invoice_key_reused
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_invoices_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_invoices_id_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
already_cancelledinvoice_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_invoices_id_dossier",
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_invoices_id_efaktura",
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.
Path parameters
Field
Type
Required
tid
string · UUID
Required
id
integer · i64
Required
Request body
No request body.
Successful response
200 · text/html
Call example
Java SDK
var result = client.request("get_t_tid_invoices_id_print",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null, Map.of());
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_number_series",
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 \"doc_type\": \"invoice\",\n \"valid_from\": \"2026-01-01\",\n \"template\": \"example\"\n}";
var result = client.json("post_t_tid_number_series",
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_number_series_preview",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of("doc_type", "invoice", "date", "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 body = "{\n \"version\": 1,\n \"valid_from\": \"2026-01-01\",\n \"template\": \"example\",\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_number_series_id_versions",
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_numbering",
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_sales",
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 \"key\": \"00000000-0000-4000-8000-000000000001\",\n \"invoice\": {\n \"direction\": \"out\",\n \"kind\": \"invoice\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"issue_date\": \"2026-01-01\",\n \"account\": \"example\",\n \"lines\": []\n }\n}";
var result = client.json("post_t_tid_sales",
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_sales_documents",
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 \"kind\": \"quote\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"doc_date\": \"2026-01-01\",\n \"lines\": []\n}";
var result = client.json("post_t_tid_sales_documents",
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_sales_documents_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 = "{}";
var result = client.json("post_t_tid_sales_documents_id_accept",
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 = "{}";
var result = client.json("post_t_tid_sales_documents_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 = "{}";
var result = client.json("post_t_tid_sales_documents_id_confirm",
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 \"to\": \"order\"\n}";
var result = client.json("post_t_tid_sales_documents_id_convert",
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 = "{}";
var result = client.json("post_t_tid_sales_documents_id_issue",
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 \"amount\": 1\n}";
var result = client.json("post_t_tid_sales_documents_id_payment",
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.
Path parameters
Field
Type
Required
tid
string · UUID
Required
id
integer · i64
Required
Request body
No request body.
Successful response
200 · application/pdf
Call example
Java SDK
var result = client.request("get_t_tid_sales_documents_id_pdf",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null, Map.of());
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_sales_documents_id_reject",
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 \"version\": 1,\n \"reason\": \"example\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"doc_date\": \"2026-01-01\",\n \"lines\": []\n}";
var result = client.json("post_t_tid_sales_documents_id_versions",
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_sales_cost_centers",
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_sales_customers",
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_sales_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.
Path parameters
Field
Type
Required
tid
string · UUID
Required
id
integer · i64
Required
Request body
Raw bytes; not JSON or multipart. Set Content-Type to match the file.
var body = java.nio.file.Files.readAllBytes(java.nio.file.Path.of("upload.bin"));
var result = client.request("post_t_tid_sales_id_attachments",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body, Map.of("Content-Type", "application/pdf", "X-KC-Filename", "example.pdf"));
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.
Path parameters
Field
Type
Required
tid
string · UUID
Required
id
integer · i64
Required
aid
string · UUID
Required
Request body
No request body.
Successful response
200 · application/octet-stream
Call example
Java SDK
var result = client.request("get_t_tid_sales_id_attachments_aid",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "aid", "00000000-0000-4000-8000-000000000001"), Map.of(), null, Map.of());
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_sales_id_post",
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.