POST /api-v1/organization/batch

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    ID of organization, for which the operation must be performed

application/json

Body Required

  • id integer
  • name string Required
  • officeAddresses array[object]
    Hide officeAddresses attributes Show officeAddresses attributes object
    • id integer
    • name string
    • line1 string Required
    • line2 string
    • city string Required
    • region object
      Hide region attributes Show region attributes object
      • id integer
      • name string
      • code string
      • taxMode string

        Values are ANNUALLY or MONTHLY.

    • countryCode2 string Required
    • postCode string Required
    • toTheAttentionOf string
    • position integer(int32)
    • countryId integer
    • houseNumber string
    • service string
    • dtbNumber string
    • cedNumber string
    • fiduciaryId integer
  • currency string Required
  • banks array[object]
    Hide banks attributes Show banks attributes object
    • id integer
    • name string Required
    • accountNumber string
    • qrIban string
    • isrCustomerNumber string
    • bankCustomerNumber string

      Format should match the following pattern: ^([1-9][0-9]*)*$.

    • swiftBic string
    • bankName string
    • remark string
    • position integer(int32)
    • useForReconciliation boolean
    • chartOfAccounts integer Required
    • accountHolderAddress object
      Hide accountHolderAddress attributes Show accountHolderAddress attributes object
      • id integer
      • name string Required
      • line1 string
      • line2 string
      • city string
      • region object
        Hide region attributes Show region attributes object
        • id integer
        • name string
        • code string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • countryCode2 string
      • postCode string
      • toTheAttentionOf string
      • position integer(int32)
      • houseNumber string
      • countryId integer Required
      • service string
      • readOnly boolean
    • customHolder boolean
  • mainLanguage object Required
    Hide mainLanguage attributes Show mainLanguage attributes object
    • id integer
    • code string
    • name string
    • isMain boolean
  • otherLanguages array[object]
    Hide otherLanguages attributes Show otherLanguages attributes object
    • id integer
    • code string
    • name string
    • isMain boolean
  • parentStandaloneOrganizationId integer
  • managingStandaloneOrganizationId integer(int32)
  • managingStandaloneOrganizationName string
  • managingChildrenOrganizationIds array[integer]
  • invoiceSettings object
    Hide invoiceSettings attributes Show invoiceSettings attributes object
    • id integer
    • defaultPaymentTerms string
    • emailForInvoiceScans string
    • scansTreatedByManagingOrg boolean
    • validatePurchaseInvoicesByDefaultType string

      Values are NONE, SINGLE, or DOUBLE.

    • usePurchaseAccrualAccounting boolean
    • skipDraftStatus boolean
    • plannedPaymentDateOffset integer(int32)
    • purchasePaymentAccountId integer
    • vatNumber string

      Format should match the following pattern: ^(CHE-\d{3}\.\d{3}\.\d{3}.*)$|^$.

    • requestedPaymentTerms string
    • numbering string
    • timesheets boolean
    • salesInvoiceConditionsLocalizations object
      Hide salesInvoiceConditionsLocalizations attributes Show salesInvoiceConditionsLocalizations attributes object
      • id integer
      • en string
      • fr string
      • de string
      • it string
    • useSalesAccrualAccounting boolean
    • validateSalesInvoicesByDefaultType string

      Values are NONE, SINGLE, or DOUBLE.

    • salesPaymentAccountId integer
    • useUnsentSalesStatus boolean
    • lateInvoiceRequestedPaymentTerms string
    • lateInvoiceConditionsLocalizations object
      Hide lateInvoiceConditionsLocalizations attributes Show lateInvoiceConditionsLocalizations attributes object
      • id integer
      • en string
      • fr string
      • de string
      • it string
    • orderIdNumbering string
    • expenseAccountId integer Required
    • orderValidity string
    • validateOrdersByDefaultType string

      Values are NONE, SINGLE, or DOUBLE.

    • timesheetsAccountId integer
    • disbursementAccountId integer
    • salesOrderTermsLocalizations object
      Hide salesOrderTermsLocalizations attributes Show salesOrderTermsLocalizations attributes object
      • id integer
      • en string
      • fr string
      • de string
      • it string
    • useUnsentOrdersStatus boolean
    • forceTreatedAsPi boolean
    • invoiceEmailContentSettings object
      Hide invoiceEmailContentSettings attributes Show invoiceEmailContentSettings attributes object
      • id integer
      • salesInvoiceEmailSubjectLocalizations object
        Hide salesInvoiceEmailSubjectLocalizations attributes Show salesInvoiceEmailSubjectLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • salesInvoiceEmailContentLocalizations object
        Hide salesInvoiceEmailContentLocalizations attributes Show salesInvoiceEmailContentLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • customSalesInvoiceEmail boolean
      • lateNoticesEmailSubjectLocalizations object
        Hide lateNoticesEmailSubjectLocalizations attributes Show lateNoticesEmailSubjectLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • lateNoticesEmailContentLocalizations object
        Hide lateNoticesEmailContentLocalizations attributes Show lateNoticesEmailContentLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • customLateNoticeEmail boolean
      • orderEmailSubjectLocalizations object
        Hide orderEmailSubjectLocalizations attributes Show orderEmailSubjectLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • orderEmailContentLocalizations object
        Hide orderEmailContentLocalizations attributes Show orderEmailContentLocalizations attributes object
        • id integer
        • en string
        • fr string
        • de string
        • it string
      • customSalesOrderEmail boolean
    • pdfInvoiceSplitterEnabled boolean
  • nogaCodeId integer
  • warnings string
  • startDate string Required
  • endDate string
  • defaultCodes object
    Hide defaultCodes attributes Show defaultCodes attributes object
    • id integer
    • clientBalanceSheet integer Required
    • clientVAT integer Required
    • clientVATPaid integer Required
    • clientPrePayment integer Required
    • clientPL integer Required
    • supplierBalanceSheet integer Required
    • supplierVAT integer Required
    • supplierVATPaid integer Required
    • supplierPrePayment integer
    • retainedEarnings integer Required
    • annualProfitLoss integer Required
    • stock integer Required
    • stockMovements integer Required
    • bankExpenses integer Required
    • transactionAdjustment integer Required
    • accruedExpenses integer
    • accruedRevenue integer
    • compensation integer Required
    • system integer Required
    • lossOnDebtors integer Required
    • workInProgress integer
    • workInvoicedUpfront integer
    • vatAccount integer Required
    • depreciationAccount integer Required
    • extraordinaryExpenseAccount integer Required
    • extraordinaryIncomeAccount integer Required
    • unrealizedFxGainLossChart integer Required
    • clientUnrealizedFXProfitLoss integer Required
    • supplierUnrealizedFXProfitLoss integer Required
    • fXGainLoss integer
  • disbursements array[object]
    Hide disbursements attributes Show disbursements attributes object
    • id integer
    • upToAmount string
    • disbursementFee string
  • tasks array[object]
    Hide tasks attributes Show tasks attributes object
    • id integer
    • name string
    • rate number
    • organizationId integer
    • archived boolean
  • organizationPayslips array[object]
    Hide organizationPayslips attributes Show organizationPayslips attributes object
    • id integer
    • calendarYear integer(int32)
    • claPayslipId integer
    • organizationPayslipLines array[object]
      Hide organizationPayslipLines attributes Show organizationPayslipLines attributes object
      • id integer
      • payslipLineEntityId integer Required
      • employeePercentage string
      • employerPercentage string
      • lowerLimit string
      • upperLimit string
      • limitCalculationType string

        Values are TOTAL or OVER_THE_LOWER_LIMIT.

      • organizationEmployeeGroupId integer
      • genderType string

        Values are MALE, FEMALE, or OTHER.

      • insurerId integer
      • insurerNumber string
      • clientNumber string
      • contractNumber string
      • startDate string(date-time)
    • salaryTableLines array[object]
      Hide salaryTableLines attributes Show salaryTableLines attributes object
      • id integer
      • startDate string
      • endDate string
      • payslipEntityId integer
      • payslipLineId string
      • organizationPayslipEntityId integer
      • staffPayslipEntityId integer
      • number integer
      • description string
      • employeeValue string
      • employerValue string
      • quantity string
      • employeePercentage string
      • employerPercentage string
      • organizationEmployeeGroupId integer
    • holidays array[object]
      Hide holidays attributes Show holidays attributes object
      • id integer
      • date string Required
      • name string Required
    • organizationOfficePayslips array[object]
      Hide organizationOfficePayslips attributes Show organizationOfficePayslips attributes object
      • id integer
      • organizationOfficeId integer
      • compensationFundNumber string

        Format should match the following pattern: ^[0-9]{3}.[0-9]{1,3}$.

      • affiliatedNumber string
    • touched boolean
  • stockStrategy string

    Values are FIFO, LIFO, AVERAGE, UNIT, or TRADING.

  • allocationRulesId integer
  • allocationRulesFileName string
  • departments array[object]
    Hide departments attributes Show departments attributes object
    • id integer
    • parentId integer
    • name string
    • position integer(int32)
    • children array[object]
    • isDeleted boolean
  • externalId string
  • salaryCodes array[object]
    Hide salaryCodes attributes Show salaryCodes attributes object
    • id integer
    • calendarYear integer(int32)
    • salaryCodeLines array[object]
      Hide salaryCodeLines attributes Show salaryCodeLines attributes object
      • id integer
      • payslipLineEntityId integer
      • salaryCodeId integer
      • number integer
      • localizations object
        Hide localizations attributes Show localizations attributes object
        • en string
        • fr string
        • de string
        • it string
      • payslipLineType string

        Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

      • specialAttributionType string

        Values are BASE_SALARY, GROSS_SALARY, NET_SALARY, PAYABLE, CHARGES, EMPLOYEE_ALLOCATION, or SYSTEM_LINE_ADJUSTMENT.

      • isLinkedToAccount boolean
      • payslipValueSplitType string

        Values are EMPLOYEE, EMPLOYER, or BOTH.

      • balanceSheetAccountId integer
      • plOperationsAccountId integer
      • plAdminsAccountId integer
  • contactId integer
  • archived boolean
  • isFreeTier boolean
  • mailServerConfig object
    Hide mailServerConfig attributes Show mailServerConfig attributes object
    • id integer
    • host string Required
    • port integer(int32) Required
    • secureConnectionType string Required

      Values are TLS or NONE.

    • userName string
    • password string
    • useAuth boolean
    • fromEmail string Required
  • employeeGroups array[object]
    Hide employeeGroups attributes Show employeeGroups attributes object
    • id integer
    • name string Required
    • code string

      Format should match the following pattern: ^[0-9]{2}$.

  • vatSupplierContactId integer
  • useUnsentPayrollStatus boolean
  • automaticSynchronizationOfContacts boolean
  • uid string
  • ebics array[object]
    Hide ebics attributes Show ebics attributes object
    • id integer
    • organizationId integer
    • ebicsServerId integer
    • clientNumber string Required
    • userNumber string Required
    • status string
    • orderTransmission boolean
    • warnings string
    • ebicsServerName string
    • ebicsServerSwiftBic string
  • unusedVacationsSettings object
    Hide unusedVacationsSettings attributes Show unusedVacationsSettings attributes object
    • id integer
    • autoProvisionUnusedVacations boolean
    • adminBalanceSheetAccountId integer Required
    • adminPlAccountId integer Required
    • operationsBalanceSheetAccountId integer Required
    • operationsPlAccountId integer Required
  • isConsolidated boolean
  • consolidatedOrganizationIds array[integer]
  • organizationTemplates array[object]
    Hide organizationTemplates attributes Show organizationTemplates attributes object
    • id integer
    • organizationId integer Required
    • documentTemplate object
      Hide documentTemplate attributes Show documentTemplate attributes object
      • id integer
      • report integer
      • letterheadPortrait integer
      • letterheadLandscape integer
      • salesInvoicesTemplate object
        Hide salesInvoicesTemplate attributes Show salesInvoicesTemplate attributes object
        • id integer
        • name string Required
        • templateType string

          Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

        • countryId integer
        • sourceTemplate object Required
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • isActive boolean
        • description string
      • lateNoticesTemplate object
        Hide lateNoticesTemplate attributes Show lateNoticesTemplate attributes object
        • id integer
        • name string Required
        • templateType string

          Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

        • countryId integer
        • sourceTemplate object Required
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • isActive boolean
        • description string
      • payslipsTemplate object
        Hide payslipsTemplate attributes Show payslipsTemplate attributes object
        • id integer
        • name string Required
        • templateType string

          Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

        • countryId integer
        • sourceTemplate object Required
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • isActive boolean
        • description string
      • salesOrderTemplate object
        Hide salesOrderTemplate attributes Show salesOrderTemplate attributes object
        • id integer
        • name string Required
        • templateType string

          Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

        • countryId integer
        • sourceTemplate object Required
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • isActive boolean
        • description string
      • deliveryNoteTemplate object
        Hide deliveryNoteTemplate attributes Show deliveryNoteTemplate attributes object
        • id integer
        • name string Required
        • templateType string

          Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

        • countryId integer
        • sourceTemplate object Required
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • id integer
          • fileExtension string
          • size integer
          • name string
          • createdOn string(date-time)
          • organizationId integer
        • isActive boolean
        • description string
    • name string Required
    • isDefault boolean
  • auditorId integer
  • isFiduciary boolean
  • validateOrdersByDefaultType string

    Values are NONE, SINGLE, or DOUBLE.

  • validatePurchaseInvoicesByDefaultType string

    Values are NONE, SINGLE, or DOUBLE.

  • validateSalesInvoicesByDefaultType string

    Values are NONE, SINGLE, or DOUBLE.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • items array[object]
      Hide items attributes Show items attributes object
      • errorCode object
        Hide errorCode attributes Show errorCode attributes object
        • errorCode string

          Values are NO_ERROR, NOT_IMPLEMENTED_YET, CONTACT_NOT_FOUND, FIELD_REQUIRED, VALIDATION_ERROR, DUPLICATION_ERROR, UNIQUE_CONSTRAINT_VIOLATION, WRONG_PASSWORD_FORMAT, WRONG_PASSWORD, ACTION_DENIED, NOT_FOUND, EXPECTED_ONE_FILE, UNIQUE_VIOLATION, CONTENT_EMPTY, INVALID_TYPE, CONVERSION_ERROR, FILE_PARSE_EXCEPTION, or IN_USE.

        • errorDetailValues array[object]
          Hide errorDetailValues attributes Show errorDetailValues attributes object
          • errorCode string
          • fieldName string
          • data string
          • isSevere boolean
      • freshRow object
      • freshData object
      • possibleWorkflows array[object]
        Hide possibleWorkflows attributes Show possibleWorkflows attributes object
        • id integer
        • name string
      • error boolean
      • severeError boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/organization/batch
