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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_invoices", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "partner": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_invoices_dispatches_partner", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_invoices_id", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{\n \"reason\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_invoices_id_cancel", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_invoices_id_dossier", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_invoices_id_efaktura", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_number_series", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{\n \"doc_type\": \"invoice\",\n \"valid_from\": \"2026-01-01\",\n \"template\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_number_series", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{"doc_type": {"invoice"}, "date": {"2026-01-01"}},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_number_series_preview", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_numbering", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales_documents", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{\n \"kind\": \"quote\",\n \"partner_id\": \"00000000-0000-4000-8000-000000000001\",\n \"doc_date\": \"2026-01-01\",\n \"lines\": []\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales_documents_id", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_accept", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_cancel", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_confirm", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{\n \"to\": \"order\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_convert", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_issue", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.RawMessage("{\n \"amount\": 1\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_payment", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
body := json.RawMessage("{}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_documents_id_reject", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales_cost_centers", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales_customers", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_sales_id", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.
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.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_sales_id_post", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
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.