Updates multiple organizations. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Body
Required
-
Standalone organization ID
-
Organization name
-
ISO 4217 currency code
-
Main language
-
Additional languages
-
Parent organization ID
-
NOGA economic activity code ID
-
Start date (format dd/MM/yyyy)
-
End date (format dd/MM/yyyy)
-
External identifier
-
Whether the organization is archived
-
Whether the organization is a free tier. Ignored if the current user is not an admin
-
Whether the organization is consolidated
-
IDs of consolidated child organizations. Only relevant when isConsolidated = true
-
Stock valuation strategy
Values are
FIFO,LIFO,AVERAGE,UNIT, orTRADING. -
VAT supplier contact ID
-
Whether to use the unsent payroll status
-
UID / company registration number
-
Whether contacts are automatically synchronized
-
Auditor contact ID
-
Whether this is a fiduciary organization
-
Bank account for a contact
-
Office address of an organization
-
Invoice, order and timesheet settings
-
Default chart-of-accounts mapping
-
Disbursement fee tier
-
Timesheet task type defined at organization level
-
Organization payslip configuration for a calendar year
-
Organization salary code (yearly set of salary lines)
-
Custom outgoing mail server configuration
-
Employee group used for payslip line assignment
-
Payslip line codes applicable to this organization
-
EBICS connection configuration for the organization
-
Automatic accrual settings for unused vacation days
-
Named set of document templates for the organization
curl \
--request POST 'https://wyzio.app/api-v1/organization/batch' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"name":"Acme Corp","currency":"CHF","mainLanguage":{"id":42,"code":"string","name":"string","isMain":true},"otherLanguages":[{"id":42,"code":"string","name":"string","isMain":true}],"parentStandaloneOrganizationId":12345678,"nogaCodeId":12345678,"startDate":"01/01/2026","endDate":"31/12/2026","externalId":"EXT-001","archived":false,"isFreeTier":false,"isConsolidated":false,"consolidatedOrganizationIds":[12345678],"stockStrategy":"FIFO","vatSupplierContactId":12345678,"useUnsentPayrollStatus":false,"uid":"CHE-123.456.789","automaticSynchronizationOfContacts":false,"auditorId":12345678,"isFiduciary":false,"banks":[{"id":12345678,"name":"Main Account","accountNumber":"CH56 0483 5012 3456 7800 9","qrIban":"CH44 3199 9123 0008 8901 2","isrCustomerNumber":"01-234567-8","bankCustomerNumber":123456,"swiftBic":"UBSWCHZH80A","bankName":"UBS AG","remark":"Primary account","position":1,"useForReconciliation":true,"chartOfAccounts":12345678,"accountHolderAddress":{"id":12345678,"name":"Main Office","line1":123,"line2":"Suite 4B","city":"Geneva","region":{"id":206},"countryCode2":"CH","countryId":12345678,"postCode":1200,"houseNumber":42,"toTheAttentionOf":"John Doe","position":1,"service":"HR"},"customHolder":false}],"officeAddresses":[{"id":12345678,"name":"Head Office","line1":123,"line2":"Suite 4B","city":"Geneva","region":{"id":206},"postCode":1200,"toTheAttentionOf":"John Doe","position":1,"countryId":12345678,"houseNumber":42,"service":"HR","dtbNumber":"DTB-001","cedNumber":"CED-001","fiduciaryId":12345678,"inventoryLocation":false}],"invoiceSettings":{"id":12345678,"defaultPaymentTerms":30,"emailForInvoiceScans":"scans@example.com","scansTreatedByManagingOrg":false,"validatePurchaseInvoicesByDefaultType":"MANUAL","usePurchaseAccrualAccounting":false,"skipDraftStatus":true,"plannedPaymentDateOffset":5,"purchasePaymentAccountId":12345678,"vatNumber":"CHE-123.456.789 MWST","requestedPaymentTerms":30,"numbering":"{YYYY}-{0000}","timesheets":false,"salesInvoiceConditionsLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"useSalesAccrualAccounting":false,"validateSalesInvoicesByDefaultType":"MANUAL","salesPaymentAccountId":12345678,"useUnsentSalesStatus":true,"lateInvoiceRequestedPaymentTerms":15,"lateInvoiceConditionsLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"orderIdNumbering":"{YYYY}-{0000}","expenseAccountId":12345678,"orderValidity":30,"validateOrdersByDefaultType":"MANUAL","timesheetsAccountId":12345678,"disbursementAccountId":12345678,"salesOrderTermsLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"useUnsentOrdersStatus":true,"forceTreatedAsPi":false,"invoiceEmailContentSettings":{"id":12345678,"salesInvoiceEmailSubjectLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"salesInvoiceEmailContentLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"customSalesInvoiceEmail":false,"lateNoticesEmailSubjectLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"lateNoticesEmailContentLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"customLateNoticeEmail":false,"orderEmailSubjectLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"orderEmailContentLocalizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"customSalesOrderEmail":false},"pdfInvoiceSplitterEnabled":false},"defaultCodes":{"id":12345678,"clientBalanceSheet":12345678,"clientVAT":12345678,"clientVATPaid":12345678,"clientPrePayment":12345678,"clientPL":12345678,"supplierBalanceSheet":12345678,"supplierVAT":12345678,"supplierVATPaid":12345678,"supplierPrePayment":12345678,"retainedEarnings":12345678,"annualProfitLoss":12345678,"stock":12345678,"stockMovements":12345678,"bankExpenses":12345678,"transactionAdjustment":12345678,"accruedExpenses":12345678,"accruedRevenue":12345678,"compensation":12345678,"system":12345678,"lossOnDebtors":12345678,"workInProgress":12345678,"workInvoicedUpfront":12345678,"vatAccount":12345678,"depreciationAccount":12345678,"extraordinaryExpenseAccount":12345678,"extraordinaryIncomeAccount":12345678,"unrealizedFxGainLossChart":12345678,"clientUnrealizedFXProfitLoss":12345678,"supplierUnrealizedFXProfitLoss":12345678,"supplierDiscountAccount":12345678,"fxgainLoss":42},"disbursements":[{"id":12345678,"upToAmount":1000.0,"disbursementFee":10.0}],"tasks":[{"id":12345678,"name":"Development","rate":100.0,"archived":false}],"organizationPayslips":[{"id":12345678,"calendarYear":2026,"claPayslipId":12345678,"organizationPayslipLines":[{"id":12345678,"payslipLineEntityId":12345678,"employeePercentage":5.25,"employerPercentage":8.0,"lowerLimit":0.0,"upperLimit":148200.0,"limitCalculationType":"YEARLY","genderType":"ALL","insurerId":12345678,"code":"IC-001","insurerNumber":"INS-2026","clientNumber":"CL-001","contractNumber":"CN-2026-001","startDate":"01/01/2026"}],"salaryTableLines":[{"id":12345678,"startDate":"01/01/2026","endDate":"31/12/2026","payslipLineId":12345678,"number":100,"description":"Base salary","employeeValue":5000.0,"employerValue":500.0,"quantity":1.0,"employeePercentage":5.25,"employerPercentage":8.0,"organizationEmployeeGroupId":12345678}],"holidays":[{"id":12345678,"date":"25/12/2026","name":"Christmas"}],"organizationOfficePayslips":[{"id":12345678,"organizationOfficeId":12345678,"compensationFundNumber":"CF-001","compensationFundAffiliatedNumber":"CFA-001","compensationFundId":12345678,"childSupportAgencyId":12345678,"childSupportAgencyNumber":"CSA-001","childSupportAgencyAffiliatedNumber":"CSAA-001"}]}],"salaryCodes":[{"id":12345678,"calendarYear":2026,"salaryCodeLines":[{"id":12345678,"payslipLineEntityId":12345678,"number":100,"localizations":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"payslipLineType":"COMPANY_LINE","specialAttributionType":"NONE","isLinkedToAccount":false,"payslipValueSplitType":"NONE","balanceSheetAccountId":12345678,"plOperationsAccountId":12345678,"plAdminsAccountId":12345678}]}],"mailServerConfig":{"id":12345678,"host":"smtp.example.com","port":587,"secureConnectionType":"STARTTLS","userName":"no-reply@example.com","password":"secret","useAuth":true,"fromEmail":"no-reply@example.com","authType":"BASIC","oauthProvider":"GOOGLE","accessToken":"string","refreshToken":"string","clientId":"string","clientSecret":"string","oauthScopes":"https://mail.google.com/"},"employeeGroups":[{"id":12345678,"name":"Management","payslipLineIds":[12345678]}],"payslipLineCodes":["AVS"],"ebics":[{"id":12345678,"ebicsServerId":12345678,"clientNumber":"CH1234","userNumber":"USER01","orderTransmission":false}],"unusedVacationsSettings":{"id":12345678,"autoProvisionUnusedVacations":false,"adminBalanceSheetAccountId":12345678,"adminPlAccountId":12345678,"operationsBalanceSheetAccountId":12345678,"operationsPlAccountId":12345678},"organizationTemplates":[{"id":12345678,"name":"Default","documentTemplate":{"id":12345678,"logo":12345678,"report":12345678,"letterheadPortrait":12345678,"letterheadLandscape":12345678,"salesInvoicesTemplateId":12345678,"lateNoticesTemplateId":12345678,"payslipsTemplateId":12345678,"salesOrderTemplateId":12345678,"deliveryNoteTemplateId":12345678}}]}]'
# Headers
# Payload
[
{
"id": 12345678,
"name": "Acme Corp",
"currency": "CHF",
"mainLanguage": {
"id": 42,
"code": "string",
"name": "string",
"isMain": true
},
"otherLanguages": [
{
"id": 42,
"code": "string",
"name": "string",
"isMain": true
}
],
"parentStandaloneOrganizationId": 12345678,
"nogaCodeId": 12345678,
"startDate": "01/01/2026",
"endDate": "31/12/2026",
"externalId": "EXT-001",
"archived": false,
"isFreeTier": false,
"isConsolidated": false,
"consolidatedOrganizationIds": [
12345678
],
"stockStrategy": "FIFO",
"vatSupplierContactId": 12345678,
"useUnsentPayrollStatus": false,
"uid": "CHE-123.456.789",
"automaticSynchronizationOfContacts": false,
"auditorId": 12345678,
"isFiduciary": false,
"banks": [
{
"id": 12345678,
"name": "Main Account",
"accountNumber": "CH56 0483 5012 3456 7800 9",
"qrIban": "CH44 3199 9123 0008 8901 2",
"isrCustomerNumber": "01-234567-8",
"bankCustomerNumber": 123456,
"swiftBic": "UBSWCHZH80A",
"bankName": "UBS AG",
"remark": "Primary account",
"position": 1,
"useForReconciliation": true,
"chartOfAccounts": 12345678,
"accountHolderAddress": {
"id": 12345678,
"name": "Main Office",
"line1": 123,
"line2": "Suite 4B",
"city": "Geneva",
"region": {
"id": 206
},
"countryCode2": "CH",
"countryId": 12345678,
"postCode": 1200,
"houseNumber": 42,
"toTheAttentionOf": "John Doe",
"position": 1,
"service": "HR"
},
"customHolder": false
}
],
"officeAddresses": [
{
"id": 12345678,
"name": "Head Office",
"line1": 123,
"line2": "Suite 4B",
"city": "Geneva",
"region": {
"id": 206
},
"postCode": 1200,
"toTheAttentionOf": "John Doe",
"position": 1,
"countryId": 12345678,
"houseNumber": 42,
"service": "HR",
"dtbNumber": "DTB-001",
"cedNumber": "CED-001",
"fiduciaryId": 12345678,
"inventoryLocation": false
}
],
"invoiceSettings": {
"id": 12345678,
"defaultPaymentTerms": 30,
"emailForInvoiceScans": "scans@example.com",
"scansTreatedByManagingOrg": false,
"validatePurchaseInvoicesByDefaultType": "MANUAL",
"usePurchaseAccrualAccounting": false,
"skipDraftStatus": true,
"plannedPaymentDateOffset": 5,
"purchasePaymentAccountId": 12345678,
"vatNumber": "CHE-123.456.789 MWST",
"requestedPaymentTerms": 30,
"numbering": "{YYYY}-{0000}",
"timesheets": false,
"salesInvoiceConditionsLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"useSalesAccrualAccounting": false,
"validateSalesInvoicesByDefaultType": "MANUAL",
"salesPaymentAccountId": 12345678,
"useUnsentSalesStatus": true,
"lateInvoiceRequestedPaymentTerms": 15,
"lateInvoiceConditionsLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"orderIdNumbering": "{YYYY}-{0000}",
"expenseAccountId": 12345678,
"orderValidity": 30,
"validateOrdersByDefaultType": "MANUAL",
"timesheetsAccountId": 12345678,
"disbursementAccountId": 12345678,
"salesOrderTermsLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"useUnsentOrdersStatus": true,
"forceTreatedAsPi": false,
"invoiceEmailContentSettings": {
"id": 12345678,
"salesInvoiceEmailSubjectLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"salesInvoiceEmailContentLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"customSalesInvoiceEmail": false,
"lateNoticesEmailSubjectLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"lateNoticesEmailContentLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"customLateNoticeEmail": false,
"orderEmailSubjectLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"orderEmailContentLocalizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"customSalesOrderEmail": false
},
"pdfInvoiceSplitterEnabled": false
},
"defaultCodes": {
"id": 12345678,
"clientBalanceSheet": 12345678,
"clientVAT": 12345678,
"clientVATPaid": 12345678,
"clientPrePayment": 12345678,
"clientPL": 12345678,
"supplierBalanceSheet": 12345678,
"supplierVAT": 12345678,
"supplierVATPaid": 12345678,
"supplierPrePayment": 12345678,
"retainedEarnings": 12345678,
"annualProfitLoss": 12345678,
"stock": 12345678,
"stockMovements": 12345678,
"bankExpenses": 12345678,
"transactionAdjustment": 12345678,
"accruedExpenses": 12345678,
"accruedRevenue": 12345678,
"compensation": 12345678,
"system": 12345678,
"lossOnDebtors": 12345678,
"workInProgress": 12345678,
"workInvoicedUpfront": 12345678,
"vatAccount": 12345678,
"depreciationAccount": 12345678,
"extraordinaryExpenseAccount": 12345678,
"extraordinaryIncomeAccount": 12345678,
"unrealizedFxGainLossChart": 12345678,
"clientUnrealizedFXProfitLoss": 12345678,
"supplierUnrealizedFXProfitLoss": 12345678,
"supplierDiscountAccount": 12345678,
"fxgainLoss": 42
},
"disbursements": [
{
"id": 12345678,
"upToAmount": 1000.0,
"disbursementFee": 10.0
}
],
"tasks": [
{
"id": 12345678,
"name": "Development",
"rate": 100.0,
"archived": false
}
],
"organizationPayslips": [
{
"id": 12345678,
"calendarYear": 2026,
"claPayslipId": 12345678,
"organizationPayslipLines": [
{
"id": 12345678,
"payslipLineEntityId": 12345678,
"employeePercentage": 5.25,
"employerPercentage": 8.0,
"lowerLimit": 0.0,
"upperLimit": 148200.0,
"limitCalculationType": "YEARLY",
"genderType": "ALL",
"insurerId": 12345678,
"code": "IC-001",
"insurerNumber": "INS-2026",
"clientNumber": "CL-001",
"contractNumber": "CN-2026-001",
"startDate": "01/01/2026"
}
],
"salaryTableLines": [
{
"id": 12345678,
"startDate": "01/01/2026",
"endDate": "31/12/2026",
"payslipLineId": 12345678,
"number": 100,
"description": "Base salary",
"employeeValue": 5000.0,
"employerValue": 500.0,
"quantity": 1.0,
"employeePercentage": 5.25,
"employerPercentage": 8.0,
"organizationEmployeeGroupId": 12345678
}
],
"holidays": [
{
"id": 12345678,
"date": "25/12/2026",
"name": "Christmas"
}
],
"organizationOfficePayslips": [
{
"id": 12345678,
"organizationOfficeId": 12345678,
"compensationFundNumber": "CF-001",
"compensationFundAffiliatedNumber": "CFA-001",
"compensationFundId": 12345678,
"childSupportAgencyId": 12345678,
"childSupportAgencyNumber": "CSA-001",
"childSupportAgencyAffiliatedNumber": "CSAA-001"
}
]
}
],
"salaryCodes": [
{
"id": 12345678,
"calendarYear": 2026,
"salaryCodeLines": [
{
"id": 12345678,
"payslipLineEntityId": 12345678,
"number": 100,
"localizations": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"payslipLineType": "COMPANY_LINE",
"specialAttributionType": "NONE",
"isLinkedToAccount": false,
"payslipValueSplitType": "NONE",
"balanceSheetAccountId": 12345678,
"plOperationsAccountId": 12345678,
"plAdminsAccountId": 12345678
}
]
}
],
"mailServerConfig": {
"id": 12345678,
"host": "smtp.example.com",
"port": 587,
"secureConnectionType": "STARTTLS",
"userName": "no-reply@example.com",
"password": "secret",
"useAuth": true,
"fromEmail": "no-reply@example.com",
"authType": "BASIC",
"oauthProvider": "GOOGLE",
"accessToken": "string",
"refreshToken": "string",
"clientId": "string",
"clientSecret": "string",
"oauthScopes": "https://mail.google.com/"
},
"employeeGroups": [
{
"id": 12345678,
"name": "Management",
"payslipLineIds": [
12345678
]
}
],
"payslipLineCodes": [
"AVS"
],
"ebics": [
{
"id": 12345678,
"ebicsServerId": 12345678,
"clientNumber": "CH1234",
"userNumber": "USER01",
"orderTransmission": false
}
],
"unusedVacationsSettings": {
"id": 12345678,
"autoProvisionUnusedVacations": false,
"adminBalanceSheetAccountId": 12345678,
"adminPlAccountId": 12345678,
"operationsBalanceSheetAccountId": 12345678,
"operationsPlAccountId": 12345678
},
"organizationTemplates": [
{
"id": 12345678,
"name": "Default",
"documentTemplate": {
"id": 12345678,
"logo": 12345678,
"report": 12345678,
"letterheadPortrait": 12345678,
"letterheadLandscape": 12345678,
"salesInvoicesTemplateId": 12345678,
"lateNoticesTemplateId": 12345678,
"payslipsTemplateId": 12345678,
"salesOrderTemplateId": 12345678,
"deliveryNoteTemplateId": 12345678
}
}
]
}
]
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}