curl --request POST \
--url https://sandbox.intermezzo.ai/organizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"legalName": "<string>",
"legalAddress": "<string>",
"correspondenceAddress": "<string>",
"dbaName": "<string>",
"registrationCountry": "DE",
"incorporationDate": "2023-12-25",
"website": "<string>",
"externalRef": "<string>",
"workSites": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"name": "<string>",
"address": "<string>",
"correspondenceAddress": "<string>",
"isActive": true,
"isPrimary": true,
"contacts": [
{
"name": "<string>",
"email": "jsmith@example.com",
"phone": {
"phoneNumber": "<string>",
"phoneType": "mobile"
},
"roles": [
"<string>"
]
}
],
"taxIdentifiers": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"taxData": {
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"country": "<string>",
"businessType": "Sole Trader",
"payeReferenceNumber": "<string>",
"accountsOfficeReference": "<string>"
}
}
],
"insuranceData": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"insuranceCountry": "<string>",
"worksiteLocationNumber": "98797889",
"accidentInsuranceCompanyNumber": "98797889",
"accidentInsurancePin": "DE-WS-PIN-456",
"payrollServiceProviderNumber": "98797889",
"payrollProcessingLocationNumber": "98797889"
}
]
}
],
"bankAccounts": [
{
"financialInstitutionName": "Deutsche Bank",
"accountNumber": "DE89370400440532013000",
"routingNumber": "<string>",
"iban": "<string>",
"isActive": true,
"isPrimary": true
}
],
"contacts": [
{
"name": "<string>",
"email": "jsmith@example.com",
"phone": {
"phoneNumber": "<string>",
"phoneType": "mobile"
},
"roles": [
"<string>"
]
}
],
"insuranceData": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"insuranceCountry": "<string>",
"companyNumber": "98797889",
"unrs": "DE987654321",
"accidentInsuranceCompanyNumber": "98797889",
"accidentInsurancePin": "12345",
"payrollServiceProviderNumber": "98797889",
"payrollProcessingLocationNumber": "98797889",
"economicSector": 1,
"u1Selected": true,
"u2Selected": true,
"u3Selected": true,
"agencyId": "<string>",
"alternateAgencyId": "<string>",
"contactId": "<string>"
}
],
"sepaMandates": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"mandateReference": "<string>",
"creditorId": "<string>",
"bankAccountId": "<string>",
"isRecurring": true
}
],
"taxIdentifiers": [],
"preferences": {
"isInsolvent": false,
"insolvencyStartDate": "2023-12-25",
"insolvencyEndDate": "2023-12-25",
"insolvencyCompanyNumber": "<string>",
"insuranceSubsidyMethod": "remuneration",
"extraPaidLeaveDays": 123,
"insuranceCreditPreference": "<string>",
"firstPayrollDate": "2023-12-25",
"lastPayrollDate": "2023-12-25",
"firstPayrollIntermezzo": "2023-12-25",
"daysForSicknessCertificate": 123,
"additionalChildcareSickDaysReason": 0
}
}'