PUT
/
organizations
/
{organization_id}
/
employees
/
{employee_id}
/
tax-details
Update Employee Tax Details
curl --request PUT \
  --url https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tax_id": "<string>"
}
'
import requests

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

payload = { "tax_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tax_id: '<string>'})
};

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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'tax_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

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

curl_close($curl);

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

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

func main() {

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

payload := strings.NewReader("{\n \"tax_id\": \"<string>\"\n}")

req, _ := http.NewRequest("PUT", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/tax-details")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tax_id\": \"<string>\"\n}")
.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::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tax_id\": \"<string>\"\n}"

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

Body

application/json

German-specific tax data with comprehensive validation aligned with ELSTAM API

tax_id
string
required

Steuerliche Identifikationsnummer (11 digits) - ELSTAM: steuerid

Required string length: 11
tax_class
enum<string>
required

Steuerklasse (1-6) - ELSTAM: steuerklasse

Available options:
1,
2,
3,
4,
5,
6
employment_country
string
default:DE
Allowed value: "DE"
child_allowances
default:0.0

Kinderfreibeträge - ELSTAM: kinderfreibetrag

Required range: 0 <= x <= 9Must be a multiple of 0.5
church_confession
enum<string> | null

Konfession für Kirchensteuer - ELSTAM: kirchensteuer

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

Faktorverfahren

factor
integer | null

Factor Percent as Integer (0-999)

Required range: 0 <= x <= 999
tax_allowance_amount

Steuerfreibetrag - ELSTAM: freibetrag monat

Required range: x >= 0
additional_taxable_amount

Hinzurechnungsbetrag - ELSTAM: hinzurechnungsbetrag monat

Required range: x >= 0
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

Kirchensteuerpflichtig

church_tax_state
enum<string> | null

Bundesland for church tax

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

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