curl --request POST \
--url https://sandbox.intermezzo.ai/germany/payroll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payCycle": "Year",
"payrollGroup": [
{
"employeeDetails": {
"employeeId": 123,
"yearOfBirth": 1937,
"isMiniJob": false,
"miniJobDetails": {
"miniJobType": "Short Term",
"taxMethod": "Flat Rate",
"pensionExemption": false,
"flatRatePaidByEmployee": false,
"shortTermFlatTaxRate": 20
},
"agreedWorkHoursPerWeek": "0"
},
"taxAttributes": {
"taxClass": "1",
"isFactor": false,
"factor": 0.5005,
"childAllowances": "0",
"isChurchMember": false,
"taxState": "Berlin"
},
"insuranceDetails": {
"pensionInsuranceType": "Statutory",
"healthInsuranceType": "Statutory KV",
"healthInsurerAgencyCode": "<string>",
"privateInsuranceMonthly": "0",
"careInsuranceChildren": 0,
"isMidiJob": false
},
"payDetails": {
"earnings": [
{
"earningType": "<string>",
"amount": 1,
"earningFrequency": "Month",
"isLumpsum": false,
"doGrossup": false
}
],
"benefits": [
{
"name": "<string>",
"value": 1,
"additionalPayments": "0.00",
"privateTrip": "0.00"
}
],
"deductions": [
{
"amount": 1,
"name": "Garnishment"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": 1
}
]
}
}
],
"payDate": "2023-12-25"
}
'{
"payslips": [
{
"employeeId": 123,
"currentPayPeriod": {
"employee": {
"totals": {
"totalGrossWages": "0.00",
"taxableGrossWages": "0.00",
"netWages": "0.00",
"totalDeductions": "0.00",
"totalReimbursements": "0.00",
"netPay": "0.00"
},
"taxes": {
"incomeTaxAssessmentBase": "0.00",
"solidarityTaxAssessmentBase": "0.00",
"incomeTax": "0.00",
"churchTax": "0.00",
"solidarityTax": "0.00",
"totalTax": "0.00"
},
"insurance": {
"insuranceAssessmentBase": "0.00",
"pensionAssessmentBase": "0.00",
"healthInsuranceAdditionalRate": "0.00",
"pensionInsurance": "0.00",
"unemploymentInsurance": "0.00",
"healthInsurance": "0.00",
"careInsurance": "0.00",
"totalInsurance": "0.00"
},
"deductions": [
{
"name": "<string>",
"amount": "0.00"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": "0.00"
}
]
},
"employer": {
"pensionContribution": "0.00",
"healthInsuranceContribution": "0.00",
"careInsuranceContribution": "0.00",
"unemploymentInsuranceContribution": "0.00",
"sickPayInsuranceContribution": "0.00",
"maternityPayInsuranceContribution": "0.00",
"insolvencyInsuranceContribution": "0.00",
"flatRateTaxMiniJob": "0.00",
"totalBurden": "0.00"
}
},
"paymentPeriod": "Month"
}
],
"summary": {
"employer": {
"pensionContribution": "0.00",
"healthInsuranceContribution": "0.00",
"careInsuranceContribution": "0.00",
"unemploymentInsuranceContribution": "0.00",
"sickPayInsuranceContribution": "0.00",
"maternityPayInsuranceContribution": "0.00",
"insolvencyInsuranceContribution": "0.00",
"flatRateTaxMiniJob": "0.00",
"totalBurden": "0.00"
}
}
}curl --request POST \
--url https://sandbox.intermezzo.ai/germany/payroll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payCycle": "Year",
"payrollGroup": [
{
"employeeDetails": {
"employeeId": 123,
"yearOfBirth": 1937,
"isMiniJob": false,
"miniJobDetails": {
"miniJobType": "Short Term",
"taxMethod": "Flat Rate",
"pensionExemption": false,
"flatRatePaidByEmployee": false,
"shortTermFlatTaxRate": 20
},
"agreedWorkHoursPerWeek": "0"
},
"taxAttributes": {
"taxClass": "1",
"isFactor": false,
"factor": 0.5005,
"childAllowances": "0",
"isChurchMember": false,
"taxState": "Berlin"
},
"insuranceDetails": {
"pensionInsuranceType": "Statutory",
"healthInsuranceType": "Statutory KV",
"healthInsurerAgencyCode": "<string>",
"privateInsuranceMonthly": "0",
"careInsuranceChildren": 0,
"isMidiJob": false
},
"payDetails": {
"earnings": [
{
"earningType": "<string>",
"amount": 1,
"earningFrequency": "Month",
"isLumpsum": false,
"doGrossup": false
}
],
"benefits": [
{
"name": "<string>",
"value": 1,
"additionalPayments": "0.00",
"privateTrip": "0.00"
}
],
"deductions": [
{
"amount": 1,
"name": "Garnishment"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": 1
}
]
}
}
],
"payDate": "2023-12-25"
}
'{
"payslips": [
{
"employeeId": 123,
"currentPayPeriod": {
"employee": {
"totals": {
"totalGrossWages": "0.00",
"taxableGrossWages": "0.00",
"netWages": "0.00",
"totalDeductions": "0.00",
"totalReimbursements": "0.00",
"netPay": "0.00"
},
"taxes": {
"incomeTaxAssessmentBase": "0.00",
"solidarityTaxAssessmentBase": "0.00",
"incomeTax": "0.00",
"churchTax": "0.00",
"solidarityTax": "0.00",
"totalTax": "0.00"
},
"insurance": {
"insuranceAssessmentBase": "0.00",
"pensionAssessmentBase": "0.00",
"healthInsuranceAdditionalRate": "0.00",
"pensionInsurance": "0.00",
"unemploymentInsurance": "0.00",
"healthInsurance": "0.00",
"careInsurance": "0.00",
"totalInsurance": "0.00"
},
"deductions": [
{
"name": "<string>",
"amount": "0.00"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": "0.00"
}
]
},
"employer": {
"pensionContribution": "0.00",
"healthInsuranceContribution": "0.00",
"careInsuranceContribution": "0.00",
"unemploymentInsuranceContribution": "0.00",
"sickPayInsuranceContribution": "0.00",
"maternityPayInsuranceContribution": "0.00",
"insolvencyInsuranceContribution": "0.00",
"flatRateTaxMiniJob": "0.00",
"totalBurden": "0.00"
}
},
"paymentPeriod": "Month"
}
],
"summary": {
"employer": {
"pensionContribution": "0.00",
"healthInsuranceContribution": "0.00",
"careInsuranceContribution": "0.00",
"unemploymentInsuranceContribution": "0.00",
"sickPayInsuranceContribution": "0.00",
"maternityPayInsuranceContribution": "0.00",
"insolvencyInsuranceContribution": "0.00",
"flatRateTaxMiniJob": "0.00",
"totalBurden": "0.00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input parameters according to PAP2025
Lohnzahlungszeitraum (LZZ)
Year, Month, Week, Day Show child attributes
Show child attributes
Mitarbeiterkennzeichen - Employee identification number
Geburtsjahr - Birth Year to check eligibility for Altersentlastungsbetrag
1850 <= x <= 2025Whether the employee is a mini-jobber
Mini-job specific details (required when is_mini_job is True)
Show child attributes
Type of mini-job: short-term or earning-limit based
Short Term, Earning Limit Tax method for mini-jobs: flat rate or individual taxation
Flat Rate, Individual Whether the mini-jobber is exempt from pension insurance
Whether the 2% flat rate tax is paid by the employee instead of the employer
The flat tax rate for short-term mini-jobs.
Required if mini_job_type is 'Short Term' and tax_method is 'Flat Rate'.
Can be 20% or 25%.20, 25 Agreed work hours per week
x >= 0Show child attributes
Steuerklasse (STKL) - Tax class
1, 2, 3, 4, 5, 6 Faktorverfahren (AF) - Factor procedure flag (only for tax class IV)
Faktor (F) - Factor for factor procedure
0.001 <= x < 1Must be a multiple of 0.001Kinderfreibeträge (ZKF) - Number of child allowances (decimal place for shared allowances)
0 <= x <= 9Must be a multiple of 0.5Religionsgemeinschaft (R) - Church membership
Bundesländer - Residency state
Baden-Württemberg, Bayern, Berlin, Brandenburg, Bremen, Hamburg, Hessen, Mecklenburg-Vorpommern, Niedersachsen, Nordrhein-Westfalen, Rheinland-Pfalz, Saarland, Sachsen, Sachsen-Anhalt, Schleswig-Holstein, Thüringen Show child attributes
Rentenversicherung (KRV) - Pension insurance type
Statutory, Other Krankenversicherung (PKV) - Health insurance type
Statutory KV, Private KV without employer subsidy, Private KV with employer subsidy Krankenversicherungscode (KVK) - Health insurer agency code
Private Krankenversicherung (PKPV) - Monthly private health/care insurance contribution
x >= 0Anzahl Kinder Pflegeversicherung (PVA) - Number of children for care insurance discount (0-5), choose 5 for 5 or more
0 <= x <= 5Whether the employee is a midi-jobber
Show child attributes
Show child attributes
"Salary"Earnings amount (taxable gross)
x >= 0If recurring, specify the frequency
Year, Month, Week, Day True if onetime (Einmalig). False if recurring (Laufend)
True if the amount needs to be grossed up
Show child attributes
"Company Car"Cost of car
x >= 0Zuzahl. Firmenw. stpfl.
Privatfahrten
x >= 0Payment Date for this payroll
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Lohnzahlungszeitraum (LZZ)
Year, Month, Week, Day Show child attributes
Show child attributes
Was this page helpful?