{"openapi":"3.0.0","paths":{"/accounting/accounts/{accountId}":{"get":{"operationId":"getAccount","parameters":[{"name":"accountId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Account record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/AccountResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/accounts":{"get":{"operationId":"getAccounts","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"debitCreditIndicator","required":false,"in":"query","description":"Filter accounts by debit/credit indicator","schema":{"enum":["DEBIT","CREDIT"],"type":"string"}},{"name":"fiscalYear","required":false,"in":"query","description":"Fiscal year to scope the account balances (e.g. 2024)","schema":{"type":"number"}},{"name":"types","required":false,"in":"query","description":"Comma-separated list of account types to filter by","schema":{"type":"string"}},{"name":"fiscalYearStartDate","required":false,"in":"query","description":"ISO 8601 start date of the fiscal year used for balance calculation","schema":{"type":"string"}},{"name":"classFilter","required":false,"in":"query","description":"Filter accounts by account class (e.g. asset, liability, equity)","schema":{"type":"string"}},{"name":"isActive","required":false,"in":"query","description":"When true, returns only active accounts; when false, returns only inactive accounts","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of accounts for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AccountResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createAccount","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountRequestDto"}}}},"responses":{"201":{"description":"Account created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/AccountResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bankAccounts":{"get":{"operationId":"getBankAccounts","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of bank accounts for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BankAccountResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createBankAccount","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBankAccountRequestDto"}}}},"responses":{"201":{"description":"Bank account created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BankAccountResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bankAccounts/{bankAccountId}":{"get":{"operationId":"getBankAccount","parameters":[{"name":"bankAccountId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Bank account record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BankAccountResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/dimensions":{"get":{"operationId":"getDimensions","parameters":[{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of dimension categories for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DimensionMetaResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/dimensions/{dimension}":{"get":{"operationId":"getDimensionsByDimension","parameters":[{"name":"dimension","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of dimension values for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DimensionMetaResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/transactions":{"post":{"operationId":"createTransaction","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"transaction":{"$ref":"#/components/schemas/CreateTransactionRequestDto"}}}}}},"responses":{"201":{"description":"Transaction created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TransactionResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/customers":{"get":{"operationId":"getCustomers","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"email","required":false,"in":"query","description":"Filter customers by email address","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter customers by name","schema":{"type":"string"}},{"name":"number","required":false,"in":"query","description":"Filter customers by customer number","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of customers for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createCustomer","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDto"}}}},"responses":{"201":{"description":"Customer created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/customers/{contactId}":{"get":{"operationId":"getCustomer","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Customer record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"updateCustomer","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDto"}}}},"responses":{"200":{"description":"Customer updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchCustomers","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchContactRequestDto"}}}},"responses":{"200":{"description":"Customer updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/suppliers":{"get":{"operationId":"getSuppliers","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"email","required":false,"in":"query","description":"Filter suppliers by email address","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter suppliers by name","schema":{"type":"string"}},{"name":"number","required":false,"in":"query","description":"Filter suppliers by supplier number","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of suppliers for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createSupplier","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDto"}}}},"responses":{"201":{"description":"Supplier created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/suppliers/{contactId}":{"get":{"operationId":"getSupplier","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Supplier record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"updateSupplier","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDto"}}}},"responses":{"200":{"description":"Supplier updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchSupplier","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchContactRequestDto"}}}},"responses":{"200":{"description":"Supplier updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/contacts/async":{"get":{"operationId":"getContactsAsync","parameters":[{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":"Contacts fetch queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/contacts":{"get":{"operationId":"getContacts","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of contacts for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createContact","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"201":{"description":"Contact created successfully. Returns 202 with taskId if processed asynchronously.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting"]}},"/accounting/contacts/{contactId}":{"get":{"operationId":"getContact","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Contact record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"putContact","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"200":{"description":"Contact updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchContact","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"200":{"description":"Contact updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting"]}},"/accounting/contacts/bulk":{"post":{"operationId":"createContacts","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactByBatchMetaDataDto"}}}},"responses":{"201":{"description":"Contacts created successfully in bulk","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactByBatchMetaDataResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/batch/contacts":{"post":{"operationId":"createContactsV1","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactByBatchMetaDataDto"}}}},"responses":{"201":{"description":"Contacts created successfully in bulk","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactByBatchMetaDataResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/invoices":{"get":{"operationId":"getInvoices","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter invoices by unified status","schema":{"enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"type":"string"}},{"name":"paymentStatus","required":false,"in":"query","description":"Filter invoices by payment status","schema":{"enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"orderField","required":false,"in":"query","description":"Field to sort the results by","schema":{"enum":["invoiceDate","invoiceNumber","createdDate","updatedDate"],"type":"string"}},{"name":"orderDir","required":false,"in":"query","description":"Sort direction for the ordered results","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"dueDateFrom","required":false,"in":"query","description":"ISO 8601 date; only invoices with a due date on or after this date are returned","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of invoices for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createInvoice","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvoiceRequestDto"}}}},"responses":{"201":{"description":"Invoice created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/InvoiceResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/invoices/{invoiceId}":{"get":{"operationId":"getInvoice","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Invoice record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/InvoiceResponseDto"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchInvoice","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchInvoiceRequestDto"}}}},"responses":{"200":{"description":"Invoice updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/InvoiceResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/invoices/{invoiceId}/document":{"get":{"operationId":"getInvoiceDocument","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Document attached to the invoice matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/files":{"post":{"operationId":"postFile","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"contactId":{"type":"string","example":"Contact id associated to the document"},"documentDate":{"type":"string","example":"2025-03-26T08:25:54.060Z"},"documentId":{"type":"string","example":"b5e624e5-fb9e-4836-a443-87a3820f5b48"},"documentType":{"type":"string","example":"Rechnungsausgang"},"integrationSource":{"type":"string","example":"3rd party app"},"note":{"type":"string","example":"note for the document"},"resourceId":{"type":"string","example":"Id of the reference object (bill or invoice id)."},"folderName":{"type":"string","example":"Invoices-2026"}}}}}},"responses":{"201":{"description":"File uploaded successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/files/async":{"post":{"operationId":"postFileAsync","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"documentDate":{"type":"string","example":"2025-03-26T08:25:54.060Z"},"documentId":{"type":"string","example":"b5e624e5-fb9e-4836-a443-87a3820f5b48"},"documentType":{"type":"string","example":"Rechnungsausgang"},"integrationSource":{"type":"string","example":"3rd party app"},"note":{"type":"string","example":"note for the document"},"folderName":{"type":"string","example":"Invoices-2026"}}}}}},"responses":{"202":{"description":"File queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/files/documentTypes":{"get":{"operationId":"getDocumentTypes","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of document types supported by the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTypesResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/files/documentExtensions":{"get":{"operationId":"getDocumentExtensions","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of permitted file extensions for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentExtensionsResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/asyncTask/{taskId}":{"get":{"operationId":"getAsyncTaskInfo","parameters":[{"name":"taskId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Async task status and result matching the provided task ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/AsyncTaskResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/items":{"get":{"operationId":"getItems","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"type","required":false,"in":"query","description":"Filter items by type","schema":{"type":"string"}},{"name":"itemNumber","required":false,"in":"query","description":"Filter items by item number","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ItemResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createItem","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateItemRequestDto"}}}},"responses":{"201":{"description":"Item created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/items/{itemId}":{"get":{"operationId":"getItem","parameters":[{"name":"itemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Item record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"items":{"$ref":"#/components/schemas/ItemResponseDto"}}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchItem","parameters":[{"name":"itemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchItemRequestDto"}}}},"responses":{"200":{"description":"Item updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ItemResponseDto"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"updateItem","parameters":[{"name":"itemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateItemRequestDto"}}}},"responses":{"200":{"description":"Item updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ItemResponseDto"}}}]}}}}},"tags":["accounting"]},"delete":{"operationId":"deleteItem","parameters":[{"name":"itemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Item deleted successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/invoices/{invoiceId}/lineItems":{"get":{"operationId":"getLineItems","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LineItemResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createLineItem","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLineItemRequestDto"}}}},"responses":{"201":{"description":"Line item created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/LineItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/invoices/{invoiceId}/lineItems/{lineItemId}":{"get":{"operationId":"getLineItem","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Line item record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/LineItemResponseDto"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchLineItem","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchLineItemRequestDto"}}}},"responses":{"200":{"description":"Line item updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/LineItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/journals":{"get":{"operationId":"getJournals","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of journals for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JournalResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries":{"get":{"operationId":"getJournalEntries","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"fiscalYear","required":false,"in":"query","description":"Fiscal year to scope the journal entries (e.g. 2024)","schema":{"type":"number"}},{"name":"fiscalYearStartDate","required":false,"in":"query","description":"ISO 8601 start date of the fiscal year used for scoping results","schema":{"type":"string"}},{"name":"transactionDateFrom","required":false,"in":"query","description":"ISO 8601 date to only return journal entries with a transaction date after the specified date.","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of journal entries for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createJournalEntry","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"filesPos":{"type":"array","items":{"type":"string"}},"journal_entry":{"$ref":"#/components/schemas/CreateJournalEntryRequestDto"}}}}}},"responses":{"201":{"description":"Journal entry created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries/async":{"get":{"operationId":"getJournalEntriesAsync","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":"Journal entries fetch queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries/{journalEntryId}":{"get":{"operationId":"getJournalEntry","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"journalCode","required":false,"in":"query","description":"Journal code used to scope the journal entry lookup on systems that require it","schema":{"type":"string"}},{"name":"version","required":false,"in":"query","description":"Version of the journal entry","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Journal entry record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"updateJournalEntry","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"journal_entry":{"$ref":"#/components/schemas/CreateJournalEntryRequestDto"}}}}}},"responses":{"200":{"description":"Journal entry updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]},"patch":{"operationId":"patchJournalEntry","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"journal_entry":{"$ref":"#/components/schemas/CreateJournalEntryRequestDto"}}}}}},"responses":{"200":{"description":"Journal entry updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]},"delete":{"operationId":"deleteJournalEntry","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Journal entry deleted successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"object","properties":{"id":{"type":"string"}}}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries/bulk":{"post":{"operationId":"createJournalEntries","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateJournalEntriesByBatchMetaDataDto"}}}},"responses":{"201":{"description":"Journal entries created successfully in bulk","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntriesByBatchMetaDataResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries/{journalEntryId}/Attachments":{"get":{"operationId":"getJournalEntryAttachments","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of attachments for the journal entry matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createJournalEntryAttachments","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"201":{"description":"Journal entry attachment uploaded successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/journalEntries/{journalEntryId}/Attachments/{attachmentId}":{"get":{"operationId":"getJournalEntryAttachmentById","parameters":[{"name":"journalEntryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"attachmentId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Journal entry attachment record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/JournalEntryResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/offers":{"get":{"operationId":"getOffers","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter offers by unified status","schema":{"enum":["DRAFT","SENT","ACCEPTED","EXPIRED","VOIDED","DECLINED"],"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of offers for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OfferResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createOffer","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOfferRequestDto"}}}},"responses":{"201":{"description":"Offer created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/OfferResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/offers/{offerId}":{"get":{"operationId":"getOffer","parameters":[{"name":"offerId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Offer record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/OfferResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/offers/{offerId}/lineItems":{"get":{"operationId":"getOfferLineItems","parameters":[{"name":"offerId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OfferLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/offers/{offerId}/lineItems/{lineItemId}":{"get":{"operationId":"getOfferLineItem","parameters":[{"name":"offerId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Offer line item record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/OfferLineItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/offers/{offerId}/document":{"get":{"operationId":"getOfferDocument","parameters":[{"name":"offerId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Document attached to the offer matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/expenses":{"post":{"operationId":"createExpense","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"expense":{"$ref":"#/components/schemas/CreateExpenseDto"}}}}}},"responses":{"201":{"description":"Expense created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ExpenseResponseDto"}}}]}}}}},"tags":["accounting"]},"get":{"operationId":"getExpenses","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of expenses for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ExpenseResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/expenses/{expenseId}":{"get":{"operationId":"getExpense","parameters":[{"name":"expenseId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"journalCode","required":false,"in":"query","description":"Journal code used to scope the expense lookup on systems that require it","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Expense record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ExpenseResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/projects":{"get":{"operationId":"getProjects","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of projects for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProjectResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createProject","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequestDto"}}}},"responses":{"201":{"description":"Project created successfully. Returns 202 with taskId if processed asynchronously.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ProjectResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/projects/async":{"get":{"operationId":"getProjectsAsync","parameters":[{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":"Projects fetch queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/projects/{projectId}":{"get":{"operationId":"getProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Project record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ProjectResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/salesOrders":{"get":{"operationId":"getSalesOrders","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"status","required":false,"in":"query","description":"Filter sales orders by status","schema":{"enum":["DRAFT","IN_REVIEW","OPEN","CLOSED","VOIDED"],"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of sales orders for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SalesOrderResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createSalesOrder","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSalesOrderRequestDto"}}}},"responses":{"201":{"description":"Sales order created successfully. Returns 202 with taskId if processed asynchronously.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/SalesOrderResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/salesOrders/{salesOrderId}":{"get":{"operationId":"getSalesOrder","parameters":[{"name":"salesOrderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Sales order record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/SalesOrderResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/salesOrders/{salesOrderId}/lineItems":{"get":{"operationId":"getSalesOrderLines","parameters":[{"name":"salesOrderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SalesOrderLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/paymentTerms":{"get":{"operationId":"getPaymentTerms","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"fiscalYear","required":false,"in":"query","description":"Fiscal year to scope the payment terms results (e.g. 2024)","schema":{"type":"number"}},{"name":"fiscalYearStartDate","required":false,"in":"query","description":"ISO 8601 start date of the fiscal year used for scoping results","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of payment terms for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createPaymentTerm","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentTermRequestDto"}}}},"responses":{"201":{"description":"Payment term created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PaymentTermResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/paymentTerms/{paymentTermId}":{"get":{"operationId":"getPaymentTerm","parameters":[{"name":"paymentTermId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Payment term record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PaymentTermResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/taxRates":{"get":{"operationId":"getTaxRates","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"isActive","required":false,"in":"query","description":"When true, returns only active tax rates; when false, returns only inactive tax rates","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of tax rates for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TaxRateResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/taxRates/{taxRateId}":{"get":{"operationId":"getTaxRate","parameters":[{"name":"taxRateId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Tax rate record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaxRateResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/payments":{"get":{"operationId":"getPayments","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"invoiceId","required":false,"in":"query","description":"ID of the invoice to filter payments by","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of payments for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createPayment","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentRequestDto"}}}},"responses":{"201":{"description":"Payment created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PaymentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/payments/{paymentId}":{"get":{"operationId":"getPayment","parameters":[{"name":"paymentId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Payment record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PaymentResponseDto"}}}]}}}}},"tags":["accounting"]},"delete":{"operationId":"deletePayment","parameters":[{"name":"paymentId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Operation completed successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"string"}}}]}}}}},"tags":["accounting"]}},"/accounting/event-subscriptions":{"post":{"operationId":"createEventSubscriptions","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEventSubscriptionRequestDto"}}}},"responses":{"201":{"description":"Event subscription created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponseDto"}}}}},"tags":["accounting"]}},"/accounting/event-subscriptions/{eventSubscriptionId}":{"delete":{"operationId":"deleteEventSubscriptions","parameters":[{"name":"eventSubscriptionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Operation completed successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponseDto"}}}}},"tags":["accounting"]}},"/accounting/profile":{"get":{"operationId":"getProfile","parameters":[{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Profile information for the authenticated end user's connected target system","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponseDto"}}}}},"tags":["accounting"]}},"/accounting/passThrough":{"post":{"operationId":"createPassThroughRequest","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePassThroughRequestDto"}}}},"responses":{"201":{"description":"Pass-through request forwarded to the upstream target system successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"object"}}}]}}}}},"tags":["accounting"]}},"/accounting/bills":{"get":{"operationId":"getBills","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter bills by unified status","schema":{"enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"type":"string"}},{"name":"paymentStatus","required":false,"in":"query","description":"Filter bills by payment status","schema":{"enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"orderField","required":false,"in":"query","description":"Field to sort the results by","schema":{"enum":["billDate","billNumber","createdDate","updatedDate"],"type":"string"}},{"name":"orderDir","required":false,"in":"query","description":"Sort direction for the ordered results","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"billDateFrom","required":false,"in":"query","description":"ISO 8601 timestamp; only records with bill date after the provided value are returned","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of bills for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BillResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createBill","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBillRequestDto"}}}},"responses":{"201":{"description":"Bill created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BillResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bills/{billId}":{"get":{"operationId":"getBill","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Bill record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BillResponseDto"}}}]}}}}},"tags":["accounting"]},"put":{"operationId":"updateBill","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBillRequestDto"}}}},"responses":{"200":{"description":"Bill updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BillResponseDto"}}}]}}}}},"tags":["accounting"]},"delete":{"operationId":"deleteBill","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Operation completed successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"string"}}}]}}}}},"tags":["accounting"]}},"/accounting/bills/{billId}/document":{"get":{"operationId":"getBillDocument","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Document associated with the specified bill","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bookingProposals":{"post":{"operationId":"createBookingProposal","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Name of the environment (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"bookingType":{"type":"string"},"bookingProposal":{"$ref":"#/components/schemas/CreateBookingProposalRequestDto"},"folderManagement":{"type":"object","properties":{"category":{"type":"string"},"folder":{"type":"string"},"register":{"type":"string"}}}}}}}},"responses":{"201":{"description":"Booking proposal created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BookingProposalResponseDto"}}}]}}}}},"tags":["accounting"]},"get":{"operationId":"getBookingProposals","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"bookingType","required":false,"in":"query","description":"Filter booking proposals by booking type","schema":{"enum":["INVOICE","BILL","CREDIT_NOTE","CREDIT_CARD","EXPENSE","INVOICE_CREDIT_NOTE","BILL_CREDIT_NOTE","DOWN_PAYMENT","OTHER"],"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter booking proposals by status","schema":{"enum":["DRAFT","SUBMITTED","OPEN","PARTIALLY_PAID","PAID","OVERDUE","VOIDED","DISPUTED","CANCELLED"],"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"orderField","required":false,"in":"query","description":"Field to sort the results by","schema":{"enum":["bookingProposalDate","number","createdDate","updatedDate"],"type":"string"}},{"name":"orderDir","required":false,"in":"query","description":"Sort direction for the ordered results","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of booking proposals for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BookingProposalResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/bookingProposals/{bookingProposalId}/attachments":{"post":{"operationId":"createBookingProposalAttachment","parameters":[{"name":"bookingProposalId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"documentType":{"type":"string","enum":["BILL","INVOICE"]}}}}}},"responses":{"201":{"description":"Booking proposal attachment uploaded successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bookingProposals/{bookingProposalId}":{"get":{"operationId":"getBookingProposal","parameters":[{"name":"bookingProposalId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Booking proposal record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BookingProposalResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bookingProposals/{bookingProposalId}/document":{"get":{"operationId":"getBookingProposalDocument","parameters":[{"name":"bookingProposalId","required":true,"in":"path","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Document associated with the specified booking proposal","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/DocumentResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/vendorCredits":{"get":{"operationId":"getVendorCredits","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter vendor credits by unified status","schema":{"enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"type":"string"}},{"name":"paymentStatus","required":false,"in":"query","description":"Filter vendor credits by payment status","schema":{"enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of vendor credits for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/VendorCreditResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createVendorCredit","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVendorCreditRequestDto"}}}},"responses":{"201":{"description":"Vendor credit created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/VendorCreditResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/vendorCredits/{vendorCreditId}":{"put":{"operationId":"updateVendorCredit","parameters":[{"name":"vendorCreditId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVendorCreditRequestDto"}}}},"responses":{"200":{"description":"Vendor credit updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BillResponseDto"}}}]}}}}},"tags":["accounting"]},"delete":{"operationId":"deleteVendorCredit","parameters":[{"name":"vendorCreditId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Operation completed successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"string"}}}]}}}}},"tags":["accounting"]}},"/accounting/bills/{billId}/lineItems":{"get":{"operationId":"getBillLineItems","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BillLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createBillLineItem","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBillLineItemRequestDto"}}}},"responses":{"201":{"description":"Bill line item created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BillLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/bills/{billId}/lineItems/{lineItemId}":{"put":{"operationId":"updateBillLineItem","parameters":[{"name":"billId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBillLineItemRequestDto"}}}},"responses":{"200":{"description":"Bill line item updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BillLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/purchaseOrders":{"get":{"operationId":"getPurchaseOrders","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of purchase orders for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/purchaseOrders/{purchaseOrderId}":{"get":{"operationId":"getPurchaseOrder","parameters":[{"name":"purchaseOrderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Purchase order record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PurchaseOrderResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/purchaseOrders/{purchaseOrderId}/lineItems":{"get":{"operationId":"getPurchaseOrderLineItems","parameters":[{"name":"purchaseOrderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderLineItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/purchaseOrders/{purchaseOrderId}/lineItems/{lineItemId}":{"get":{"operationId":"getPurchaseOrderLineItem","parameters":[{"name":"purchaseOrderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Purchase order line item record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/PurchaseOrderLineItemResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/goodsReceipts":{"get":{"operationId":"getGoodsReceipts","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of goods receipts for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GoodsReceiptResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/goodsReceipts/{goodsReceiptId}":{"get":{"operationId":"getGoodsReceipt","parameters":[{"name":"goodsReceiptId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Goods receipt record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/GoodsReceiptResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/goodsReceipts/{goodsReceiptId}/lineItems":{"get":{"operationId":"getGoodsReceiptLineItems","parameters":[{"name":"goodsReceiptId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of line items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GoodsReceiptLineItemResponse"}}}}]}}}}},"tags":["accounting"]}},"/accounting/goodsReceipts/{goodsReceiptId}/lineItems/{lineItemId}":{"get":{"operationId":"getGoodsReceiptLineItem","parameters":[{"name":"goodsReceiptId","required":true,"in":"path","schema":{"type":"string"}},{"name":"lineItemId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Goods receipt line item record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/GoodsReceiptLineItemResponse"}}}]}}}}},"tags":["accounting"]}},"/accounting/units":{"get":{"operationId":"getUnits","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of units for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UnitResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/openItems":{"get":{"operationId":"getOpenItems","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"fiscalYear","required":false,"in":"query","description":"Fiscal year to scope the open items results (e.g. 2024)","schema":{"type":"number"}},{"name":"accountNumber","required":false,"in":"query","description":"Filter open items by account number","schema":{"type":"string"}},{"name":"documentNumber","required":false,"in":"query","description":"Filter open items by document number","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter open items by type (e.g. receivable, payable)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of open items for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OpenItemResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/openItems/async":{"get":{"operationId":"getOpenItemsAsync","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"fiscalYearStartDate","required":false,"in":"query","description":"ISO 8601 start date of the fiscal year used for balance calculation","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":"Open items fetch queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/trialBalance":{"get":{"operationId":"getTrialBalance","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"fiscalYear","required":false,"in":"query","description":"Fiscal year to scope the trial balance results (e.g. 2024)","schema":{"type":"number"}},{"name":"accountNumber","required":false,"in":"query","description":"Filter the trial balance by account number","schema":{"type":"string"}},{"name":"accountCode","required":false,"in":"query","description":"Filter the trial balance by account code","schema":{"type":"string"}},{"name":"fiscalYearStartDate","required":false,"in":"query","description":"ISO 8601 start date of the fiscal year used for balance calculation","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Trial balance for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TrialBalanceResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/creditNotes":{"get":{"operationId":"getCreditNotes","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of credit notes for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CreditNoteResponseDto"}}}}]}}}}},"tags":["accounting"]},"post":{"operationId":"createCreditNote","parameters":[{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCreditNoteRequestDto"}}}},"responses":{"200":{"description":"Credit note created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/CreditNoteResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/creditNotes/{creditNoteId}":{"get":{"operationId":"getCreditNote","parameters":[{"name":"creditNoteId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Credit note record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/CreditNoteResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/creditNotes/{creditNoteId}/documents":{"get":{"operationId":"getCreditNoteDocuments","parameters":[{"name":"creditNoteId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Documents associated with the specified credit note","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/fiscalYears":{"get":{"operationId":"getFiscalYears","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of fiscal years for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FiscalYearResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/fiscalYears/{fiscalYearId}":{"get":{"operationId":"getFiscalYear","parameters":[{"name":"fiscalYearId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Fiscal year record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"items":{"$ref":"#/components/schemas/FiscalYearResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/expenses/async":{"post":{"operationId":"createExpenseAsync","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"expense":{"$ref":"#/components/schemas/CreateExpenseRequestDtoV2"}}}}}},"responses":{"202":{"description":"Expense queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/bookingProposals/async":{"post":{"operationId":"createBookingProposalAsync","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"bookingType":{"type":"string","enum":["INVOICE","BILL","CREDIT_NOTE","VENDOR_CREDIT"]},"bookingProposal":{"$ref":"#/components/schemas/CreateBookingProposalRequestDtoV2"},"folderManagement":{"type":"object","properties":{"category":{"type":"string"},"folder":{"type":"string"},"register":{"type":"string"}}}}}}}},"responses":{"202":{"description":"Booking proposal queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting"]}},"/accounting/currencies":{"get":{"operationId":"getCurrencies","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of currencies for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CurrencyResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/reasonCodes":{"get":{"operationId":"getReasonCodes","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of reason codes for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ReasonCodeResponseDto"}}}}]}}}}},"tags":["accounting"]}},"/accounting/v2/bookingProposals":{"post":{"operationId":"createBookingProposalV2","parameters":[{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"bookingType":{"type":"string","enum":["INVOICE","BILL","CREDIT_NOTE","VENDOR_CREDIT"]},"bookingProposal":{"$ref":"#/components/schemas/CreateBookingProposalRequestDtoV2"},"folderManagement":{"type":"object","properties":{"category":{"type":"string"},"folder":{"type":"string"},"register":{"type":"string"}}}}}}}},"responses":{"201":{"description":"Booking proposal created successfully (synchronous).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/BookingProposalResponseDtoV2"}}}]}}}},"202":{"description":"Booking proposal queued successfully. Processed asynchronously and returns 202 with taskId.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/TaskIdResponseDto"}}}]}}}}},"tags":["accounting-v2"]}},"/accounting/v2/contacts":{"get":{"operationId":"getContactsV2","parameters":[{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of contacts for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}}]}}}}},"tags":["accounting-v2"]},"post":{"operationId":"createContactV2","parameters":[{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"201":{"description":"Contact created successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting-v2"]}},"/accounting/v2/contacts/{contactId}":{"get":{"operationId":"getContactV2","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Contact record matching the provided ID","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting-v2"]},"put":{"operationId":"putContactV2","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"200":{"description":"Contact updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}},"201":{"description":"Contact created successfully (upsert)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting-v2"]},"patch":{"operationId":"patchContactV2","parameters":[{"name":"contactId","required":true,"in":"path","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}}}},"responses":{"200":{"description":"Contact updated successfully","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/ContactResponseDtoV2"}}}]}}}}},"tags":["accounting-v2"]}},"/accounting/v2/dimensions":{"get":{"operationId":"getDimensionsV2","parameters":[{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of dimension categories for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DimensionMetaResponseDto"}}}}]}}}}},"tags":["accounting-v2"]}},"/accounting/v2/dimensions/{dimension}":{"get":{"operationId":"getDimensionsByDimensionV2","parameters":[{"name":"dimension","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"enum":[5,10,20,50,100],"type":"number"}},{"name":"lastModifiedAt","required":false,"in":"query","description":"ISO 8601 timestamp; only records modified after this date are returned","schema":{"type":"string"}},{"name":"environmentName","required":false,"in":"query","description":"Environment name (required for multi-environment systems such as Business Central)","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","description":"ID of the company (required for multi-company target systems)","schema":{"type":"string"}},{"name":"rawData","required":false,"in":"query","description":"When true, returns the unprocessed response from the upstream target system","schema":{"type":"boolean"}},{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of dimension values for the authenticated end user's connected target system","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DimensionMetaResponseDto"}}}}]}}}}},"tags":["accounting-v2"]}},"/user/user-info":{"get":{"operationId":"getUserInfo","parameters":[{"name":"X-API-KEY","description":"API key","in":"header","schema":{"type":"string"}},{"name":"X-ACCOUNT-KEY","description":"Account key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BaseResponseDto"},{"properties":{"data":{"$ref":"#/components/schemas/UserInfoResponseDto"}}}]}}}}},"tags":["user"]}}},"info":{"title":"Maesn unified API","description":"The Maesn unified API description","version":"1.0","contact":{}},"tags":[{"name":"maesn","description":""}],"servers":[],"components":{"schemas":{"TaxRateResponseCommonDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"percentage":{"type":"number","nullable":true}},"required":["id","code","name","percentage"]},"AccountResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"balance":{"type":"number","nullable":true},"class":{"type":"string","enum":["ASSET","EQUITY","EXPENSE","LIABILITY","REVENUE"],"nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true},"description":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"parentAccountId":{"type":"string","nullable":true},"status":{"type":"string","enum":["ACTIVE","ARCHIVED"],"nullable":true},"taxRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TaxRateResponseCommonDto"}]},"type":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","balance","class","code","createdDate","currency","debitCreditIndicator","description","name","number","parentAccountId","status","taxRate","type","updatedDate"]},"ContactAddress":{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"nullable":true},"postalCode":{"type":"string","nullable":true},"type":{"type":"string","enum":["BILLING","DELIVERY","EMPTY","PRIVATE","WORK","PICKUP"],"nullable":true}},"required":["addressLine1","addressLine2","city","countryCode","postalCode","type"]},"BankAccountResponse":{"type":"object","properties":{"bic":{"type":"string","nullable":true},"holder":{"type":"string","nullable":true},"isMainAccount":{"type":"boolean","nullable":true},"iban":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"sepa":{"type":"boolean","nullable":true}},"required":["bic","holder","isMainAccount","iban","name","sepa"]},"EmailAddress":{"type":"object","properties":{"email":{"type":"string","nullable":true},"type":{"type":"string","enum":["BUSINESS","PRIVATE","OFFICE","INVOICE","PAYMENT","OTHER"],"nullable":true}}},"PhoneNumber":{"type":"object","properties":{"number":{"type":"string","nullable":true},"type":{"type":"string","enum":["BUSINESS","MOBILE","OFFICE","FAX","PRIVATE","LANDLINE","SKYPE","WHATSAPP","OTHER"],"nullable":true}}},"ContactPerson":{"type":"object","properties":{"emailAddresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/EmailAddress"}},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"phoneNumbers":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PhoneNumber"}},"salutation":{"type":"string","nullable":true}},"required":["emailAddresses","firstName","lastName","phoneNumbers","salutation"]},"ContactResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ContactAddress"}},"accountNumber":{"type":"number","nullable":true},"bankAccounts":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BankAccountResponse"}},"companyName":{"type":"string","nullable":true},"contactPersons":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ContactPerson"}},"contactType":{"type":"string","enum":["CONTACT_PERSON","COMPANY","UNDEFINED"],"nullable":true},"documentId":{"type":"string","nullable":true},"emailAddresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/EmailAddress"}},"number":{"type":"string","nullable":true},"phoneNumbers":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PhoneNumber"}},"projectId":{"type":"string","nullable":true},"role":{"type":"string","enum":["SUPPLIER","CUSTOMER","CONTACT"],"nullable":true},"updatedDate":{"type":"string","nullable":true},"vatId":{"type":"string","nullable":true}},"required":["id","addresses","companyName","contactPersons","contactType","documentId","emailAddresses","number","phoneNumbers","projectId","role","updatedDate","vatId"]},"Address":{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"nullable":true},"postalCode":{"type":"string","nullable":true},"type":{"type":"string","enum":["BILLING","DELIVERY","SELLING"],"nullable":true}}},"InvoiceDimensionResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"categoryName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"required":["id","categoryName","name"]},"LineItemResponseDto":{"type":"object","properties":{"lineItemId":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/InvoiceDimensionResponseDto"}},"discountItemAmount":{"type":"number","nullable":true},"discountItemPercentage":{"type":"number","nullable":true},"grossAmount":{"type":"number","nullable":true},"itemsAmount":{"type":"number","nullable":true},"itemId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["lineItemId","accountId","createdDate","description","dimensions","discountItemAmount","discountItemPercentage","grossAmount","itemsAmount","itemId","name","quantity","taxCode","taxRatePercentage","unitAmount","updatedDate"]},"InvoiceResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"invoiceId":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"discountAmount":{"type":"number","nullable":true},"dueDate":{"type":"string","nullable":true},"fileId":{"type":"string","nullable":true},"invoiceDate":{"type":"string","nullable":true},"invoiceNumber":{"type":"string","nullable":true},"invoiceType":{"type":"string","enum":["STANDARD","BILL"],"nullable":true},"journalCode":{"type":"string","nullable":true},"lineAmountTypes":{"type":"string","enum":["EXCLUSIVE","INCLUSIVE","NOTAX"],"nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/LineItemResponseDto"}},"name":{"type":"string","nullable":true},"oneLineAddress":{"type":"string","nullable":true},"paidDate":{"type":"string","nullable":true},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"nullable":true},"paymentTermDuration":{"type":"number","nullable":true},"paymentTermId":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"salesOrderId":{"type":"string","nullable":true},"shippingDate":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"nullable":true},"sumNetAmount":{"type":"number","nullable":true},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"],"nullable":true},"totalAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","invoiceId","addresses","contactId","createdDate","currency","discountAmount","dueDate","fileId","invoiceDate","invoiceNumber","invoiceType","journalCode","lineAmountTypes","lineItems","name","oneLineAddress","paidDate","paymentStatus","paymentTermDuration","paymentTermId","reference","salesOrderId","shippingDate","status","sumNetAmount","taxRule","totalAmount","totalTaxAmount","updatedDate"]},"PaginationResponse":{"type":"object","properties":{"total":{"type":"number"},"perPage":{"type":"number"},"currentPage":{"type":"number"},"totalPages":{"type":"number"}},"required":["total","perPage","currentPage","totalPages"]},"MetaResponse":{"type":"object","properties":{"warnings":{"nullable":true,"type":"array","items":{"type":"string"}},"pagination":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PaginationResponse"}]}}},"BaseResponseDto":{"type":"object","properties":{"meta":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MetaResponse"}]},"data":{"type":"object"},"errors":{"type":"object","nullable":true},"rawData":{"type":"object","nullable":true}},"required":["data","errors","rawData"]},"DocumentResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"base64Encoded":{"type":"boolean","nullable":true},"content":{"type":"string","nullable":true},"contentType":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true}},"required":["id","base64Encoded","content","contentType","fileName"]},"ItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"assetAccountId":{"type":"string","nullable":true},"expenseAccountId":{"type":"string","nullable":true},"incomeAccountId":{"type":"string","nullable":true},"inventoryStartDate":{"type":"string","nullable":true},"itemNumber":{"type":"string","nullable":true},"lastModifiedDate":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"priceIncludesTax":{"type":"boolean","nullable":true},"stockCount":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"type":{"type":"string","enum":["PRODUCT","SERVICE"],"nullable":true},"unitName":{"type":"string","enum":["PIECE","STÜCK","NOT_UNIT","CUBIC_METRE","DAY","GRAM","HOUR","KILOGRAM","KILOMETRE","LITRE","METRE","MILLIGRAM","MILLILITRE","MONTH","NIGHT","PACK","PERCENTAGE","SQUARE_METRE","TONNE","UNIT"],"nullable":true},"unitPurchasePrice":{"type":"number","nullable":true},"unitSalesPrice":{"type":"number","nullable":true}},"required":["id","assetAccountId","expenseAccountId","incomeAccountId","inventoryStartDate","itemNumber","lastModifiedDate","name","priceIncludesTax","stockCount","taxCode","taxRatePercentage","type","unitName","unitPurchasePrice","unitSalesPrice"]},"CheckClientPermissionsResponseDto":{"type":"object","properties":{"accountLength":{"type":"number","nullable":true},"fiscalYear":{"type":"string","nullable":true},"hasPermission":{"type":"boolean","nullable":true},"jobId":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"postingMonth":{"type":"string","nullable":true}},"required":["accountLength","fiscalYear","hasPermission","jobId","message","postingMonth"]},"DocumentTypesResponseDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"category":{"type":"string","nullable":true}},"required":["name","category"]},"DocumentExtensionsResponseDto":{"type":"object","properties":{"allowed_file_extensions":{"nullable":true,"type":"array","items":{"type":"string"}}},"required":["allowed_file_extensions"]},"BillDimensionResponseDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"categoryName":{"type":"string","nullable":true}},"required":["name","categoryName"]},"BillLineItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"deferredEndDate":{"type":"string","nullable":true},"deferredStartDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BillDimensionResponseDto"}},"itemId":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountId","accountNumber","createdDate","deferredEndDate","deferredStartDate","description","dimensions","itemId","itemName","quantity","taxCode","taxRatePercentage","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"BillResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"billDate":{"type":"string","nullable":true},"billNumber":{"type":"string","nullable":true},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deliveryDate":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"fileId":{"type":"string","nullable":true},"journalCode":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BillLineItemResponseDto"}},"name":{"type":"string","nullable":true},"oneLineAddress":{"type":"string","nullable":true},"paidDate":{"type":"string","nullable":true},"paymentDays":{"type":"number","nullable":true},"paymentReference":{"type":"string","nullable":true},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"nullable":true},"paymentTermCode":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"shippingDate":{"type":"string","nullable":true},"shippingType":{"type":"string","enum":["SERVICE","SERVICE_PERIOD","DELIVERY","DELIVERY_PERIOD"],"nullable":true},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"nullable":true},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"],"nullable":true},"taxText":{"type":"string","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountId","addresses","billDate","billNumber","contactId","createdDate","currency","deliveryDate","dueDate","fileId","journalCode","lineItems","name","oneLineAddress","paidDate","paymentDays","paymentReference","paymentStatus","paymentTermCode","reference","shippingDate","shippingType","status","taxRule","taxText","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"AdvancePayment":{"type":"object","properties":{"orderNumber":{"type":"string","nullable":true},"type":{"type":"string","enum":["ADVANCE_INVOICE_REQUESTED","ADVANCE_PAYMENT_RECEIVED","ADVANCE_LIABILITY_TRANSFER","FINAL_INVOICE","FINAL_INVOICE_CLEARING","FINAL_PAYMENT_RECEIVED","OTHER"],"nullable":true}},"required":["orderNumber","type"]},"Dimension":{"type":"object","properties":{"id":{"type":"string","nullable":true},"categoryName":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"required":["id","categoryName","code","name"]},"TaxRate":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"taxRatePercentage":{"type":"string","nullable":true}},"required":["id","code","name","taxRatePercentage"]},"JournalLineItem":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountCode":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"customerId":{"type":"string","nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Dimension"}},"discountAmount":{"type":"number","nullable":true},"documentId":{"type":"string","nullable":true},"documentNumber":{"type":"string","nullable":true},"exchangeRate":{"type":"number","nullable":true},"supplierId":{"type":"string","nullable":true},"taxRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TaxRate"}]},"thirdPartyCode":{"type":"string","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountCode","accountId","accountNumber","createdDate","currency","customerId","debitCreditIndicator","description","dimensions","documentId","documentNumber","exchangeRate","supplierId","taxRate","thirdPartyCode","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"JournalEntryResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountingPeriodId":{"type":"string","nullable":true},"accountingReason":{"type":"string","enum":["COMMERCIAL","TAX","IFRS","CALCULATION","INDEPENDENT","OTHER"],"nullable":true},"additionalInformation":{"type":"string","nullable":true},"advancePayment":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AdvancePayment"}]},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true},"deliveryDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"documentId":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"exchangeRate":{"type":"string","nullable":true},"files":{"nullable":true,"type":"array","items":{"type":"string"}},"isProvisional":{"type":"boolean","nullable":true},"isReversal":{"type":"boolean","nullable":true},"journalCode":{"type":"string","nullable":true},"journalLineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/JournalLineItem"}},"journalType":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"recordType":{"type":"string","enum":["STANDARD","CLOSING","OPENING"],"nullable":true},"taxAssignmentDate":{"type":"string","nullable":true},"transactionDate":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true},"version":{"type":"string","nullable":true}},"required":["id","accountId","accountingPeriodId","accountingReason","createdDate","currency","description","documentId","exchangeRate","files","isProvisional","isReversal","journalCode","journalLineItems","journalType","number","recordType","transactionDate","updatedDate","version"]},"AdvancePaymentInput":{"type":"object","properties":{"orderNumber":{"type":"string"},"type":{"type":"string","enum":["ADVANCE_INVOICE_REQUESTED","ADVANCE_PAYMENT_RECEIVED","ADVANCE_LIABILITY_TRANSFER","FINAL_INVOICE","FINAL_INVOICE_CLEARING","FINAL_PAYMENT_RECEIVED","OTHER"]}}},"DimensionInput":{"type":"object","properties":{"id":{"type":"string"},"categoryName":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"TaxRateInput":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"taxRatePercentage":{"type":"string"}}},"CreateJournalLineItem":{"type":"object","properties":{"id":{"type":"string"},"accountCode":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"customerId":{"type":"string"},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"]},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/DimensionInput"}},"discountAmount":{"type":"number"},"documentId":{"type":"string"},"documentNumber":{"type":"string"},"exchangeRate":{"type":"string"},"supplierId":{"type":"string"},"taxRate":{"$ref":"#/components/schemas/TaxRateInput"},"thirdPartyCode":{"type":"string"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"}}},"CreateJournalEntryRequestDto":{"type":"object","properties":{"accountId":{"type":"string"},"accountingPeriodId":{"type":"string"},"accountingReason":{"type":"string","enum":["COMMERCIAL","TAX","IFRS","CALCULATION","INDEPENDENT","OTHER"]},"additionalInformation":{"type":"string"},"advancePayment":{"$ref":"#/components/schemas/AdvancePaymentInput"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"]},"deliveryDate":{"type":"string"},"description":{"type":"string"},"documentId":{"type":"string"},"dueDate":{"type":"string"},"exchangeRate":{"type":"string"},"isProvisional":{"type":"boolean"},"isReversal":{"type":"boolean"},"journalCode":{"type":"string"},"journalLineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateJournalLineItem"}},"journalType":{"type":"string"},"number":{"type":"string"},"recordType":{"type":"string","enum":["STANDARD","CLOSING","OPENING"]},"taxAssignmentDate":{"type":"string"},"transactionDate":{"type":"string"},"version":{"type":"string"}}},"AddressOffer":{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"nullable":true},"postalCode":{"type":"string","nullable":true},"type":{"type":"string","enum":["BILLING","DELIVERY","SELLING"],"nullable":true}}},"OfferLineItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountCode":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"itemId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"taxType":{"type":"string","nullable":true},"type":{"type":"string","enum":["COMMENT","ACCOUNT","ITEM","RESOURCE","VALUE","FIXED_ASSET","CHARGE","SERVICE"],"nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountCode","accountId","createdDate","description","itemId","name","quantity","taxCode","taxRatePercentage","taxType","type","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"OfferResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/AddressOffer"}},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"expirationDate":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/OfferLineItemResponseDto"}},"name":{"type":"string","nullable":true},"offerDate":{"type":"string","nullable":true},"offerNumber":{"type":"string","nullable":true},"oneLineAddress":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","SENT","ACCEPTED","EXPIRED","VOIDED","DECLINED"],"nullable":true},"taxText":{"type":"string","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","addresses","contactId","createdDate","currency","expirationDate","lineItems","name","offerDate","offerNumber","oneLineAddress","reference","status","taxText","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"CreateOfferLineItemRequestDto":{"type":"object","properties":{"accountCode":{"type":"string"},"accountId":{"type":"string"},"description":{"type":"string"},"itemId":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"taxType":{"type":"string"},"type":{"type":"string","enum":["COMMENT","ACCOUNT","ITEM","RESOURCE","VALUE","FIXED_ASSET","CHARGE","SERVICE"]},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"unitAmount":{"type":"number"},"unitDiscountAmount":{"type":"number"},"unitDiscountPercentage":{"type":"number"},"unitName":{"type":"string"}},"required":["accountCode","accountId","description","itemId","name","quantity","taxCode","taxRatePercentage","taxType","type","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName"]},"CreateOfferRequestDto":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/AddressOffer"}},"contactId":{"type":"string"},"currency":{"type":"string"},"expirationDate":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateOfferLineItemRequestDto"}},"name":{"type":"string"},"offerDate":{"type":"string"},"offerNumber":{"type":"string"},"oneLineAddress":{"type":"string"},"reference":{"type":"string"},"status":{"type":"string","enum":["DRAFT","SENT","ACCEPTED","EXPIRED","VOIDED","DECLINED"]},"taxText":{"type":"string"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"}},"required":["addresses","currency","offerDate"]},"ExpenseLineItem":{"type":"object","properties":{"id":{"type":"string"},"accountCode":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"number"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/DimensionInput"}},"documentNumber":{"type":"string"},"exchangeRate":{"type":"number"},"itemId":{"type":"string"},"taxRate":{"$ref":"#/components/schemas/TaxRateInput"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"}}},"CreateExpenseDto":{"type":"object","properties":{"id":{"type":"string"},"accountCode":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"number"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"customerId":{"type":"string"},"exchangeRate":{"type":"string"},"expenseLines":{"type":"array","items":{"$ref":"#/components/schemas/ExpenseLineItem"}},"description":{"type":"string"},"documentId":{"type":"string"},"journalCode":{"type":"string"},"ledgerName":{"type":"string"},"note":{"type":"string"},"paymentTermId":{"type":"string"},"paymentType":{"type":"string","enum":["CASH","CHECK","CREDIT_CARD","CREDIT","COLLECTION"]},"supplierId":{"type":"string"},"type":{"type":"string","enum":["EXPENSE","REFUND"]},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"transactionDate":{"type":"string"}}},"ExpenseLineItemResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountCode":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Dimension"}},"documentNumber":{"type":"string","nullable":true},"exchangeRate":{"type":"number","nullable":true},"itemId":{"type":"string","nullable":true},"taxRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TaxRate"}]},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountCode","accountId","accountNumber","createdDate","currency","description","dimensions","documentNumber","exchangeRate","itemId","taxRate","totalGrossAmount","totalNetAmount","updatedDate"]},"ExpenseResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountCode":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"customerId":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"documentId":{"type":"string","nullable":true},"exchangeRate":{"type":"string","nullable":true},"expenseLines":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ExpenseLineItemResponse"}},"files":{"nullable":true,"type":"array","items":{"type":"string"}},"journalCode":{"type":"string","nullable":true},"ledgerName":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"paymentTermId":{"type":"string","nullable":true},"paymentType":{"type":"string","enum":["CASH","CHECK","CREDIT_CARD","CREDIT","COLLECTION"],"nullable":true},"supplierId":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true},"type":{"type":"string","enum":["EXPENSE","REFUND"],"nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"transactionDate":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountCode","accountId","accountNumber","createdDate","currency","customerId","description","documentId","exchangeRate","expenseLines","files","journalCode","ledgerName","note","paymentTermId","paymentType","supplierId","taskId","type","totalGrossAmount","totalNetAmount","totalTaxAmount","transactionDate","updatedDate"]},"ProjectResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"contactId":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"description":{"type":"string","nullable":true},"endDate":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"parentProjectId":{"type":"string","nullable":true},"status":{"type":"string","enum":["ACTIVE","CLOSED"],"nullable":true},"startDate":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","code","createdDate","contactId","currency","description","endDate","name","number","parentProjectId","status","startDate","updatedDate"]},"CreateProjectRequestDto":{"type":"object","properties":{"code":{"type":"string"},"contactId":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"description":{"type":"string"},"endDate":{"type":"string"},"name":{"type":"string"},"number":{"type":"string"},"parentProjectId":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","CLOSED"]},"startDate":{"type":"string"}}},"SalesOrderLineItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"itemId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","itemId","createdDate","description","itemName","quantity","taxCode","taxRatePercentage","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"SalesOrderResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"billingContactId":{"type":"string","nullable":true},"comment":{"type":"string","nullable":true},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deliveryDate":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/SalesOrderLineItemResponseDto"}},"oneLineAddress":{"type":"string","nullable":true},"orderDate":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"shippingContactId":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","IN_REVIEW","OPEN","CLOSED","VOIDED"],"nullable":true},"taskId":{"type":"string","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","addresses","billingContactId","comment","contactId","createdDate","currency","deliveryDate","lineItems","oneLineAddress","orderDate","projectId","shippingContactId","status","taskId","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"CreateSalesOrderLineItemRequestDto":{"type":"object","properties":{"itemId":{"type":"string"},"description":{"type":"string"},"itemName":{"type":"string"},"lineNumber":{"type":"string"},"optional":{"type":"boolean"},"parentLineNumber":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"unitAmount":{"type":"number"},"unitDiscountAmount":{"type":"number"},"unitDiscountPercentage":{"type":"number"},"unitName":{"type":"string"}}},"CreateSalesOrderRequestDto":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"billingContactId":{"type":"string"},"comment":{"type":"string"},"contactId":{"type":"string"},"currency":{"type":"string"},"deliveryDate":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateSalesOrderLineItemRequestDto"}},"oneLineAddress":{"type":"string"},"orderDate":{"type":"string"},"projectId":{"type":"string"},"shippingContactId":{"type":"string"},"status":{"type":"string","enum":["DRAFT","IN_REVIEW","OPEN","CLOSED","VOIDED"]},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"version":{"type":"string"}}},"InformationResponseDto":{"type":"object","properties":{"filename":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"timestamp":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"required":["filename","message","timestamp","type"]},"AsyncTaskResponseDto":{"type":"object","properties":{"information":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/InformationResponseDto"}},"responseData":{"type":"object","nullable":true},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","FINISHED","SUCCESS","FAILED","PARTIAL_SUCCESS","CANCELLED_SUCCESSFULLY","CANCEL_FAILED","DELETED"],"nullable":true}},"required":["information","responseData","status"]},"CreatePassThroughRequestDto":{"type":"object","properties":{"path":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"headers":{"type":"object"},"body":{"type":"object"},"query":{"type":"object"}},"required":["path","method"]},"TransactionResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true},"bookingDate":{"type":"string","nullable":true},"contact":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"description":{"type":"string","nullable":true},"files":{"nullable":true,"type":"array","items":{"type":"string"}},"journalCode":{"type":"string","nullable":true},"ledgerName":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"status":{"type":"string","enum":["CREATED","LINKED","PRIVATE","BOOKED","AUTHORISED","DELETED"],"nullable":true},"taskId":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"type":{"type":"string","enum":["RECEIVE","RECEIVE-OVERPAYMENT","RECEIVE-PREPAYMENT","SPEND","SPEND-OVERPAYMENT","SPEND-PREPAYMENT","RECEIVE-TRANSFER","SPEND-TRANSFER"],"nullable":true},"valueDate":{"type":"string","nullable":true}},"required":["id","accountId","accountNumber","amount","bookingDate","contact","currency","description","files","journalCode","ledgerName","reference","status","taskId","taxRatePercentage","type","valueDate"]},"DiscountPeriodResponse":{"type":"object","properties":{"invoiceRange":{"type":"string","nullable":true},"discountDeadline":{"type":"string","nullable":true},"discountDeadline2":{"type":"string","nullable":true},"paymentDeadline":{"type":"string","nullable":true}},"required":["invoiceRange","discountDeadline","discountDeadline2","paymentDeadline"]},"PaymentTermResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"discountDays":{"type":"number","nullable":true},"discountDays2":{"type":"number","nullable":true},"discountDaysCalculation":{"type":"string","nullable":true},"discountPercentage":{"type":"number","nullable":true},"discountPercentage2":{"type":"number","nullable":true},"discountPeriods":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/DiscountPeriodResponse"}},"dueType":{"type":"string","enum":["DUE_IN_DAYS","DUE_AS_PERIOD"],"nullable":true},"name":{"type":"string","nullable":true},"paymentDays":{"type":"number","nullable":true},"paymentDaysCalculation":{"type":"string","nullable":true},"paymentMethod":{"type":"string","enum":["CASH","BANK_TRANSFER","PAYMENT_SERVICE_PROVIDER","AUTOMATIC_BANK_WITHDRAWAL"],"nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","code","createdDate","description","discountDays","discountDays2","discountDaysCalculation","discountPercentage","discountPercentage2","discountPeriods","dueType","name","paymentDays","paymentDaysCalculation","paymentMethod","updatedDate"]},"TaxRateResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"percentage":{"type":"number","nullable":true},"type":{"type":"string","enum":["INCLUSIVE","EXCLUSIVE","NO_TAX","ZERO_TAX"],"nullable":true},"updatedDate":{"type":"string","nullable":true},"usage":{"type":"string","enum":["INVOICE","BILL","JOURNAL_ENTRY","CASH","ALL"],"nullable":true}},"required":["id","code","createdDate","description","name","percentage","type","updatedDate","usage"]},"CreateTransactionRequestDto":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"number"},"amount":{"type":"number"},"bookingDate":{"type":"string"},"code":{"type":"string"},"contact":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"description":{"type":"string"},"journalCode":{"type":"string"},"ledgerName":{"type":"string"},"reference":{"type":"string"},"status":{"type":"string","enum":["CREATED","LINKED","PRIVATE","BOOKED","AUTHORISED","DELETED"]},"taxRatePercentage":{"type":"number"},"type":{"type":"string","enum":["RECEIVE","RECEIVE-OVERPAYMENT","RECEIVE-PREPAYMENT","SPEND","SPEND-OVERPAYMENT","SPEND-PREPAYMENT","RECEIVE-TRANSFER","SPEND-TRANSFER"]},"valueDate":{"type":"string"}}},"PaymentLine":{"type":"object","properties":{"accountId":{"type":"string","nullable":true},"amount":{"type":"number","nullable":true},"contactName":{"type":"string","nullable":true},"contactId":{"type":"string","nullable":true},"customerId":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"invoiceId":{"type":"string","nullable":true},"supplierId":{"type":"string","nullable":true},"paymentDate":{"type":"string","nullable":true}},"required":["accountId","amount","contactName","contactId","customerId","description","invoiceId","supplierId","paymentDate"]},"PaymentResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"documentType":{"type":"string","enum":["INVOICE","BILL","BOOKING_PROPOSAL","INVOICE_BOOKING_PROPOSAL","BILL_BOOKING_PROPOSAL"],"nullable":true},"exchangeRate":{"type":"number","nullable":true},"journalId":{"type":"string","nullable":true},"journalCode":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true},"paymentDate":{"type":"string","nullable":true},"paymentType":{"type":"string","nullable":true},"paymentLines":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PaymentLine"}}},"required":["id","currency","createdDate","description","documentType","exchangeRate","journalId","journalCode","updatedDate","paymentDate","paymentType","paymentLines"]},"BookingProposalAddress":{"type":"object","properties":{}},"DimensionRequestCommonDtoV2":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"dimension":{"type":"string"},"name":{"type":"string"}}},"LineItemRequest":{"type":"object","properties":{"id":{"type":"string"},"accountCode":{"type":"string"},"accountId":{"type":"string"},"accountName":{"type":"string"},"accountNumber":{"type":"number"},"bookingTaxCode":{"type":"string"},"description":{"type":"string"},"dimension1":{"type":"string"},"dimension2":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/DimensionRequestCommonDtoV2"}},"discountAmount":{"type":"number"},"discountAmount2":{"type":"number"},"discountPercentage":{"type":"number"},"discountPercentage2":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"type":{"type":"string","enum":["GOODS","SERVICES"]}}},"CreateBookingProposalRequestDto":{"type":"object","properties":{"id":{"type":"string"},"accountName":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/BookingProposalAddress"}},"bankAccountId":{"type":"string"},"bankAccountNumber":{"type":"number"},"bankCode":{"type":"string"},"bic":{"type":"string"},"bookingProposalDate":{"type":"string"},"contactAccountNumber":{"type":"number"},"contactId":{"type":"string"},"contactName":{"type":"string"},"currency":{"type":"string"},"deliveryDate":{"type":"string"},"discountPaymentDate":{"type":"string"},"discountPaymentDate2":{"type":"string"},"dueDate":{"type":"string"},"journalCode":{"type":"string"},"iban":{"type":"string"},"isPaymentOrder":{"type":"boolean"},"ledgerName":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/LineItemRequest"}},"notes":{"type":"string"},"number":{"type":"string"},"orderId":{"type":"string"},"paidDate":{"type":"string"},"paymentTermsId":{"type":"string"},"status":{"type":"string"},"totalGrossAmount":{"type":"number"},"useCollectiveContact":{"type":"boolean"},"vatId":{"type":"string"}},"required":["bookingProposalDate","lineItems"]},"DimensionResponseCommonDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"dimension":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"required":["id","code","dimension","name"]},"LineItemResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountCode":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountName":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"bookingTaxCode":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimension1":{"type":"string","nullable":true},"dimension2":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/DimensionResponseCommonDtoV2"}},"discountAmount":{"type":"number","nullable":true},"discountAmount2":{"type":"number","nullable":true},"discountPercentage":{"type":"number","nullable":true},"discountPercentage2":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"type":{"type":"string","enum":["GOODS","SERVICES"],"nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountCode","accountId","accountName","accountNumber","bookingTaxCode","createdDate","description","dimension1","dimension2","dimensions","discountAmount","discountAmount2","discountPercentage","discountPercentage2","taxCode","taxRatePercentage","totalGrossAmount","totalNetAmount","type","updatedDate"]},"BookingProposalResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountName":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BookingProposalAddress"}},"bankAccountId":{"type":"string","nullable":true},"bankAccountNumber":{"type":"number","nullable":true},"bankCode":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"bookingProposalDate":{"type":"string","nullable":true},"bookingType":{"type":"string","enum":["INVOICE","BILL","CREDIT_NOTE","CREDIT_CARD","EXPENSE","INVOICE_CREDIT_NOTE","BILL_CREDIT_NOTE","DOWN_PAYMENT","OTHER"],"nullable":true},"contactAccountNumber":{"type":"number","nullable":true},"contactId":{"type":"string","nullable":true},"contactName":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deliveryDate":{"type":"string","nullable":true},"discountPaymentDate":{"type":"string","nullable":true},"discountPaymentDate2":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"files":{"nullable":true,"type":"array","items":{"type":"string"}},"journalCode":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"isPaymentOrder":{"type":"boolean","nullable":true},"ledgerName":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/LineItemResponse"}},"notes":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"orderId":{"type":"string","nullable":true},"paidDate":{"type":"string","nullable":true},"paymentTermsId":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","SUBMITTED","OPEN","PARTIALLY_PAID","PAID","OVERDUE","VOIDED","DISPUTED","CANCELLED"],"nullable":true},"taskId":{"type":"string","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true},"vatId":{"type":"string","nullable":true}},"required":["id","accountName","addresses","bankAccountId","bankAccountNumber","bankCode","bic","bookingProposalDate","bookingType","contactAccountNumber","contactId","contactName","createdDate","currency","deliveryDate","discountPaymentDate","discountPaymentDate2","dueDate","files","journalCode","iban","isPaymentOrder","ledgerName","lineItems","notes","number","orderId","paidDate","paymentTermsId","status","taskId","totalGrossAmount","updatedDate","vatId"]},"CreateCsvEntryRequestDto":{"type":"object","properties":{"accountNumber":{"type":"number"},"amount":{"type":"number"},"bookingDate":{"type":"string"},"contraAccountNumber":{"type":"number"},"fileId":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"purpose":{"type":"string"},"reference":{"type":"string"}},"required":["accountNumber","amount","bookingDate","contraAccountNumber","currency","purpose","reference"]},"CsvEntryResponseDto":{"type":"object","properties":{"accountNumber":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true},"bookingDate":{"type":"string","nullable":true},"contraAccountNumber":{"type":"number","nullable":true},"fileId":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"purpose":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true}},"required":["accountNumber","amount","bookingDate","contraAccountNumber","fileId","currency","purpose","reference","taskId"]},"VendorCreditDimensionResponseDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"categoryName":{"type":"string","nullable":true}},"required":["name","categoryName"]},"VendorCreditLineItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountNumber":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"deferredEndDate":{"type":"string","nullable":true},"deferredStartDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/VendorCreditDimensionResponseDto"}},"itemId":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountId","accountNumber","createdDate","deferredEndDate","deferredStartDate","description","dimensions","itemId","itemName","quantity","taxCode","taxRatePercentage","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"VendorCreditResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deliveryDate":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"fileId":{"type":"string","nullable":true},"journalCode":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/VendorCreditLineItemResponseDto"}},"name":{"type":"string","nullable":true},"oneLineAddress":{"type":"string","nullable":true},"paidDate":{"type":"string","nullable":true},"paymentReference":{"type":"string","nullable":true},"paymentTermCode":{"type":"string","nullable":true},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"nullable":true},"paymentDays":{"type":"number","nullable":true},"reference":{"type":"string","nullable":true},"shippingDate":{"type":"string","nullable":true},"shippingType":{"type":"string","enum":["SERVICE","SERVICE_PERIOD","DELIVERY","DELIVERY_PERIOD"],"nullable":true},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"nullable":true},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"],"nullable":true},"taxText":{"type":"string","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true},"vendorCreditDate":{"type":"string","nullable":true},"vendorCreditNumber":{"type":"string","nullable":true}},"required":["id","accountId","addresses","contactId","createdDate","currency","deliveryDate","dueDate","fileId","journalCode","lineItems","name","oneLineAddress","paidDate","paymentReference","paymentTermCode","paymentStatus","paymentDays","reference","shippingDate","shippingType","status","taxRule","taxText","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate","vendorCreditDate","vendorCreditNumber"]},"VedorCreditDimensionRequestDto":{"type":"object","properties":{"name":{"type":"string"},"categoryName":{"type":"string"}},"required":["name","categoryName"]},"CreateVendorCreditLineItemRequestDto":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"string"},"deferredEndDate":{"type":"string"},"deferredStartDate":{"type":"string"},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/VedorCreditDimensionRequestDto"}},"itemId":{"type":"string"},"itemName":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"unitAmount":{"type":"number"},"unitDiscountAmount":{"type":"number"},"unitDiscountPercentage":{"type":"number"},"unitName":{"type":"string"}}},"CreateVendorCreditRequestDto":{"type":"object","properties":{"accountId":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"contactId":{"type":"string"},"currency":{"type":"string"},"deliveryDate":{"type":"string"},"dueDate":{"type":"string"},"journalCode":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateVendorCreditLineItemRequestDto"}},"name":{"type":"string"},"oneLineAddress":{"type":"string"},"paidDate":{"type":"object"},"paymentReference":{"type":"string"},"paymentTermCode":{"type":"string"},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"]},"paymentDays":{"type":"number"},"reference":{"type":"string"},"shippingDate":{"type":"object"},"shippingType":{"type":"string","enum":["SERVICE","SERVICE_PERIOD","DELIVERY","DELIVERY_PERIOD"]},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"]},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"]},"taxText":{"type":"string"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"vendorCreditDate":{"type":"string"},"vendorCreditNumber":{"type":"string"}},"required":["vendorCreditDate","vendorCreditNumber"]},"BookingEntryRequestDto":{"type":"object","properties":{"accountNumber":{"type":"number"},"amount":{"type":"number"},"bookingDate":{"type":"string"},"bookingTaxCode":{"type":"string"},"bookingType":{"type":"string","enum":["PARTIAL_INVOICE","ADVANCED_PAYMENT_RECEIVED","FINAL_INVOICE","OTHER"]},"contraAccountNumber":{"type":"number"},"dimension1":{"type":"string"},"dimension2":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"]},"description":{"type":"string"},"documentNumber":{"type":"string"},"dueDate":{"type":"string"},"fileId":{"type":"string"}}},"CreateBookingsRequestDto":{"type":"object","properties":{"accountNumberLength":{"type":"number"},"chartOfAccount":{"type":"string","enum":["SKR03","SKR04","SKR07","SKR42","SKR51","SKR14"]},"entries":{"type":"array","items":{"$ref":"#/components/schemas/BookingEntryRequestDto"}},"fiscalYearStartDate":{"type":"string"}}},"BookingEntryResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true},"bookingDate":{"type":"string","nullable":true},"bookingTaxCode":{"type":"string","nullable":true},"bookingType":{"type":"string","enum":["PARTIAL_INVOICE","ADVANCED_PAYMENT_RECEIVED","FINAL_INVOICE","OTHER"],"nullable":true},"contraAccountNumber":{"type":"number","nullable":true},"dimension1":{"type":"string","nullable":true},"dimension2":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true},"description":{"type":"string","nullable":true},"documentNumber":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"fileId":{"type":"string","nullable":true}},"required":["id","accountNumber","amount","bookingDate","bookingTaxCode","bookingType","contraAccountNumber","dimension1","dimension2","currency","debitCreditIndicator","description","documentNumber","dueDate","fileId"]},"BookingsResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumberLength":{"type":"number","nullable":true},"chartOfAccount":{"type":"string","enum":["SKR03","SKR04","SKR07","SKR42","SKR51","SKR14"],"nullable":true},"createdDate":{"type":"string","nullable":true},"entries":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BookingEntryResponseDto"}},"fiscalYearStartDate":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true}},"required":["id","accountNumberLength","chartOfAccount","createdDate","entries","fiscalYearStartDate","taskId"]},"JournalResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountId","code","createdDate","currency","description","type","updatedDate"]},"ContactByBatchMetaDataResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumberLength":{"type":"number","nullable":true},"chartOfAccount":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"entries":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ContactResponseDto"}},"fiscalYearStartDate":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true}},"required":["id","accountNumberLength","chartOfAccount","createdDate","entries","fiscalYearStartDate","taskId"]},"CreateContactAddress":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"city":{"type":"string"},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"postalCode":{"type":"string"},"type":{"type":"string","enum":["BILLING","DELIVERY","EMPTY","PRIVATE","WORK","PICKUP"]}}},"CreateBankAccount":{"type":"object","properties":{"bic":{"type":"string"},"holder":{"type":"string"},"isMainAccount":{"type":"boolean"},"iban":{"type":"string"},"name":{"type":"string"},"sepa":{"type":"boolean"}}},"CreateContactPersonV2":{"type":"object","properties":{"emailAddresses":{"type":"array","items":{"$ref":"#/components/schemas/EmailAddress"}},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/PhoneNumber"}},"salutation":{"type":"string"}}},"CreateContactRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateContactAddressV2"}},"bankAccounts":{"type":"array","items":{"$ref":"#/components/schemas/BankAccountRequestCommonDtoV2"}},"businessRegistrationNumber":{"type":"string"},"companyName":{"type":"string"},"contactPersons":{"type":"array","items":{"$ref":"#/components/schemas/CreateContactPersonDtoV2"}},"contactType":{"type":"string","enum":["CONTACT_PERSON","COMPANY","UNDEFINED"]},"emailAddresses":{"type":"array","items":{"$ref":"#/components/schemas/EmailAddressV2"}},"isCustomer":{"type":"boolean"},"isSupplier":{"type":"boolean"},"number":{"type":"string"},"parentId":{"type":"string"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/PhoneNumberV2"}},"projectId":{"type":"string"},"vatId":{"type":"string"},"website":{"type":"string"}},"required":["contactType"]},"CreateContactByBatchMetaDataDto":{"type":"object","properties":{"accountNumberLength":{"type":"number"},"chartOfAccount":{"type":"string","enum":["SKR03","SKR04","SKR07","SKR42","SKR51","SKR14"]},"entries":{"type":"array","items":{"$ref":"#/components/schemas/CreateContactRequestDtoV2"}},"fiscalYearStartDate":{"type":"string"}},"required":["accountNumberLength","chartOfAccount","entries","fiscalYearStartDate"]},"PurchaseOrderLineItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"itemId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","itemId","createdDate","description","itemName","quantity","taxCode","taxRatePercentage","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"PurchaseOrderResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"approvalDate":{"type":"string","nullable":true},"comment":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"description":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderLineItemResponseDto"}},"orderDate":{"type":"string","nullable":true},"paymentTermId":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"status":{"type":"string","enum":["OPEN","CLOSED","PARTIALLY_FULFILLED","CANCELED"],"nullable":true},"supplierId":{"type":"string","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","addresses","approvalDate","comment","createdDate","currency","description","lineItems","orderDate","paymentTermId","reference","status","supplierId","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"CreateJournalEntriesByBatchMetaDataDto":{"type":"object","properties":{"accountNumberLength":{"type":"number"},"chartOfAccount":{"type":"string","enum":["SKR03","SKR04","SKR07","SKR42","SKR51","SKR14"]},"entries":{"type":"array","items":{"$ref":"#/components/schemas/CreateJournalEntryRequestDto"}},"fiscalYearStartDate":{"type":"string"}},"required":["accountNumberLength","chartOfAccount","entries","fiscalYearStartDate"]},"JournalEntriesByBatchMetaDataResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumberLength":{"type":"number","nullable":true},"chartOfAccount":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"entries":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/JournalEntryResponseDto"}},"fiscalYearStartDate":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true}},"required":["id","accountNumberLength","chartOfAccount","createdDate","entries","fiscalYearStartDate","taskId"]},"BankAccountResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"balance":{"type":"number","nullable":true},"bankName":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"],"nullable":true},"description":{"type":"string","nullable":true},"fileType":{"type":"string","enum":["CSV","MT940"],"nullable":true},"iban":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"system":{"type":"string","nullable":true},"status":{"type":"string","enum":["ACTIVE","ARCHIVED"],"nullable":true},"type":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","balance","bankName","bic","createdDate","currency","description","fileType","iban","name","number","system","status","type","updatedDate"]},"CreateBankAccountRequestDto":{"type":"object","properties":{"balance":{"type":"number"},"bankName":{"type":"string"},"bic":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"description":{"type":"string"},"fileType":{"type":"string","enum":["CSV","MT940"]},"iban":{"type":"string"},"name":{"type":"string"},"number":{"type":"string"},"system":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","ARCHIVED"]},"type":{"type":"string","enum":["ACCOUNTS_PAYABLE","ACCOUNTS_RECEIVABLE","AGGREGATE_CARRIED_FORWARD","BANK","BALANCE_CARRIED_FORWARD","BORROWED_CAPITAL","BORROWED_CAPITAL_OUTPUT_TAX","CAPITAL","CASH","CHARGE","CREDIT_CARD","COST","CURRENT_ASSET","CURRENT_LIABILITY","CURRENT_ASSETS_INPUT_TAX","CUSTOMER","CUSTOMER_PREPAYMENT","DEPRECIATION","DIRECT_COSTS","COST_OF_GOODS_SOLD","EMPLOYEE","EQUITY","EXCHANGE_RATE_INCOME","EXCHANGE_RATE_EXPENSE","EXPENSE","FIXED_ASSET","INVENTORY","LIABILITY","LONG_TERM_LIABILITY","MANAGEMENT_RESULT","NEUTRAL_REVENUE","NEUTRAL_EXPENSES","NON_CURRENT_ASSET","NON_CURRENT_LIABILITY","OTHER_INCOME","OTHER_EXPENSE","OVERHEADS","PAYMENT_PROVIDER","PRE_PAYMENT","PROVIDER","REDUCTION_IN_EXPENSES","REVENUE","SALES","SALES_DEDUCTION","STATISTICAL_BALANCE","STATISTICAL_CONSUMPTION","SUPPLIER_PREPAYMENT","OTHER","OTHER_BALANCE_SHEET_ACCOUNT","VAT","EMPLOYEES_PAYABLE","PREPAID_EXPENSES","ACCRUED_EXPENSES","RETAINED_EARNINGS","RESEARCH_AND_DEVELOPMENT","EMPLOYEE_COSTS","EMPLOYMENT_COSTS","EXCEPTIONAL_COSTS","EXCEPTIONAL_INCOME","INCOME_TAXES","INTEREST_INCOME","YEAR_END_REFLECTION","INDIRECT_YEAR_END_COSTING","DIRECT_YEAR_END_COSTING"]}}},"GoodsReceiptLineItemResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"itemId":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"purchaseOrderId":{"type":"string","nullable":true},"quantityOrdered":{"type":"number","nullable":true},"quantityReceived":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","createdDate","description","itemId","itemName","projectId","purchaseOrderId","quantityOrdered","quantityReceived","updatedDate"]},"GoodsReceiptResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"comment":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/GoodsReceiptLineItemResponse"}},"reference":{"type":"string","nullable":true},"supplierId":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","comment","createdDate","description","lineItems","reference","supplierId","updatedDate"]},"UnitResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"required":["id","code","description","type"]},"DiscountPeriodRequest":{"type":"object","properties":{"invoiceRange":{"type":"string"},"discountDeadline":{"type":"string"},"discountDeadline2":{"type":"string"},"paymentDeadline":{"type":"string"}}},"CreatePaymentTermRequestDto":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"discountDays":{"type":"number"},"discountDays2":{"type":"number"},"discountPercentage":{"type":"number"},"discountPercentage2":{"type":"number"},"discountPeriods":{"type":"array","items":{"$ref":"#/components/schemas/DiscountPeriodRequest"}},"dueType":{"type":"string","enum":["DUE_IN_DAYS","DUE_AS_PERIOD"]},"name":{"type":"string"},"paymentDays":{"type":"number"},"paymentMethod":{"type":"string"}}},"OpenItemEntryResponseDto":{"type":"object","properties":{"amount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true},"description":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"postingDate":{"type":"string","nullable":true}},"required":["amount","currency","debitCreditIndicator","description","dueDate","postingDate"]},"Balance":{"type":"object","properties":{"amount":{"type":"number","nullable":true},"debitCreditIndicator":{"type":"string","enum":["DEBIT","CREDIT"],"nullable":true}},"required":["amount","debitCreditIndicator"]},"OpenItemResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountId":{"type":"string","nullable":true},"accountName":{"type":"string","nullable":true},"accountNumber":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"documentNumber":{"type":"string","nullable":true},"entries":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/OpenItemEntryResponseDto"}},"openBalance":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Balance"}]},"postingDate":{"type":"string","nullable":true},"totalCreditAmount":{"type":"number","nullable":true},"totalDebitAmount":{"type":"number","nullable":true},"type":{"type":"string","enum":["BILL","INVOICE"],"nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountId","accountName","accountNumber","createdDate","currency","documentNumber","entries","openBalance","postingDate","totalCreditAmount","totalDebitAmount","type","updatedDate"]},"MonthlyValue":{"type":"object","properties":{"month":{"type":"number","nullable":true},"balance":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Balance"}]}},"required":["month","balance"]},"TrialBalanceResponseDto":{"type":"object","properties":{"accountCode":{"type":"string","nullable":true},"accountName":{"type":"string","nullable":true},"accountNumber":{"type":"string","nullable":true},"balance":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Balance"}]},"createdDate":{"type":"string","nullable":true},"monthlyValues":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/MonthlyValue"}},"openingBalance":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Balance"}]},"totalCreditAmount":{"type":"number","nullable":true},"totalDebitAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["accountCode","accountName","accountNumber","balance","createdDate","monthlyValues","openingBalance","totalCreditAmount","totalDebitAmount","updatedDate"]},"CreditNoteLinesDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"itemId":{"type":"string","nullable":true},"itemName":{"type":"string","nullable":true},"quantity":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"type":{"type":"string","enum":["SERVICE_ITEM","MATERIAL","CUSTOM","TEXT"],"nullable":true},"unitAmount":{"type":"number","nullable":true},"unitDiscountAmount":{"type":"number","nullable":true},"unitDiscountPercentage":{"type":"number","nullable":true},"unitName":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","createdDate","description","itemId","itemName","quantity","taxCode","taxRatePercentage","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","type","unitAmount","unitDiscountAmount","unitDiscountPercentage","unitName","updatedDate"]},"CreditNoteResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/Address"}},"contactId":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"creditNoteDate":{"type":"string","nullable":true},"creditNoteLines":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CreditNoteLinesDto"}},"creditNoteNumber":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"],"nullable":true},"paymentTermId":{"type":"string","nullable":true},"reasonCodeId":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"],"nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"],"nullable":true},"totalDiscountAmount":{"type":"number","nullable":true},"totalDiscountPercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"totalTaxAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","addresses","contactId","createdDate","creditNoteDate","creditNoteLines","creditNoteNumber","currency","paymentStatus","paymentTermId","reasonCodeId","reference","status","taxRatePercentage","taxRule","totalDiscountAmount","totalDiscountPercentage","totalGrossAmount","totalNetAmount","totalTaxAmount","updatedDate"]},"FiscalYearResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumberLength":{"type":"number","nullable":true},"availableLedgers":{"type":"array","nullable":true,"items":{"type":"string","enum":["ACCOUNT_PAYABLE","ACCOUNT_RECEIVABLE","CASH_LEDGER"]}},"chartOfAccount":{"type":"string","enum":["SKR03","SKR04","SKR07","SKR42","SKR51","SKR14"],"nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"endDate":{"type":"string","nullable":true},"startDate":{"type":"string","nullable":true},"status":{"type":"string","enum":["OPEN","CLOSED"],"nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","accountNumberLength","availableLedgers","chartOfAccount","createdDate","description","endDate","startDate","status","updatedDate"]},"AccountRequestCommonDtoV2":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"}}},"TaxRateRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"taxRatePercentage":{"type":"number"}}},"ExpenseLineItemRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"account":{"$ref":"#/components/schemas/AccountRequestCommonDtoV2"},"currency":{"type":"string"},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/DimensionRequestCommonDtoV2"}},"documentNumber":{"type":"string"},"exchangeRate":{"type":"number"},"itemId":{"type":"string"},"taxRate":{"$ref":"#/components/schemas/TaxRateRequestDtoV2"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"}}},"CreateExpenseRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"account":{"$ref":"#/components/schemas/AccountRequestCommonDtoV2"},"currency":{"type":"string"},"customerId":{"type":"string"},"description":{"type":"string"},"documentId":{"type":"string"},"expenseLines":{"type":"array","items":{"$ref":"#/components/schemas/ExpenseLineItemRequestDtoV2"}},"files":{"type":"array","items":{"type":"string"}},"generatorName":{"type":"string"},"journalCode":{"type":"string"},"note":{"type":"string"},"paymentTermId":{"type":"string"},"paymentType":{"type":"string","enum":["CASH","CHECK","CREDIT_CARD","CREDIT","COLLECTION"]},"supplierId":{"type":"string"},"type":{"type":"string","enum":["EXPENSE","REFUND"]},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"transactionDate":{"type":"string"}}},"TaskIdResponseDto":{"type":"object","properties":{"taskId":{"type":"string","nullable":true},"objectId":{"type":"string","nullable":true}},"required":["taskId","objectId"]},"BookingProposalAddressRequestDtoV2":{"type":"object","properties":{"city":{"type":"string"}}},"BankAccountRequestCommonDtoV2":{"type":"object","properties":{"id":{"type":"string"},"bankName":{"type":"string"},"bic":{"type":"string"},"code":{"type":"string"},"iban":{"type":"string"},"number":{"type":"number"}}},"ContactRequestCommonDtoV2":{"type":"object","properties":{"id":{"type":"string"},"accountNumber":{"type":"number"},"name":{"type":"string"}}},"BookingProposalLineItemRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"account":{"$ref":"#/components/schemas/AccountRequestCommonDtoV2"},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/DimensionRequestCommonDtoV2"}},"discountAmount":{"type":"number"},"discountAmount2":{"type":"number"},"discountPercentage":{"type":"number"},"discountPercentage2":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"type":{"type":"string","enum":["PRODUCT","SERVICE"]}}},"CreateBookingProposalRequestDtoV2":{"type":"object","properties":{"id":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/BookingProposalAddressRequestDtoV2"}},"bankAccount":{"$ref":"#/components/schemas/BankAccountRequestCommonDtoV2"},"bookingProposalDate":{"type":"string"},"contact":{"$ref":"#/components/schemas/ContactRequestCommonDtoV2"},"currency":{"type":"string"},"deliveryDate":{"type":"string"},"discountPaymentDate":{"type":"string"},"discountPaymentDate2":{"type":"string"},"dueDate":{"type":"string"},"generatorName":{"type":"string"},"journalCode":{"type":"string"},"isPaymentOrder":{"type":"boolean"},"ledgerName":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/BookingProposalLineItemRequestDtoV2"}},"notes":{"type":"string"},"number":{"type":"string"},"orderId":{"type":"string"},"paidDate":{"type":"string"},"paymentTermId":{"type":"string"},"status":{"type":"string","enum":["DRAFT","SUBMITTED","OPEN","PARTIALLY_PAID","PAID","OVERDUE","VOIDED","DISPUTED","CANCELLED"]},"totalGrossAmount":{"type":"number"},"useCollectiveContact":{"type":"boolean"},"vatId":{"type":"string"}}},"DimensionMetaResponseDto":{"type":"object","properties":{"description":{"type":"string","nullable":true},"dimension":{"type":"string","nullable":true}},"required":["description","dimension"]},"ReasonCodeResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"required":["id","code","description"]},"CurrencyResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"decimalPlaces":{"type":"number","nullable":true},"name":{"type":"string","nullable":true},"roundingPrecision":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","code","decimalPlaces","name","roundingPrecision","updatedDate"]},"TaxRateRequestCommonDto":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"percentage":{"type":"number"}}},"CreateAccountRequestDto":{"type":"object","properties":{"balance":{"type":"number"},"class":{"type":"string","enum":["ASSET","EQUITY","EXPENSE","LIABILITY","REVENUE"]},"code":{"type":"string"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GQE","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZM","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SYP","SZL","THB","TJS","TMT","TND","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VND","VUV","WST","XAF","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZWR"]},"description":{"type":"string"},"name":{"type":"string"},"number":{"type":"string"},"parentAccountId":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","ARCHIVED"]},"taxRate":{"$ref":"#/components/schemas/TaxRateRequestCommonDto"},"type":{"type":"string","enum":["ACCOUNTS_PAYABLE","ACCOUNTS_RECEIVABLE","AGGREGATE_CARRIED_FORWARD","BANK","BALANCE_CARRIED_FORWARD","BORROWED_CAPITAL","BORROWED_CAPITAL_OUTPUT_TAX","CAPITAL","CASH","CHARGE","CREDIT_CARD","COST","CURRENT_ASSET","CURRENT_LIABILITY","CURRENT_ASSETS_INPUT_TAX","CUSTOMER","CUSTOMER_PREPAYMENT","DEPRECIATION","DIRECT_COSTS","COST_OF_GOODS_SOLD","EMPLOYEE","EQUITY","EXCHANGE_RATE_INCOME","EXCHANGE_RATE_EXPENSE","EXPENSE","FIXED_ASSET","INVENTORY","LIABILITY","LONG_TERM_LIABILITY","MANAGEMENT_RESULT","NEUTRAL_REVENUE","NEUTRAL_EXPENSES","NON_CURRENT_ASSET","NON_CURRENT_LIABILITY","OTHER_INCOME","OTHER_EXPENSE","OVERHEADS","PAYMENT_PROVIDER","PRE_PAYMENT","PROVIDER","REDUCTION_IN_EXPENSES","REVENUE","SALES","SALES_DEDUCTION","STATISTICAL_BALANCE","STATISTICAL_CONSUMPTION","SUPPLIER_PREPAYMENT","OTHER","OTHER_BALANCE_SHEET_ACCOUNT","VAT","EMPLOYEES_PAYABLE","PREPAID_EXPENSES","ACCRUED_EXPENSES","RETAINED_EARNINGS","RESEARCH_AND_DEVELOPMENT","EMPLOYEE_COSTS","EMPLOYMENT_COSTS","EXCEPTIONAL_COSTS","EXCEPTIONAL_INCOME","INCOME_TAXES","INTEREST_INCOME","YEAR_END_REFLECTION","INDIRECT_YEAR_END_COSTING","DIRECT_YEAR_END_COSTING"]}}},"CreateContactPerson":{"type":"object","properties":{"emailAddresses":{"type":"array","items":{"type":"string"}},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumbers":{"type":"array","items":{"type":"string"}},"salutation":{"type":"string"}},"required":["emailAddresses","firstName","lastName"]},"CreateEmailAddress":{"type":"object","properties":{"email":{"type":"string"},"type":{"type":"string","enum":["BUSINESS","PRIVATE","OFFICE","INVOICE","PAYMENT","OTHER"]}},"required":["email","type"]},"CreatePhoneNumber":{"type":"object","properties":{"number":{"type":"string"},"type":{"type":"string","enum":["BUSINESS","MOBILE","OFFICE","FAX","PRIVATE","LANDLINE","SKYPE","WHATSAPP","OTHER"]}},"required":["number","type"]},"CreateContactRequestDto":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateContactAddress"}},"bankAccount":{"$ref":"#/components/schemas/CreateBankAccount"},"companyName":{"type":"string"},"contactPersons":{"type":"array","items":{"$ref":"#/components/schemas/CreateContactPerson"}},"contactType":{"type":"string","enum":["CONTACT_PERSON","COMPANY"]},"documentId":{"type":"string"},"emailAddresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateEmailAddress"}},"number":{"type":"string"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/CreatePhoneNumber"}},"projectId":{"type":"string"},"role":{"type":"string","enum":["SUPPLIER","CUSTOMER","CONTACT"]},"vatId":{"type":"string"}},"required":["contactType"]},"PatchContactPerson":{"type":"object","properties":{"salutation":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"emailAddresses":{"type":"array","items":{"type":"string"}},"phoneNumbers":{"type":"array","items":{"type":"string"}}}},"PatchContactAddress":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"type":{"type":"string","enum":["BILLING","DELIVERY","EMPTY","PRIVATE","WORK","PICKUP"]}}},"bankAccount":{"type":"object","properties":{"iban":{"type":"string"},"bic":{"type":"string"},"holder":{"type":"string"},"sepa":{"type":"boolean"}}},"PatchContactRequestDto":{"type":"object","properties":{"contactType":{"type":"string","enum":["CONTACT_PERSON","COMPANY"]},"companyName":{"type":"string"},"contactPersons":{"type":"array","items":{"$ref":"#/components/schemas/PatchContactPerson"}},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/PatchContactAddress"}},"emailAddresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateEmailAddress"}},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/CreatePhoneNumber"}},"bankAccount":{"$ref":"#/components/schemas/bankAccount"},"projectId":{"type":"string"}}},"CreateContactAddressV2":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"city":{"type":"string"},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"postalCode":{"type":"string"},"type":{"type":"string","enum":["BILLING","DELIVERY","PRIVATE","WORK","PICKUP"]}}},"EmailAddressV2":{"type":"object","properties":{"email":{"type":"string","nullable":true},"type":{"type":"string","enum":["BUSINESS","PRIVATE","OFFICE","INVOICE","PAYMENT","OTHER"],"nullable":true}},"required":["email","type"]},"PhoneNumberV2":{"type":"object","properties":{"number":{"type":"string","nullable":true},"type":{"type":"string","enum":["BUSINESS","MOBILE","OFFICE","FAX","PRIVATE","OTHER"],"nullable":true}},"required":["number","type"]},"CreateContactPersonDtoV2":{"type":"object","properties":{"id":{"type":"string"},"birthDate":{"type":"string"},"emailAddresses":{"type":"array","items":{"$ref":"#/components/schemas/EmailAddressV2"}},"firstName":{"type":"string"},"jobTitle":{"type":"string"},"lastName":{"type":"string"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/PhoneNumberV2"}},"salutation":{"type":"string"}}},"CreateAddress":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"city":{"type":"string"},"postalCode":{"type":"string"},"countryCode":{"type":"string"},"type":{"type":"string"}}},"InvoiceDimensionRequestDto":{"type":"object","properties":{"id":{"type":"string"},"categoryName":{"type":"string"},"name":{"type":"string"}}},"CreateLineItemRequestDto":{"type":"object","properties":{"accountCode":{"type":"string"},"accountId":{"type":"string"},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceDimensionRequestDto"}},"discountItemPercentage":{"type":"number"},"grossAmount":{"type":"number"},"itemId":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"taxType":{"type":"string"},"type":{"type":"string"},"unitAmount":{"type":"number"},"unitName":{"type":"string"}},"required":["quantity"]},"CreateInvoiceRequestDto":{"type":"object","properties":{"invoiceId":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateAddress"}},"contactId":{"type":"string"},"currency":{"type":"string"},"discountPercentage":{"type":"number"},"dueDate":{"type":"string"},"fileId":{"type":"string"},"grossTotalAmount":{"type":"number"},"invoiceDate":{"type":"string"},"invoiceNumber":{"type":"string"},"invoiceType":{"type":"string","enum":["STANDARD","BILL"]},"journalCode":{"type":"string"},"lineAmountTypes":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateLineItemRequestDto"}},"name":{"type":"string"},"oneLineAddress":{"type":"string"},"paidDate":{"type":"string"},"paymentTermDuration":{"type":"number"},"paymentTermId":{"type":"string"},"reference":{"type":"string"},"salesOrderId":{"type":"string","nullable":true},"shippingDate":{"type":"string"},"shippingType":{"type":"string","enum":["SERVICE","SERVICEPERIOD","DELIVERY","DELIVERYPERIOD","NONE"]},"shippingEndDate":{"type":"string"},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"]},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"]},"taxText":{"type":"string"}},"required":["invoiceDate","lineItems","salesOrderId"]},"PatchAddress":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"city":{"type":"string"},"postalCode":{"type":"string"},"countryCode":{"type":"string"},"type":{"type":"string","enum":["BILLING","DELIVERY","SELLING"]}}},"PatchLineItemRequest":{"type":"object","properties":{"lineItemId":{"type":"string"},"itemId":{"type":"string"},"unitName":{"type":"string"},"type":{"type":"string","enum":["SERVICE_ITEM","MATERIAL","CUSTOM","TEXT"]},"quantity":{"type":"number"},"taxRatePercentage":{"type":"number"},"unitAmount":{"type":"number"},"grossAmount":{"type":"number"},"taxCode":{"type":"string"},"taxType":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"accountCode":{"type":"string"},"accountId":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceDimensionRequestDto"}},"discountItemPercentage":{"type":"number"}},"required":["lineItemId"]},"PatchInvoiceRequestDto":{"type":"object","properties":{"invoiceId":{"type":"string"},"contactId":{"type":"string"},"name":{"type":"string"},"reference":{"type":"string"},"currency":{"type":"string"},"invoiceDate":{"type":"string"},"journalCode":{"type":"string"},"paymentTermId":{"type":"string"},"fileId":{"type":"string"},"status":{"type":"string","enum":["DRAFT","SUBMITTED","OPEN","PARTIALLY_PAID","PAID","VOIDED"]},"invoiceType":{"type":"string","enum":["STANDARD","BILL"]},"oneLineAddress":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/PatchAddress"}},"taxRule":{"type":"string","enum":["NET","GROSS","FREETAX","INTRACOMMUNITY","CONSTRUCTIONSERVICE","EXTERNALSERVICE","THIRDPARTYCOUNTRYSERVICE","THIRDPARTYCOUNTRYDELIVERY","REVERSECHARGE","VATSALES","EXPORT","NONE","DEFAULT","EU","NOTEU","CUSTOM","SS"]},"taxText":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/PatchLineItemRequest"}},"discountPercentage":{"type":"number"},"shippingType":{"type":"string","enum":["SERVICE","SERVICEPERIOD","DELIVERY","DELIVERYPERIOD","NONE"]},"shippingDate":{"type":"string"},"shippingEndDate":{"type":"string"},"lineAmountTypes":{"type":"string","enum":["EXCLUSIVE","INCLUSIVE","NOTAX"]},"dueDate":{"type":"string"},"paidDate":{"type":"string"},"paymentTermDuration":{"type":"number"}}},"CreateItemRequestDto":{"type":"object","properties":{"assetAccountId":{"type":"string"},"expenseAccountId":{"type":"string"},"incomeAccountId":{"type":"string"},"inventoryStartDate":{"type":"string"},"itemNumber":{"type":"string"},"name":{"type":"string"},"priceIncludesTax":{"type":"boolean"},"stockCount":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"type":{"type":"string","enum":["PRODUCT","SERVICE"]},"unitName":{"type":"string","enum":["PIECE","STÜCK","NOT_UNIT","CUBIC_METRE","DAY","GRAM","HOUR","KILOGRAM","KILOMETRE","LITRE","METRE","MILLIGRAM","MILLILITRE","MONTH","NIGHT","PACK","PERCENTAGE","SQUARE_METRE","TONNE","UNIT"]},"unitPurchasePrice":{"type":"number"},"unitSalesPrice":{"type":"number"}}},"PatchItemRequestDto":{"type":"object","properties":{"name":{"type":"string"},"itemNumber":{"type":"string"},"stockCount":{"type":"number"},"type":{"type":"string","enum":["PRODUCT","SERVICE"]},"unitName":{"type":"string","enum":["PIECE","STÜCK","NOT_UNIT","CUBIC_METRE","DAY","GRAM","HOUR","KILOGRAM","KILOMETRE","LITRE","METRE","MILLIGRAM","MILLILITRE","MONTH","NIGHT","PACK","PERCENTAGE","SQUARE_METRE","TONNE","UNIT"]},"unitPurchasePrice":{"type":"number"},"unitSalesPrice":{"type":"number"},"priceIncludesTax":{"type":"boolean"}}},"PatchLineItemRequestDto":{"type":"object","properties":{"accountCode":{"type":"string"},"description":{"type":"string"},"discountItemPercentage":{"type":"number"},"grossAmount":{"type":"number"},"itemId":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"taxType":{"type":"string"},"type":{"type":"string","enum":["SERVICE_ITEM","MATERIAL","CUSTOM","TEXT"]},"unitAmount":{"type":"number"},"unitName":{"type":"string"}}},"CreatePaymentLine":{"type":"object","properties":{"accountId":{"type":"string"},"amount":{"type":"number"},"contactName":{"type":"string"},"contactId":{"type":"string"},"customerId":{"type":"string"},"description":{"type":"string"},"invoiceId":{"type":"string"},"supplierId":{"type":"string"},"paymentDate":{"type":"string"}}},"CreatePaymentRequestDto":{"type":"object","properties":{"currency":{"type":"string"},"description":{"type":"string"},"documentType":{"type":"string","enum":["INVOICE","BILL","BOOKING_PROPOSAL","INVOICE_BOOKING_PROPOSAL","BILL_BOOKING_PROPOSAL"]},"exchangeRate":{"type":"number"},"journalId":{"type":"string"},"journalCode":{"type":"string"},"paymentDate":{"type":"string"},"paymentType":{"type":"string"},"paymentLines":{"type":"array","items":{"$ref":"#/components/schemas/CreatePaymentLine"}}}},"CreateEventSubscriptionRequestDto":{"type":"object","properties":{"eventType":{"type":"string"},"callbackUrl":{"type":"string"}},"required":["eventType","callbackUrl"]},"BillDimensionRequestDto":{"type":"object","properties":{"name":{"type":"string"},"categoryName":{"type":"string"}},"required":["name","categoryName"]},"CreateBillLineItemRequestDto":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"},"accountNumber":{"type":"string"},"deferredEndDate":{"type":"string"},"deferredStartDate":{"type":"string"},"description":{"type":"string"},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/BillDimensionRequestDto"}},"itemId":{"type":"string"},"itemName":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"unitAmount":{"type":"number"},"unitDiscountAmount":{"type":"number"},"unitDiscountPercentage":{"type":"number"},"unitName":{"type":"string"}}},"CreateBillRequestDto":{"type":"object","properties":{"accountId":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"billDate":{"type":"string"},"billNumber":{"type":"string"},"contactId":{"type":"string"},"currency":{"type":"string"},"deliveryDate":{"type":"string"},"dueDate":{"type":"string"},"fileId":{"type":"string"},"journalCode":{"type":"string"},"lineItems":{"type":"array","items":{"$ref":"#/components/schemas/CreateBillLineItemRequestDto"}},"name":{"type":"string"},"oneLineAddress":{"type":"string"},"paidDate":{"type":"object"},"paymentReference":{"type":"string"},"paymentTermCode":{"type":"string"},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"]},"paymentDays":{"type":"number"},"reference":{"type":"string"},"shippingDate":{"type":"object"},"shippingType":{"type":"string","enum":["SERVICE","SERVICE_PERIOD","DELIVERY","DELIVERY_PERIOD"]},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"]},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"]},"taxText":{"type":"string"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"}}},"CreateCreditNoteLineItemRequestDto":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"itemId":{"type":"string"},"itemName":{"type":"string"},"quantity":{"type":"number"},"taxCode":{"type":"string"},"taxRatePercentage":{"type":"number"},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"},"type":{"type":"string","enum":["SERVICE_ITEM","MATERIAL","CUSTOM","TEXT"]},"unitAmount":{"type":"number"},"unitDiscountAmount":{"type":"number"},"unitDiscountPercentage":{"type":"number"},"unitName":{"type":"string"}}},"CreateCreditNoteRequestDto":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/CreateAddress"}},"contactId":{"type":"string"},"creditNoteDate":{"type":"string"},"creditNoteLines":{"type":"array","items":{"$ref":"#/components/schemas/CreateCreditNoteLineItemRequestDto"}},"creditNoteNumber":{"type":"string"},"currency":{"type":"string"},"paymentStatus":{"type":"string","enum":["NO_OPEN_ITEM","PENDING","PARTLY_PAID","PAID","DEBITED","CREDIT_NOTE_CLEARED","CLEARED_WITH_CREDIT_NOTE","BAD_DEBT","PARTIAL_CANCELLATION","CANCELED","UNKNOWN"]},"paymentTermId":{"type":"string"},"reference":{"type":"string"},"status":{"type":"string","enum":["DRAFT","CORRECTIVE","SUBMITTED","DOCUMENT_CREATED","OPEN","PARTIALLY_PAID","PAID","PARTIALLY_OVERDUE","OVERDUE","VOIDED"]},"taxRule":{"type":"string","enum":["NET","TAXFREE","INTRACOMMUNITY_GOODS","INTRACOMMUNITY_SERVICE","EXPORT_SERVICE","EXPORT_GOODS","REVERSE_CHARGE","GROSS","CONSTRUCTION_SERVICE","PHOTOVOLTAIC_EQUIPMENT","SMALL_BUSINESS_EXEMPTION","NON_DOMESTIC_SERVICE","OSS_GOODS","OSS_ELECTRONIC_SERVICES","OSS_SERVICES"]},"totalDiscountAmount":{"type":"number"},"totalDiscountPercentage":{"type":"number"},"totalGrossAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"totalTaxAmount":{"type":"number"}},"required":["creditNoteDate","creditNoteLines"]},"BookingProposalAddressResponseDtoV2":{"type":"object","properties":{"city":{"type":"string","nullable":true}},"required":["city"]},"BankAccountResponseCommonDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"bankName":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"number":{"type":"number","nullable":true}},"required":["id","bankName","bic","code","iban","number"]},"ContactResponseCommonDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"accountNumber":{"type":"number","nullable":true},"name":{"type":"string","nullable":true}},"required":["id","accountNumber","name"]},"AccountResponseCommonDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"number","nullable":true}},"required":["id","code","name","number"]},"BookingProposalLineItemResponseDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"account":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AccountResponseCommonDtoV2"}]},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimensions":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/DimensionResponseCommonDtoV2"}},"discountAmount":{"type":"number","nullable":true},"discountAmount2":{"type":"number","nullable":true},"discountPercentage":{"type":"number","nullable":true},"discountPercentage2":{"type":"number","nullable":true},"taxCode":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"totalNetAmount":{"type":"number","nullable":true},"type":{"type":"string","enum":["PRODUCT","SERVICE"],"nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","account","createdDate","description","dimensions","discountAmount","discountAmount2","discountPercentage","discountPercentage2","taxCode","taxRatePercentage","totalGrossAmount","totalNetAmount","type","updatedDate"]},"BookingProposalResponseDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BookingProposalAddressResponseDtoV2"}},"bankAccount":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankAccountResponseCommonDtoV2"}]},"bookingProposalDate":{"type":"string","nullable":true},"bookingType":{"type":"string","enum":["INVOICE","BILL","CREDIT_NOTE","VENDOR_CREDIT","CREDIT_CARD","EXPENSE","DOWN_PAYMENT","OTHER"],"nullable":true},"contact":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ContactResponseCommonDtoV2"}]},"createdDate":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deliveryDate":{"type":"string","nullable":true},"discountPaymentDate":{"type":"string","nullable":true},"discountPaymentDate2":{"type":"string","nullable":true},"dueDate":{"type":"string","nullable":true},"files":{"nullable":true,"type":"array","items":{"type":"string"}},"generatorName":{"type":"string","nullable":true},"journalCode":{"type":"string","nullable":true},"isPaymentOrder":{"type":"boolean","nullable":true},"ledgerName":{"type":"string","nullable":true},"lineItems":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BookingProposalLineItemResponseDtoV2"}},"notes":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"orderId":{"type":"string","nullable":true},"paidDate":{"type":"string","nullable":true},"paymentTermId":{"type":"string","nullable":true},"status":{"type":"string","enum":["DRAFT","SUBMITTED","OPEN","PARTIALLY_PAID","PAID","OVERDUE","VOIDED","DISPUTED","CANCELLED"],"nullable":true},"totalGrossAmount":{"type":"number","nullable":true},"updatedDate":{"type":"string","nullable":true},"vatId":{"type":"string","nullable":true}},"required":["id","addresses","bankAccount","bookingProposalDate","bookingType","contact","createdDate","currency","deliveryDate","discountPaymentDate","discountPaymentDate2","dueDate","files","generatorName","journalCode","isPaymentOrder","ledgerName","lineItems","notes","number","orderId","paidDate","paymentTermId","status","totalGrossAmount","updatedDate","vatId"]},"DimensionResponseDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdDate":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dimension":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true}},"required":["id","code","createdDate","description","dimension","name","status","updatedDate"]},"ContactAddressV2":{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"countryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"nullable":true},"postalCode":{"type":"string","nullable":true},"type":{"type":"string","enum":["BILLING","DELIVERY","PRIVATE","WORK","PICKUP"]}},"required":["addressLine1","addressLine2","city","countryCode","postalCode","type"]},"ContactPersonDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"birthDate":{"type":"string","nullable":true},"emailAddresses":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/EmailAddressV2"}},"firstName":{"type":"string","nullable":true},"jobTitle":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"phoneNumbers":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PhoneNumberV2"}},"salutation":{"type":"string","nullable":true}},"required":["id","birthDate","emailAddresses","firstName","jobTitle","lastName","phoneNumbers","salutation"]},"ContactResponseDtoV2":{"type":"object","properties":{"id":{"type":"string","nullable":true},"addresses":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ContactAddressV2"}},"bankAccounts":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BankAccountResponseCommonDtoV2"}},"businessRegistrationNumber":{"type":"string","nullable":true},"companyName":{"type":"string","nullable":true},"contactPersons":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/ContactPersonDtoV2"}},"contactType":{"type":"string","enum":["CONTACT_PERSON","COMPANY","UNDEFINED"],"nullable":true},"createdDate":{"type":"string","nullable":true},"emailAddresses":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/EmailAddressV2"}},"isCustomer":{"type":"boolean","nullable":true},"isSupplier":{"type":"boolean","nullable":true},"number":{"type":"string","nullable":true},"parentId":{"type":"string","nullable":true},"phoneNumbers":{"default":[],"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PhoneNumberV2"}},"projectId":{"type":"string","nullable":true},"updatedDate":{"type":"string","nullable":true},"vatId":{"type":"string","nullable":true},"website":{"type":"string","nullable":true}},"required":["id","addresses","bankAccounts","businessRegistrationNumber","companyName","contactPersons","contactType","createdDate","emailAddresses","isCustomer","isSupplier","number","parentId","phoneNumbers","projectId","updatedDate","vatId","website"]},"UserInfoResponseDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"account_id":{"type":"string","nullable":true},"family_name":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"required":["id","account_id","family_name","name"]}}}}