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{"from": {"2026-01-01"}, "to": {"2026-01-01"}},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_vat_book", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_direction
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_vat_registrations", 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 \"valid_from\": \"2026-01-01\",\n \"status\": \"registered\"\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_vat_registrations", 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_vat_returns", 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 \"period_start\": \"2026-01-01\"\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_vat_returns", 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_vat_returns_id", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_vat_field
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.
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_vat_returns_id_form_items", 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{"from": {"2026-01-01"}, "to": {"2026-01-01"}},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_vat_summary", 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.