GET
/
organizations
/
{organization_id}
/
employees
/
{employee_id}
/
tax-details
Get Employee Tax Details
curl --request GET \
  --url https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "employee_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "tax_id": "<string>",
  "employment_country": "DE",
  "child_allowances": "0.0",
  "factor_procedure": false,
  "factor": 123,
  "tax_allowance_amount": "0.00",
  "additional_taxable_amount": "0.00",
  "valid_from": "2023-12-25",
  "valid_to": "2023-12-25",
  "church_member": false
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Path Parameters

organization_id
required
employee_id
required

Response

Successful Response

Response model for tax details with metadata fields.

employee_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
id
required
tax_id
string
required
Required string length: 11
tax_class
enum<string>
required

Steuerklasse (STKL)

Available options:
1,
2,
3,
4,
5,
6
employment_country
string
default:DE
Allowed value: "DE"
child_allowances
string
default:0.0
Pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,1}|(?=[\d.]{1,3}0*$)\d{0,1}\.\d{0,1}0*$)
church_confession
enum<string> | null

German church tax confessions as defined in ELSTAM API

Available options:
AK,
EV,
FA,
FB,
FG,
FM,
FR,
FS,
IB,
IH,
IL,
IS,
IW,
JD,
JH,
LT,
RF,
RK,
NA,
KEINE
church_confession_partner
enum<string> | null

Konfession des Partners - ELSTAM: kirchensteuer_partner

Available options:
AK,
EV,
FA,
FB,
FG,
FM,
FR,
FS,
IB,
IH,
IL,
IS,
IW,
JD,
JH,
LT,
RF,
RK,
NA,
KEINE
factor_procedure
boolean
default:false
factor
integer | null
tax_allowance_amount
string | null
default:0.00
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
additional_taxable_amount
string | null
default:0.00
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
valid_from
string<date> | null

Gültig ab Datum - ELSTAM: gueltig_ab

valid_to
string<date> | null

EN: Valid to date | DE: Gültig bis Datum

church_member
boolean
default:false
church_tax_state
enum<string> | null

German states (Bundesländer) with their official names

Available options:
Baden-Württemberg,
Bayern,
Berlin,
Brandenburg,
Bremen,
Hamburg,
Hessen,
Mecklenburg-Vorpommern,
Niedersachsen,
Nordrhein-Westfalen,
Rheinland-Pfalz,
Saarland,
Sachsen,
Sachsen-Anhalt,
Schleswig-Holstein,
Thüringen