curl \
 --request POST 'https://wyzio.app/api-v1/organization/batch' \
 --header "Content-Type: application/json" \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --data '[{"id":42,"name":"string","officeAddresses":[{"id":42,"name":"string","line1":"string","line2":"string","city":"string","region":{"id":42,"name":"string","code":"string","taxMode":"ANNUALLY"},"countryCode2":"string","postCode":"string","toTheAttentionOf":"string","position":42,"countryId":42,"houseNumber":"string","service":"string","dtbNumber":"string","cedNumber":"string","fiduciaryId":42}],"currency":"string","banks":[{"id":42,"name":"string","accountNumber":"string","qrIban":"string","isrCustomerNumber":"string","bankCustomerNumber":"string","swiftBic":"string","bankName":"string","remark":"string","position":42,"useForReconciliation":true,"chartOfAccounts":42,"accountHolderAddress":{"id":42,"name":"string","line1":"string","line2":"string","city":"string","region":{"id":42,"name":"string","code":"string","taxMode":"ANNUALLY"},"countryCode2":"string","postCode":"string","toTheAttentionOf":"string","position":42,"houseNumber":"string","countryId":42,"service":"string","readOnly":true},"customHolder":true}],"mainLanguage":{"id":42,"code":"string","name":"string","isMain":true},"otherLanguages":[{"id":42,"code":"string","name":"string","isMain":true}],"parentStandaloneOrganizationId":42,"managingStandaloneOrganizationId":42,"managingStandaloneOrganizationName":"string","managingChildrenOrganizationIds":[42],"invoiceSettings":{"id":42,"defaultPaymentTerms":"string","emailForInvoiceScans":"string","scansTreatedByManagingOrg":true,"validatePurchaseInvoicesByDefaultType":"NONE","usePurchaseAccrualAccounting":true,"skipDraftStatus":true,"plannedPaymentDateOffset":42,"purchasePaymentAccountId":42,"vatNumber":"string","requestedPaymentTerms":"string","numbering":"string","timesheets":true,"salesInvoiceConditionsLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"useSalesAccrualAccounting":true,"validateSalesInvoicesByDefaultType":"NONE","salesPaymentAccountId":42,"useUnsentSalesStatus":true,"lateInvoiceRequestedPaymentTerms":"string","lateInvoiceConditionsLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"orderIdNumbering":"string","expenseAccountId":42,"orderValidity":"string","validateOrdersByDefaultType":"NONE","timesheetsAccountId":42,"disbursementAccountId":42,"salesOrderTermsLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"useUnsentOrdersStatus":true,"forceTreatedAsPi":true,"invoiceEmailContentSettings":{"id":42,"salesInvoiceEmailSubjectLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"salesInvoiceEmailContentLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"customSalesInvoiceEmail":true,"lateNoticesEmailSubjectLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"lateNoticesEmailContentLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"customLateNoticeEmail":true,"orderEmailSubjectLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"orderEmailContentLocalizations":{"id":42,"en":"string","fr":"string","de":"string","it":"string"},"customSalesOrderEmail":true},"pdfInvoiceSplitterEnabled":true},"nogaCodeId":42,"warnings":"string","startDate":"string","endDate":"string","defaultCodes":{"id":42,"clientBalanceSheet":42,"clientVAT":42,"clientVATPaid":42,"clientPrePayment":42,"clientPL":42,"supplierBalanceSheet":42,"supplierVAT":42,"supplierVATPaid":42,"supplierPrePayment":42,"retainedEarnings":42,"annualProfitLoss":42,"stock":42,"stockMovements":42,"bankExpenses":42,"transactionAdjustment":42,"accruedExpenses":42,"accruedRevenue":42,"compensation":42,"system":42,"lossOnDebtors":42,"workInProgress":42,"workInvoicedUpfront":42,"vatAccount":42,"depreciationAccount":42,"extraordinaryExpenseAccount":42,"extraordinaryIncomeAccount":42,"unrealizedFxGainLossChart":42,"clientUnrealizedFXProfitLoss":42,"supplierUnrealizedFXProfitLoss":42,"fXGainLoss":42},"disbursements":[{"id":42,"upToAmount":"string","disbursementFee":"string"}],"tasks":[{"id":42,"name":"string","rate":42.0,"organizationId":42,"archived":true}],"organizationPayslips":[{"id":42,"calendarYear":42,"claPayslipId":42,"organizationPayslipLines":[{"id":42,"payslipLineEntityId":42,"employeePercentage":"string","employerPercentage":"string","lowerLimit":"string","upperLimit":"string","limitCalculationType":"TOTAL","organizationEmployeeGroupId":42,"genderType":"MALE","insurerId":42,"insurerNumber":"string","clientNumber":"string","contractNumber":"string","startDate":"2026-05-04T09:42:00Z"}],"salaryTableLines":[{"id":42,"startDate":"string","endDate":"string","payslipEntityId":42,"payslipLineId":"string","organizationPayslipEntityId":42,"staffPayslipEntityId":42,"number":42,"description":"string","employeeValue":"string","employerValue":"string","quantity":"string","employeePercentage":"string","employerPercentage":"string","organizationEmployeeGroupId":42}],"holidays":[{"id":42,"date":"string","name":"string"}],"organizationOfficePayslips":[{"id":42,"organizationOfficeId":42,"compensationFundNumber":"string","affiliatedNumber":"string"}],"touched":true}],"stockStrategy":"FIFO","allocationRulesId":42,"allocationRulesFileName":"string","departments":[{"id":42,"parentId":42,"name":"string","position":42,"children":[{}],"isDeleted":true}],"externalId":"string","salaryCodes":[{"id":42,"calendarYear":42,"salaryCodeLines":[{"id":42,"payslipLineEntityId":42,"salaryCodeId":42,"number":42,"localizations":{"en":"string","fr":"string","de":"string","it":"string"},"payslipLineType":"EMPLOYEE_LINE","specialAttributionType":"BASE_SALARY","isLinkedToAccount":true,"payslipValueSplitType":"EMPLOYEE","balanceSheetAccountId":42,"plOperationsAccountId":42,"plAdminsAccountId":42}]}],"contactId":42,"archived":true,"isFreeTier":true,"mailServerConfig":{"id":42,"host":"string","port":42,"secureConnectionType":"TLS","userName":"string","password":"string","useAuth":true,"fromEmail":"string"},"employeeGroups":[{"id":42,"name":"string","code":"string"}],"vatSupplierContactId":42,"useUnsentPayrollStatus":true,"automaticSynchronizationOfContacts":true,"uid":"string","ebics":[{"id":42,"organizationId":42,"ebicsServerId":42,"clientNumber":"string","userNumber":"string","status":"string","orderTransmission":true,"warnings":"string","ebicsServerName":"string","ebicsServerSwiftBic":"string"}],"unusedVacationsSettings":{"id":42,"autoProvisionUnusedVacations":true,"adminBalanceSheetAccountId":42,"adminPlAccountId":42,"operationsBalanceSheetAccountId":42,"operationsPlAccountId":42},"isConsolidated":true,"consolidatedOrganizationIds":[42],"organizationTemplates":[{"id":42,"organizationId":42,"documentTemplate":{"id":42,"logo":42,"report":42,"letterheadPortrait":42,"letterheadLandscape":42,"salesInvoicesTemplate":{"id":42,"name":"string","templateType":"SALES_INVOICE","countryId":42,"sourceTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewImage":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"isActive":true,"description":"string"},"lateNoticesTemplate":{"id":42,"name":"string","templateType":"SALES_INVOICE","countryId":42,"sourceTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewImage":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"isActive":true,"description":"string"},"payslipsTemplate":{"id":42,"name":"string","templateType":"SALES_INVOICE","countryId":42,"sourceTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewImage":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"isActive":true,"description":"string"},"salesOrderTemplate":{"id":42,"name":"string","templateType":"SALES_INVOICE","countryId":42,"sourceTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewImage":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"isActive":true,"description":"string"},"deliveryNoteTemplate":{"id":42,"name":"string","templateType":"SALES_INVOICE","countryId":42,"sourceTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewTemplate":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"previewImage":{"id":42,"fileExtension":"string","size":42,"name":"string","createdOn":"2026-05-04T09:42:00Z","organizationId":42},"isActive":true,"description":"string"}},"name":"string","isDefault":true}],"auditorId":42,"isFiduciary":true,"validateOrdersByDefaultType":"NONE","validatePurchaseInvoicesByDefaultType":"NONE","validateSalesInvoicesByDefaultType":"NONE"}]'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42

