Get details of organization
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
activeOnly boolean
activeOnly
GET
/api-v1/organization/{id}
curl \
-X GET http://wyzio.app/api-v1/organization/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"allocationRulesFileName": "string",
"allocationRulesId": 42,
"archived": true,
"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
}
],
"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": [
{}
],
"documentTemplate": {
"deliveryNoteTemplate": {
"countryId": 42,
"description": "string",
"id": 42,
"isActive": true,
"name": "string",
"previewImage": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"templateType": "SALES_INVOICE"
}
},
"id": 42,
"isDeleted": true,
"name": "string",
"parentId": 42,
"position": 42
}
],
"disbursements": [
{
"disbursementFee": "string",
"id": 42,
"upToAmount": "string"
}
],
"documentTemplate": {
"deliveryNoteTemplate": {
"countryId": 42,
"description": "string",
"id": 42,
"isActive": true,
"name": "string",
"previewImage": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"previewTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"sourceTemplate": {
"createdOn": "2024-05-04T09:42:00+00:00",
"fileExtension": "string",
"id": 42,
"name": "string",
"organizationId": 42,
"size": 42
},
"templateType": "SALES_INVOICE"
}
},
"ebics": [
{
"clientNumber": "string",
"ebicsServerId": 42,
"ebicsServerName": "string",
"ebicsServerSwiftBic": "string",
"id": 42,
"orderTransmission": true,
"organizationId": 42,
"status": "string",
"userNumber": "string",
"warnings": "string"
}
],
"employeeGroups": [
{
"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"
},
"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": [
{
"city": "string",
"countryCode2": "string",
"countryId": 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,
"organizationPayslipLines": [
{
"employeePercentage": "string",
"employerPercentage": "string",
"genderType": "MALE",
"id": 42,
"limitCalculationType": "TOTAL",
"lowerLimit": "string",
"organizationEmployeeGroupId": 42,
"payslipLineEntityId": 42,
"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
}
],
"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",
"useUnsentPayrollStatus": true,
"validateOrdersByDefaultType": "NONE",
"validatePurchaseInvoicesByDefaultType": "NONE",
"validateSalesInvoicesByDefaultType": "NONE",
"vatSupplierContactId": 42,
"warnings": "string"
}