Modify batch of organizations

POST /api-v1/organization/batch

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

application/json

Body Required

organizations

  • allocationRulesFileName string
  • allocationRulesId integer
  • archived boolean
  • auditorId integer
  • automaticSynchronizationOfContacts boolean
  • banks array[object]
    Hide banks attributes Show banks attributes object
    • accountHolderAddress object
      Hide accountHolderAddress attributes Show accountHolderAddress attributes object
      • city string
      • countryCode2 string
      • countryId integer
      • houseNumber string
      • id integer
      • line1 string
      • line2 string
      • name string
      • position integer(int32)
      • postCode string
      • readOnly boolean
      • region object
        Hide region attributes Show region attributes object
        • code string
        • id integer
        • name string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • service string
      • toTheAttentionOf string
    • accountNumber string
    • bankCustomerNumber string
    • bankName string
    • chartOfAccounts integer
    • customHolder boolean
    • id integer
    • isrCustomerNumber string
    • name string
    • position integer(int32)
    • qrIban string
    • remark string
    • swiftBic string
    • useForReconciliation boolean
  • consolidatedOrganizationIds array[integer]
  • contactId integer
  • currency string
  • defaultCodes object
    Hide defaultCodes attributes Show defaultCodes attributes object
    • accruedExpenses integer
    • accruedRevenue integer
    • annualProfitLoss integer
    • bankExpenses integer
    • clientBalanceSheet integer
    • clientPL integer
    • clientPrePayment integer
    • clientVAT integer
    • clientVATPaid integer
    • compensation integer
    • depreciationAccount integer
    • extraordinaryExpenseAccount integer
    • extraordinaryIncomeAccount integer
    • fXGainLoss integer
    • id integer
    • lossOnDeptors integer
    • retainedEarnings integer
    • stock integer
    • stockMovements integer
    • supplierBalanceSheet integer
    • supplierPrePayment integer
    • supplierVAT integer
    • supplierVATPaid integer
    • system integer
    • transactionAdjustment integer
    • vatAccount integer
    • workInProgress integer
    • workInvoicedUpfront integer
  • departments array[object]
    Hide departments attributes Show departments attributes object
    • children array[object]
    • id integer
    • isDeleted boolean
    • name string
    • parentId integer
    • position integer(int32)
  • disbursements array[object]
    Hide disbursements attributes Show disbursements attributes object
    • disbursementFee string
    • id integer
    • upToAmount string
  • ebics array[object]
    Hide ebics attributes Show ebics attributes object
    • clientNumber string
    • ebicsServerId integer
    • ebicsServerName string
    • ebicsServerSwiftBic string
    • id integer
    • orderTransmission boolean
    • organizationId integer
    • status string
    • userNumber string
    • warnings string
  • employeeGroups array[object]
    Hide employeeGroups attributes Show employeeGroups attributes object
    • code string
    • id integer
    • name string
  • endDate string
  • externalId string
  • id integer
  • invoiceSettings object
    Hide invoiceSettings attributes Show invoiceSettings attributes object
    • defaultPaymentTerms string
    • disbursementAccountId integer
    • emailForInvoiceScans string
    • expenseAccountId integer
    • forceTreatedAsPi boolean
    • id integer
    • invoiceEmailContentSettings object
      Hide invoiceEmailContentSettings attributes Show invoiceEmailContentSettings attributes object
      • customLateNoticeEmail boolean
      • customSalesInvoiceEmail boolean
      • customSalesOrderEmail boolean
      • id integer
      • lateNoticesEmailContentLocalizations object
        Hide lateNoticesEmailContentLocalizations attributes Show lateNoticesEmailContentLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • lateNoticesEmailSubjectLocalizations object
        Hide lateNoticesEmailSubjectLocalizations attributes Show lateNoticesEmailSubjectLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • orderEmailContentLocalizations object
        Hide orderEmailContentLocalizations attributes Show orderEmailContentLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • orderEmailSubjectLocalizations object
        Hide orderEmailSubjectLocalizations attributes Show orderEmailSubjectLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • salesInvoiceEmailContentLocalizations object
        Hide salesInvoiceEmailContentLocalizations attributes Show salesInvoiceEmailContentLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • salesInvoiceEmailSubjectLocalizations object
        Hide salesInvoiceEmailSubjectLocalizations attributes Show salesInvoiceEmailSubjectLocalizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
    • lateInvoiceConditionsLocalizations object
      Hide lateInvoiceConditionsLocalizations attributes Show lateInvoiceConditionsLocalizations attributes object
      • de string
      • en string
      • fr string
      • id integer
      • it string
    • lateInvoiceRequestedPaymentTerms string
    • numbering string
    • orderIdNumbering string
    • orderValidity string
    • plannedPaymentDateOffset integer(int32)
    • purchasePaymentAccountId integer
    • requestedPaymentTerms string
    • salesInvoiceConditionsLocalizations object
      Hide salesInvoiceConditionsLocalizations attributes Show salesInvoiceConditionsLocalizations attributes object
      • de string
      • en string
      • fr string
      • id integer
      • it string
    • salesOrderTermsLocalizations object
      Hide salesOrderTermsLocalizations attributes Show salesOrderTermsLocalizations attributes object
      • de string
      • en string
      • fr string
      • id integer
      • it string
    • salesPaymentAccountId integer
    • scansTreatedByManagingOrg boolean
    • skipDraftStatus boolean
    • timesheets boolean
    • timesheetsAccountId integer
    • usePurchaseAccrualAccounting boolean
    • useSalesAccrualAccounting boolean
    • useUnsentOrdersStatus boolean
    • useUnsentSalesStatus 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.

    • vatNumber string
  • isConsolidated boolean
  • isFreeTier boolean
  • mailServerConfig object
    Hide mailServerConfig attributes Show mailServerConfig attributes object
    • fromEmail string
    • host string
    • id integer
    • password string
    • port integer(int32)
    • secureConnectionType string

      Values are TLS or NONE.

    • useAuth boolean
    • userName string
  • mainLanguage object
    Hide mainLanguage attributes Show mainLanguage attributes object
    • code string
    • id integer
    • isMain boolean
    • name string
  • managingChildrenOrganizationIds array[integer]
  • managingStandaloneOrganizationId integer(int32)
  • managingStandaloneOrganizationName string
  • name string
  • nogaCodeId integer
  • officeAddresses array[object]
    Hide officeAddresses attributes Show officeAddresses attributes object
    • cedNumber string
    • city string
    • countryCode2 string
    • countryId integer
    • dtbNumber string
    • fiduciaryId integer
    • houseNumber string
    • id integer
    • line1 string
    • line2 string
    • name string
    • position integer(int32)
    • postCode string
    • region object
      Hide region attributes Show region attributes object
      • code string
      • id integer
      • name string
      • taxMode string

        Values are ANNUALLY or MONTHLY.

    • service string
    • toTheAttentionOf string
  • organizationPayslips array[object]
    Hide organizationPayslips attributes Show organizationPayslips attributes object
    • calendarYear integer(int32)
    • claPayslipId integer
    • holidays array[object]
      Hide holidays attributes Show holidays attributes object
      • date string
      • id integer
      • name string
    • id integer
    • organizationOfficePayslips array[object]
      Hide organizationOfficePayslips attributes Show organizationOfficePayslips attributes object
      • affiliatedNumber string
      • compensationFundNumber string
      • id integer
      • organizationOfficeId integer
    • organizationPayslipLines array[object]
      Hide organizationPayslipLines attributes Show organizationPayslipLines attributes object
      • clientNumber string
      • contractNumber string
      • employeePercentage string
      • employerPercentage string
      • genderType string

        Values are MALE, FEMALE, or OTHER.

      • id integer
      • insurerId integer
      • insurerNumber string
      • limitCalculationType string

        Values are TOTAL or OVER_THE_LOWER_LIMIT.

      • lowerLimit string
      • organizationEmployeeGroupId integer
      • payslipLineEntityId integer
      • startDate string(date-time)
      • upperLimit string
    • salaryTableLines array[object]
      Hide salaryTableLines attributes Show salaryTableLines attributes object
      • description string
      • employeePercentage string
      • employeeValue string
      • employerPercentage string
      • employerValue string
      • endDate string
      • id integer
      • number integer
      • organizationEmployeeGroupId integer
      • organizationPayslipEntityId integer
      • payslipEntityId integer
      • payslipLineId string
      • quantity string
      • staffPayslipEntityId integer
      • startDate string
    • touched boolean
  • organizationTemplates array[object]
    Hide organizationTemplates attributes Show organizationTemplates attributes object
    • addressId integer
    • departmentId integer
    • documentTemplate object
      Hide documentTemplate attributes Show documentTemplate attributes object
      • deliveryNoteTemplate object
        Hide deliveryNoteTemplate attributes Show deliveryNoteTemplate attributes object
        • countryId integer
        • description string
        • id integer
        • isActive boolean
        • name string
        • previewImage object
          Hide previewImage attributes Show previewImage attributes object
          • createdOn string(date-time)
          • fileExtension string
          • id integer
          • name string
          • organizationId integer
          • size integer
        • previewTemplate object
          Hide previewTemplate attributes Show previewTemplate attributes object
          • createdOn string(date-time)
          • fileExtension string
          • id integer
          • name string
          • organizationId integer
          • size integer
        • sourceTemplate object
          Hide sourceTemplate attributes Show sourceTemplate attributes object
          • createdOn string(date-time)
          • fileExtension string
          • id integer
          • name string
          • organizationId integer
          • size integer
        • templateType string

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

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

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

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

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

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

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

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

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

    • id integer
    • name string
    • organizationId integer
  • otherLanguages array[object]
    Hide otherLanguages attributes Show otherLanguages attributes object
    • code string
    • id integer
    • isMain boolean
    • name string
  • parentStandaloneOrganizationId integer
  • salaryCodes array[object]
    Hide salaryCodes attributes Show salaryCodes attributes object
    • calendarYear integer(int32)
    • id integer
    • salaryCodeLines array[object]
      Hide salaryCodeLines attributes Show salaryCodeLines attributes object
      • balanceSheetAccountId integer
      • id integer
      • isLinkedToAccount boolean
      • localizations object
        Hide localizations attributes Show localizations attributes object
        • de string
        • en string
        • fr string
        • it string
      • number integer
      • payslipLineEntityId integer
      • payslipLineType string

        Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

      • payslipValueSplitType string

        Values are EMPLOYEE, EMPLOYER, or BOTH.

      • plAdminsAccountId integer
      • plOperationsAccountId integer
      • salaryCodeId integer
      • specialAttributionType string

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

  • startDate string
  • stockStrategy string

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

  • tasks array[object]
    Hide tasks attributes Show tasks attributes object
    • archived boolean
    • id integer
    • name string
    • organizationId integer
    • rate number
  • uid string
  • unusedVacationsSettings object
    Hide unusedVacationsSettings attributes Show unusedVacationsSettings attributes object
    • adminBalanceSheetAccountId integer
    • adminPlAccountId integer
    • autoProvisionUnusedVacations boolean
    • id integer
    • operationsBalanceSheetAccountId integer
    • operationsPlAccountId integer
  • useUnsentPayrollStatus 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.

  • vatSupplierContactId integer
  • warnings string

Responses

  • 200 */*

    OK

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

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