# Payload
[
  {
    "id": 42,
    "name": "string",
    "officeAddresses": [
      {
        "id": 42,
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": {
          "id": 42,
          "name": "string",
          "code": "string",
          "taxMode": "ANNUALLY"
        },
        "countryCode2": "string",
        "postCode": "string",
        "toTheAttentionOf": "string",
        "position": 42,
        "countryId": 42,
        "houseNumber": "string",
        "service": "string",
        "dtbNumber": "string",
        "cedNumber": "string",
        "fiduciaryId": 42
      }
    ],
    "currency": "string",
    "banks": [
      {
        "id": 42,
        "name": "string",
        "accountNumber": "string",
        "qrIban": "string",
        "isrCustomerNumber": "string",
        "bankCustomerNumber": "string",
        "swiftBic": "string",
        "bankName": "string",
        "remark": "string",
        "position": 42,
        "useForReconciliation": true,
        "chartOfAccounts": 42,
        "accountHolderAddress": {
          "id": 42,
          "name": "string",
          "line1": "string",
          "line2": "string",
          "city": "string",
          "region": {
            "id": 42,
            "name": "string",
            "code": "string",
            "taxMode": "ANNUALLY"
          },
          "countryCode2": "string",
          "postCode": "string",
          "toTheAttentionOf": "string",
          "position": 42,
          "houseNumber": "string",
          "countryId": 42,
          "service": "string",
          "readOnly": true
        },
        "customHolder": true
      }
    ],
    "mainLanguage": {
      "id": 42,
      "code": "string",
      "name": "string",
      "isMain": true
    },
    "otherLanguages": [
      {
        "id": 42,
        "code": "string",
        "name": "string",
        "isMain": true
      }
    ],
    "parentStandaloneOrganizationId": 42,
    "managingStandaloneOrganizationId": 42,
    "managingStandaloneOrganizationName": "string",
    "managingChildrenOrganizationIds": [
      42
    ],
    "invoiceSettings": {
      "id": 42,
      "defaultPaymentTerms": "string",
      "emailForInvoiceScans": "string",
      "scansTreatedByManagingOrg": true,
      "validatePurchaseInvoicesByDefaultType": "NONE",
      "usePurchaseAccrualAccounting": true,
      "skipDraftStatus": true,
      "plannedPaymentDateOffset": 42,
      "purchasePaymentAccountId": 42,
      "vatNumber": "string",
      "requestedPaymentTerms": "string",
      "numbering": "string",
      "timesheets": true,
      "salesInvoiceConditionsLocalizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "useSalesAccrualAccounting": true,
      "validateSalesInvoicesByDefaultType": "NONE",
      "salesPaymentAccountId": 42,
      "useUnsentSalesStatus": true,
      "lateInvoiceRequestedPaymentTerms": "string",
      "lateInvoiceConditionsLocalizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "orderIdNumbering": "string",
      "expenseAccountId": 42,
      "orderValidity": "string",
      "validateOrdersByDefaultType": "NONE",
      "timesheetsAccountId": 42,
      "disbursementAccountId": 42,
      "salesOrderTermsLocalizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "useUnsentOrdersStatus": true,
      "forceTreatedAsPi": true,
      "invoiceEmailContentSettings": {
        "id": 42,
        "salesInvoiceEmailSubjectLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "salesInvoiceEmailContentLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "customSalesInvoiceEmail": true,
        "lateNoticesEmailSubjectLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "lateNoticesEmailContentLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "customLateNoticeEmail": true,
        "orderEmailSubjectLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "orderEmailContentLocalizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "customSalesOrderEmail": true
      },
      "pdfInvoiceSplitterEnabled": true
    },
    "nogaCodeId": 42,
    "warnings": "string",
    "startDate": "string",
    "endDate": "string",
    "defaultCodes": {
      "id": 42,
      "clientBalanceSheet": 42,
      "clientVAT": 42,
      "clientVATPaid": 42,
      "clientPrePayment": 42,
      "clientPL": 42,
      "supplierBalanceSheet": 42,
      "supplierVAT": 42,
      "supplierVATPaid": 42,
      "supplierPrePayment": 42,
      "retainedEarnings": 42,
      "annualProfitLoss": 42,
      "stock": 42,
      "stockMovements": 42,
      "bankExpenses": 42,
      "transactionAdjustment": 42,
      "accruedExpenses": 42,
      "accruedRevenue": 42,
      "compensation": 42,
      "system": 42,
      "lossOnDebtors": 42,
      "workInProgress": 42,
      "workInvoicedUpfront": 42,
      "vatAccount": 42,
      "depreciationAccount": 42,
      "extraordinaryExpenseAccount": 42,
      "extraordinaryIncomeAccount": 42,
      "unrealizedFxGainLossChart": 42,
      "clientUnrealizedFXProfitLoss": 42,
      "supplierUnrealizedFXProfitLoss": 42,
      "fXGainLoss": 42
    },
    "disbursements": [
      {
        "id": 42,
        "upToAmount": "string",
        "disbursementFee": "string"
      }
    ],
    "tasks": [
      {
        "id": 42,
        "name": "string",
        "rate": 42.0,
        "organizationId": 42,
        "archived": true
      }
    ],
    "organizationPayslips": [
      {
        "id": 42,
        "calendarYear": 42,
        "claPayslipId": 42,
        "organizationPayslipLines": [
          {
            "id": 42,
            "payslipLineEntityId": 42,
            "employeePercentage": "string",
            "employerPercentage": "string",
            "lowerLimit": "string",
            "upperLimit": "string",
            "limitCalculationType": "TOTAL",
            "organizationEmployeeGroupId": 42,
            "genderType": "MALE",
            "insurerId": 42,
            "insurerNumber": "string",
            "clientNumber": "string",
            "contractNumber": "string",
            "startDate": "2026-05-04T09:42:00Z"
          }
        ],
        "salaryTableLines": [
          {
            "id": 42,
            "startDate": "string",
            "endDate": "string",
            "payslipEntityId": 42,
            "payslipLineId": "string",
            "organizationPayslipEntityId": 42,
            "staffPayslipEntityId": 42,
            "number": 42,
            "description": "string",
            "employeeValue": "string",
            "employerValue": "string",
            "quantity": "string",
            "employeePercentage": "string",
            "employerPercentage": "string",
            "organizationEmployeeGroupId": 42
          }
        ],
        "holidays": [
          {
            "id": 42,
            "date": "string",
            "name": "string"
          }
        ],
        "organizationOfficePayslips": [
          {
            "id": 42,
            "organizationOfficeId": 42,
            "compensationFundNumber": "string",
            "affiliatedNumber": "string"
          }
        ],
        "touched": true
      }
    ],
    "stockStrategy": "FIFO",
    "allocationRulesId": 42,
    "allocationRulesFileName": "string",
    "departments": [
      {
        "id": 42,
        "parentId": 42,
        "name": "string",
        "position": 42,
        "children": [
          {}
        ],
        "isDeleted": true
      }
    ],
    "externalId": "string",
    "salaryCodes": [
      {
        "id": 42,
        "calendarYear": 42,
        "salaryCodeLines": [
          {
            "id": 42,
            "payslipLineEntityId": 42,
            "salaryCodeId": 42,
            "number": 42,
            "localizations": {
              "en": "string",
              "fr": "string",
              "de": "string",
              "it": "string"
            },
            "payslipLineType": "EMPLOYEE_LINE",
            "specialAttributionType": "BASE_SALARY",
            "isLinkedToAccount": true,
            "payslipValueSplitType": "EMPLOYEE",
            "balanceSheetAccountId": 42,
            "plOperationsAccountId": 42,
            "plAdminsAccountId": 42
          }
        ]
      }
    ],
    "contactId": 42,
    "archived": true,
    "isFreeTier": true,
    "mailServerConfig": {
      "id": 42,
      "host": "string",
      "port": 42,
      "secureConnectionType": "TLS",
      "userName": "string",
      "password": "string",
      "useAuth": true,
      "fromEmail": "string"
    },
    "employeeGroups": [
      {
        "id": 42,
        "name": "string",
        "code": "string"
      }
    ],
    "vatSupplierContactId": 42,
    "useUnsentPayrollStatus": true,
    "automaticSynchronizationOfContacts": true,
    "uid": "string",
    "ebics": [
      {
        "id": 42,
        "organizationId": 42,
        "ebicsServerId": 42,
        "clientNumber": "string",
        "userNumber": "string",
        "status": "string",
        "orderTransmission": true,
        "warnings": "string",
        "ebicsServerName": "string",
        "ebicsServerSwiftBic": "string"
      }
    ],
    "unusedVacationsSettings": {
      "id": 42,
      "autoProvisionUnusedVacations": true,
      "adminBalanceSheetAccountId": 42,
      "adminPlAccountId": 42,
      "operationsBalanceSheetAccountId": 42,
      "operationsPlAccountId": 42
    },
    "isConsolidated": true,
    "consolidatedOrganizationIds": [
      42
    ],
    "organizationTemplates": [
      {
        "id": 42,
        "organizationId": 42,
        "documentTemplate": {
          "id": 42,
          "logo": 42,
          "report": 42,
          "letterheadPortrait": 42,
          "letterheadLandscape": 42,
          "salesInvoicesTemplate": {
            "id": 42,
            "name": "string",
            "templateType": "SALES_INVOICE",
            "countryId": 42,
            "sourceTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewImage": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "isActive": true,
            "description": "string"
          },
          "lateNoticesTemplate": {
            "id": 42,
            "name": "string",
            "templateType": "SALES_INVOICE",
            "countryId": 42,
            "sourceTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewImage": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "isActive": true,
            "description": "string"
          },
          "payslipsTemplate": {
            "id": 42,
            "name": "string",
            "templateType": "SALES_INVOICE",
            "countryId": 42,
            "sourceTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewImage": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "isActive": true,
            "description": "string"
          },
          "salesOrderTemplate": {
            "id": 42,
            "name": "string",
            "templateType": "SALES_INVOICE",
            "countryId": 42,
            "sourceTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewImage": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "isActive": true,
            "description": "string"
          },
          "deliveryNoteTemplate": {
            "id": 42,
            "name": "string",
            "templateType": "SALES_INVOICE",
            "countryId": 42,
            "sourceTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewTemplate": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "previewImage": {
              "id": 42,
              "fileExtension": "string",
              "size": 42,
              "name": "string",
              "createdOn": "2026-05-04T09:42:00Z",
              "organizationId": 42
            },
            "isActive": true,
            "description": "string"
          }
        },
        "name": "string",
        "isDefault": true
      }
    ],
    "auditorId": 42,
    "isFiduciary": true,
    "validateOrdersByDefaultType": "NONE",
    "validatePurchaseInvoicesByDefaultType": "NONE",
    "validateSalesInvoicesByDefaultType": "NONE"
  }
]
Response examples (200)
{
  "items": [
    {
      "errorCode": {
        "errorCode": "NO_ERROR",
        "errorDetailValues": [
          {
            "errorCode": "string",
            "fieldName": "string",
            "data": "string",
            "isSevere": true
          }
        ]
      },
      "freshRow": {},
      "freshData": {},
      "possibleWorkflows": [
        {
          "id": 42,
          "name": "string"
        }
      ],
      "error": true,
      "severeError": true
    }
  ]
}