[
{
"id": "string",
"name": "string",
"url": "string"
}
]
[
{
"id": "string",
"name": "string",
"url": "string"
}
]
(no example)
The whole Finmap public API is also available as an MCP server (Model Context Protocol), so AI assistants like Claude, ChatGPT, Gemini, Mistral Le Chat or Perplexity can read and manage your Finmap data on your behalf: accounts, operations, invoices, counterparties, categories, projects and more.
https://api.finmap.online/mcpThe connector works with any MCP client that supports Streamable HTTP with OAuth. All permissions, plan limits and rate limits of your API key apply to MCP calls exactly as they do to this API.
Every endpoint is rate-limited per company (shared across all of that company's API keys). Limits are checked before the request is processed. Current limits:
Every response carries the current window state as headers, reporting
all windows at once as window=value pairs:
Max-Req-Count — e.g. 5s=10, 1m=120Used-Req-Count — requests used in each windowRemaining-Req-Count — requests left in each windowNext-Possibility-At — ISO reset time of each windowWhen a limit is exceeded the API responds with
HTTP 429 Too Many Requests and a Retry-After header
(seconds to wait). Rejected (429) requests do not count against your
quota. The same limits apply to MCP (AI-assistant) calls, since they use
your API key. Only the /health endpoint and internal
auto-rules traffic are exempt.
[
{
"id": "string",
"name": "string",
"url": "string"
}
]
[
{
"id": "string",
"name": "string",
"url": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| name * | string | — |
| url * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| name * | string | — |
| url * | string | — |
{
"name": "string",
"url": "string"
}
{
"id": "string",
"name": "string",
"url": "string"
}
{
"id": "string",
"name": "string",
"url": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| name * | string | — |
| url * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| name * | string | — |
| url * | string | — |
{
"name": "string",
"url": "string"
}
{
"id": "string",
"name": "string",
"url": "string"
}
{
"id": "string",
"name": "string",
"url": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
| Name | Type | Description |
|---|---|---|
| status | string | — |
| info | object | — |
| error | object | — |
| details | object | — |
{
"status": "ok",
"info": {
"database": {
"status": "up"
}
},
"error": {},
"details": {
"database": {
"status": "up"
}
}
}
{
"status": "ok",
"info": {
"database": {
"status": "up"
}
},
"error": {},
"details": {
"database": {
"status": "up"
}
}
}
{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}
[
{
"symbol": "string",
"id": "string"
}
]
[
{
"symbol": "string",
"id": "string"
}
]
(no example)
[
{
"from": "USD",
"to": "EUR",
"rate": 1.2
}
]
[
{
"from": "USD",
"to": "EUR",
"rate": 1.2
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| from * | string | from currency |
| to * | string | to currency |
| rate * | number | currency exchange rate |
| Name | Type | Description |
|---|---|---|
| from * | string | from currency |
| to * | string | to currency |
| rate * | number | currency exchange rate |
{
"from": "USD",
"to": "EUR",
"rate": 1.2
}
{
"from": "USD",
"to": "EUR",
"rate": 1.2
}
{
"from": "USD",
"to": "EUR",
"rate": 1.2
}
(no example)
| Name | Type | Description |
|---|---|---|
| from * | string | from currency |
| to * | string | to currency |
| Name | Type | Description |
|---|---|---|
| deleted * | boolean | deleted status |
/v2.2/currencyExchangeRates/custom/USD/EUR
{
"deleted": true
}
{
"deleted": true
}
(no example)
| Name | Type | Description |
|---|---|---|
| withBalances | string | — |
/v2.2/accounts?withBalances=true
[
{
"id": "string",
"label": "string",
"parentId": "string",
"currencyId": "string",
"balance": 0,
"companyCurrencyBalance": 0
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string",
"currencyId": "string",
"balance": 0,
"companyCurrencyBalance": 0
}
]
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| vendorEditLockUrl * | string | — |
| parentId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
| isSystem * | boolean | — |
| vendorEditLockUrl * | string | — |
{
"label": "string",
"vendorEditLockUrl": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| vendorEditLockUrl * | string | — |
| parentId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
| isSystem * | boolean | — |
| vendorEditLockUrl * | string | — |
{
"label": "string",
"vendorEditLockUrl": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| vendorEditLockUrl * | string | — |
| parentId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
| isSystem * | boolean | — |
| vendorEditLockUrl * | string | — |
{
"label": "string",
"vendorEditLockUrl": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| dashboardId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| itemId * | string | — |
| type * | string | — |
{
"id": "string",
"itemId": "string",
"type": "string"
}
{
"id": "string",
"itemId": "string",
"type": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| vendorEditLockUrl * | string | — |
| parentId * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
| isSystem * | boolean | — |
| vendorEditLockUrl * | string | — |
{
"label": "string",
"vendorEditLockUrl": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string",
"isSystem": true,
"vendorEditLockUrl": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
[
{
"id": "string",
"label": "string",
"parentId": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| label * | string | — |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
| parentId * | string | — |
{
"label": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
{
"id": "string",
"label": "string",
"parentId": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
(no example)
(no example)
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| date | number |
Date of operation
Default: current date in utc
|
| amount | number |
Sum of operation
Default: 0
|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountToId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, customerId, investorId |
| borrowerId | string | — |
| creditorId | string | — |
| customerId | string | — |
| investorId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/income?offset=7200000
{
"date": 1788373812611,
"amount": 100,
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountToId": "6a986b34f6b37952c59f1aec",
"categoryId": "6a986b34f6b37952c59f1aed",
"counterpartyId": "6a986b34f6b37952c59f1aee",
"borrowerId": "6a986b34f6b37952c59f1aef",
"creditorId": "6a986b34f6b37952c59f1af0",
"customerId": "6a986b34f6b37952c59f1af1",
"investorId": "6a986b34f6b37952c59f1af2",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountToId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, customerId, investorId |
| borrowerId | string | — |
| creditorId | string | — |
| customerId | string | — |
| investorId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number |
Date of operation
Default: current date in utc
|
| amount | number | Sum of operation |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/income/6a986b34f6b37952c59f1af7?offset=7200000
{
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountToId": "6a986b34f6b37952c59f1aec",
"categoryId": "6a986b34f6b37952c59f1aed",
"counterpartyId": "6a986b34f6b37952c59f1aee",
"borrowerId": "6a986b34f6b37952c59f1aef",
"creditorId": "6a986b34f6b37952c59f1af0",
"customerId": "6a986b34f6b37952c59f1af1",
"investorId": "6a986b34f6b37952c59f1af2",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812615,
"amount": 100,
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/income/6a986b34f6b37952c59f1af7
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountToId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, customerId, investorId |
| borrowerId | string | — |
| creditorId | string | — |
| customerId | string | — |
| investorId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number |
Date of operation
Default: current date in utc
|
| amount | number | Sum of operation |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/income/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352?offset=7200000
{
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountToId": "6a986b34f6b37952c59f1aec",
"categoryId": "6a986b34f6b37952c59f1aed",
"counterpartyId": "6a986b34f6b37952c59f1aee",
"borrowerId": "6a986b34f6b37952c59f1aef",
"creditorId": "6a986b34f6b37952c59f1af0",
"customerId": "6a986b34f6b37952c59f1af1",
"investorId": "6a986b34f6b37952c59f1af2",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812615,
"amount": 100,
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/income/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| date | number |
Date of operation
Default: current date in utc
|
| amount | number |
Sum of operation
Default: 0
|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountFromId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, employeeId, supplierId, ownerId, taxOrganisationId |
| borrowerId | string | — |
| creditorId | string | — |
| employeeId | string | — |
| supplierId | string | — |
| ownerId | string | — |
| taxOrganisationId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/expense?offset=7200000
{
"date": 1788373812611,
"amount": 100,
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountFromId": "6a986b34f6b37952c59f1ae3",
"categoryId": "6a986b34f6b37952c59f1ae4",
"counterpartyId": "6a986b34f6b37952c59f1ae5",
"borrowerId": "6a986b34f6b37952c59f1ae6",
"creditorId": "6a986b34f6b37952c59f1ae7",
"employeeId": "6a986b34f6b37952c59f1ae8",
"supplierId": "6a986b34f6b37952c59f1ae9",
"ownerId": "6a986b34f6b37952c59f1aea",
"taxOrganisationId": "6a986b34f6b37952c59f1aeb",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountFromId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, employeeId, supplierId, ownerId, taxOrganisationId |
| borrowerId | string | — |
| creditorId | string | — |
| employeeId | string | — |
| supplierId | string | — |
| ownerId | string | — |
| taxOrganisationId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number |
Date of operation
Default: current date in utc
|
| amount | number | Sum of operation |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/expense/6a986b34f6b37952c59f1af7?offset=7200000
{
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountFromId": "6a986b34f6b37952c59f1ae3",
"categoryId": "6a986b34f6b37952c59f1ae4",
"counterpartyId": "6a986b34f6b37952c59f1ae5",
"borrowerId": "6a986b34f6b37952c59f1ae6",
"creditorId": "6a986b34f6b37952c59f1ae7",
"employeeId": "6a986b34f6b37952c59f1ae8",
"supplierId": "6a986b34f6b37952c59f1ae9",
"ownerId": "6a986b34f6b37952c59f1aea",
"taxOrganisationId": "6a986b34f6b37952c59f1aeb",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812616,
"amount": 100,
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/expense/6a986b34f6b37952c59f1af7
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountInCompanyCurrency | number | — |
| exchangeRate | number | — |
| transactionSum | number | — |
| transactionCurrency | number | — |
| transactionCurrencyRate | number | — |
| dateOfPayment | number | — |
| startDate | number | — |
| endDate | number | — |
| accountFromId | string | — |
| categoryId | string | — |
| counterpartyId | string | One field for all counterparty types. You can pass here borrowerId, creditorId, employeeId, supplierId, ownerId, taxOrganisationId |
| borrowerId | string | — |
| creditorId | string | — |
| employeeId | string | — |
| supplierId | string | — |
| ownerId | string | — |
| taxOrganisationId | string | — |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number |
Date of operation
Default: current date in utc
|
| amount | number | Sum of operation |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/expense/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352?offset=7200000
{
"comment": "Test API",
"amountInCompanyCurrency": 100,
"exchangeRate": 0.3,
"transactionSum": 100,
"transactionCurrency": "USD",
"transactionCurrencyRate": 0.3,
"dateOfPayment": 1788546612611,
"startDate": 1788220800000,
"endDate": 1790812799999,
"accountFromId": "6a986b34f6b37952c59f1ae3",
"categoryId": "6a986b34f6b37952c59f1ae4",
"counterpartyId": "6a986b34f6b37952c59f1ae5",
"borrowerId": "6a986b34f6b37952c59f1ae6",
"creditorId": "6a986b34f6b37952c59f1ae7",
"employeeId": "6a986b34f6b37952c59f1ae8",
"supplierId": "6a986b34f6b37952c59f1ae9",
"ownerId": "6a986b34f6b37952c59f1aea",
"taxOrganisationId": "6a986b34f6b37952c59f1aeb",
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812616,
"amount": 100,
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/expense/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| date | number |
Date of operation
Default: current date in utc
|
| amount | number |
Sum of operation
Default: 0
|
| comment | string | — |
| accountToId * | string | — |
| accountFromId * | string | — |
| amountTo | number | If accountTo and accountFrom has different currencies |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/transfer?offset=7200000
{
"date": 1788373812611,
"amount": 100,
"comment": "Test API",
"accountToId": "6a986b34f6b37952c59f1af3",
"accountFromId": "6a986b34f6b37952c59f1af4",
"amountTo": 100,
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountTo | number | If accountTo and accountFrom has different currencies |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number | Date of operation |
| amount | number | Sum of operation |
| accountToId * | string | — |
| accountFromId * | string | — |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/transfer/6a986b34f6b37952c59f1af7?offset=7200000
{
"comment": "Test API",
"amountTo": 100,
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812616,
"amount": 100,
"accountToId": "6a986b34f6b37952c59f1b00",
"accountFromId": "6a986b34f6b37952c59f1b01",
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/transfer/6a986b34f6b37952c59f1af7
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| comment | string | — |
| amountTo | number | If accountTo and accountFrom has different currencies |
| projectId | string | Id of project |
| projects | array | — |
| categories | array | — |
| tagIds | array | Ids of tags |
| date | number | Date of operation |
| amount | number | Sum of operation |
| accountToId * | string | — |
| accountFromId * | string | — |
| externalDevComment | string | Field to be filled by integration developers (not visible to users) |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/transfer/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352?offset=7200000
{
"comment": "Test API",
"amountTo": 100,
"projectId": "6a986b34f6b37952c59f1af5",
"projects": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"categories": [
{
"id": "69009f27afd43b202cd54aa0",
"stake": 100,
"companyCurrencySum": 100,
"sum": 100,
"transactionSum": 100
}
],
"tagIds": [
"6a986b34f6b37952c59f1af6"
],
"date": 1788373812616,
"amount": 100,
"accountToId": "6a986b34f6b37952c59f1b00",
"accountFromId": "6a986b34f6b37952c59f1b01",
"externalDevComment": "string"
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/operations/transfer/byExternalId/44a58a58-f936-4361-b6c3-aaedbac01352
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| language | string | Invoice language (one of "ru" ,"en" ,"uk" ,"pl" ,"es" ,"cz" ,"tr" ,"uz" ,"pt-BR") |
/v2.2/invoices/pdf/6a986b34f6b37952c59f1b02?language=uk
(no example)
(no example)
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| dateOfPayment | number | — |
| date | number |
Date of operation
Default: current date in utc
|
| comment | string | — |
| invoiceNumber * | string | invoice number |
| invoiceCompanyId * | string | id of invoice company |
| supplierId * | string | id of supplier (or client) |
| invoiceCompanyDetails * | string | information about my props |
| supplierDetails * | string | information about counterparty |
| goods * | array | Array of goods. Each item must contain either `id` (existing good) or `label` (find-or-create by normalized label). |
| invoiceCurrency * | string | Currency |
| confirmedInvoice | boolean | confirmed invoice status |
| shipping | number | — |
| shippingVat | number | VAT rate applied to the shipping line, in percent |
| discountPercentage | number | Discount percentage (can used only discountPercentage or discountAmount) |
| discountAmount | number | Discount amount (can used only discountPercentage or discountAmount) |
| attachmentId | string | Attachment id of null |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/invoices?offset=7200000
{
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2",
"dateOfPayment": 1788546612620,
"date": 1788373812620,
"comment": "Test API",
"invoiceNumber": "ExampleInvoice123456",
"invoiceCompanyId": "63a0acd05fd26f3fa73fef4f",
"supplierId": "63a0acd05fd26f7d203fef3f",
"invoiceCompanyDetails": "company details (IBAN)",
"supplierDetails": "counterparty details (IBAN)",
"goods": [
{
"id": "63a01aa80e714d7a683b3ea4",
"count": 10,
"price": 10.1,
"vat": 3
},
{
"label": "Web Development",
"count": 1,
"price": 999,
"vat": 0
}
],
"invoiceCurrency": "UAH",
"confirmedInvoice": false,
"shipping": 100,
"shippingVat": 20,
"discountPercentage": 25,
"discountAmount": 100,
"attachmentId": null
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| dateOfPayment | number | — |
| date | number |
Date of operation
Default: current date in utc
|
| comment | string | — |
| invoiceNumber * | string | invoice number |
| invoiceCompanyId * | string | id of invoice company |
| supplierId * | string | id of supplier (or client) |
| invoiceCompanyDetails * | string | information about my props |
| supplierDetails * | string | information about counterparty |
| goods * | array | Array of goods. Each item must contain either `id` (existing good) or `label` (find-or-create by normalized label). |
| invoiceCurrency * | string | Currency |
| confirmedInvoice | boolean | confirmed invoice status |
| shipping | number | — |
| shippingVat | number | VAT rate applied to the shipping line, in percent |
| discountPercentage | number | Discount percentage (can used only discountPercentage or discountAmount) |
| discountAmount | number | Discount amount (can used only discountPercentage or discountAmount) |
| attachmentId | string | Attachment id of null |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/invoices/6a986b34f6b37952c59f1b02?offset=7200000
{
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2",
"dateOfPayment": 1788546612620,
"date": 1788373812620,
"comment": "Test API",
"invoiceNumber": "ExampleInvoice123456",
"invoiceCompanyId": "63a0acd05fd26f3fa73fef4f",
"supplierId": "63a0acd05fd26f7d203fef3f",
"invoiceCompanyDetails": "company details (IBAN)",
"supplierDetails": "counterparty details (IBAN)",
"goods": [
{
"id": "63a01aa80e714d7a683b3ea4",
"count": 10,
"price": 10.1,
"vat": 3
},
{
"label": "Web Development",
"count": 1,
"price": 999,
"vat": 0
}
],
"invoiceCurrency": "UAH",
"confirmedInvoice": false,
"shipping": 100,
"shippingVat": 20,
"discountPercentage": 25,
"discountAmount": 100,
"attachmentId": null
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/invoices/6a986b34f6b37952c59f1b02
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| offset | number | User timezone offset (in milliseconds), influence only "approved" field (defines whether operation is future). |
| Name | Type | Description |
|---|---|---|
| externalId | string |
unique operation identifier
Default: new uuid v4
|
| dateOfPayment | number | — |
| date | number |
Date of operation
Default: current date in utc
|
| comment | string | — |
| invoiceNumber * | string | invoice number |
| invoiceCompanyId * | string | id of invoice company |
| supplierId * | string | id of supplier (or client) |
| invoiceCompanyDetails * | string | information about my props |
| supplierDetails * | string | information about counterparty |
| goods * | array | Array of goods. Each item must contain either `id` (existing good) or `label` (find-or-create by normalized label). |
| invoiceCurrency * | string | Currency |
| confirmedInvoice | boolean | confirmed invoice status |
| shipping | number | — |
| shippingVat | number | VAT rate applied to the shipping line, in percent |
| discountPercentage | number | Discount percentage (can used only discountPercentage or discountAmount) |
| discountAmount | number | Discount amount (can used only discountPercentage or discountAmount) |
| attachmentId | string | Attachment id of null |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/invoices/byExternalId/e4c4113c-f33c-43f6-bf7e-d3aece1b6f79?offset=7200000
{
"externalId": "08de0235-44e8-4334-a905-abd1b923bac2",
"dateOfPayment": 1788546612620,
"date": 1788373812620,
"comment": "Test API",
"invoiceNumber": "ExampleInvoice123456",
"invoiceCompanyId": "63a0acd05fd26f3fa73fef4f",
"supplierId": "63a0acd05fd26f7d203fef3f",
"invoiceCompanyDetails": "company details (IBAN)",
"supplierDetails": "counterparty details (IBAN)",
"goods": [
{
"id": "63a01aa80e714d7a683b3ea4",
"count": 10,
"price": 10.1,
"vat": 3
},
{
"label": "Web Development",
"count": 1,
"price": 999,
"vat": 0
}
],
"invoiceCurrency": "UAH",
"confirmedInvoice": false,
"shipping": 100,
"shippingVat": 20,
"discountPercentage": 25,
"discountAmount": 100,
"attachmentId": null
}
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| Name | Type | Description |
|---|---|---|
| status * | string | — |
| statusCode * | string | — |
/v2.2/invoices/byExternalId/e4c4113c-f33c-43f6-bf7e-d3aece1b6f79
{
"status": "Processed now",
"statusCode": "1"
}
{
"status": "Processed now",
"statusCode": "1"
}
(no example)
[
{
"id": "string",
"label": "string"
}
]
[
{
"id": "string",
"label": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | name of good |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
{
"label": "good1"
}
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Invoice good id |
| Name | Type | Description |
|---|---|---|
| label * | string | name of good |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/invoices/goods/6a986b34f6b37952c59f1b0c
{
"label": "good1"
}
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Invoice good id |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/invoices/goods/6a986b34f6b37952c59f1b0c
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
[
{
"id": "string",
"label": "string"
}
]
[
{
"id": "string",
"label": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| label * | string | name of invoice company |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
{
"label": "myCompany"
}
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Invoice company id |
| Name | Type | Description |
|---|---|---|
| label * | string | name of invoice company |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/invoices/companies/6a986b34f6b37952c59f1b0d
{
"label": "myCompany"
}
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Invoice company id |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/invoices/companies/6a986b34f6b37952c59f1b0d
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
[
{
"id": "string",
"label": "string"
}
]
[
{
"id": "string",
"label": "string"
}
]
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Attachment id |
| Name | Type | Description |
|---|---|---|
| label * | string | name of file |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/attachment/6a986b34f6b37952c59f1b0e
{
"label": "myLogo1.png"
}
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| id * | string | Attachment id |
| Name | Type | Description |
|---|---|---|
| id * | string | — |
| label * | string | — |
/v2.2/attachment/6a986b34f6b37952c59f1b0e
{
"id": "string",
"label": "string"
}
{
"id": "string",
"label": "string"
}
(no example)
| Name | Type | Description |
|---|---|---|
| externalId | string | Id of operation |
| id | string | Id of operation |
| Name | Type | Description |
|---|---|---|
| list * | array | List of operations |
| total * | number | The number of operations in the company |
/v2.2/operations/details?externalId=73ceb1c9-2adf-42f2-aeb2-8ba48c5d89d8&id=6a986b34f6b37952c59f1b03
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"operationId": "66f3e9f007ca6836d3afbd1e",
"hasPartial": true,
"hasCategoryPartial": true,
"isPartial": false,
"isCategoryPartial": false,
"date": 1727271757115,
"sum": 200,
"type": "expense",
"subType": "dividend",
"exchangeRate": 1,
"accountToName": "",
"categoryId": "66f305dc845d643553572739",
"accountFromName": "Bank account",
"accountFromId": "66f305dc845d643553572735",
"accountToId": "66f305dc845d643553572721",
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"tagIds": [
"66f3e9c8845d643553572885",
"66f3e9c8845d643553572886"
],
"tags": "tag1,tag2",
"projects": "project 1,project 2",
"projectIds": [
"66f3e9eb4d98c781f16a4fe9",
"66f3e9eb4d98c781f16a4fe8"
],
"accountName": "Bank account",
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"projectObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f3e9eb4d98c781f16a4fe8",
"label": "project 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f3e9eb4d98c781f16a4fe9",
"label": "project 2"
}
],
"categoryObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f305dc845d643553572739",
"label": "category 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f305dc845d643553572740",
"label": "category 2"
}
],
"hasProjectSumError": false,
"hasDeletedProject": false,
"accountBalanceAfterOperation": -1245.56,
"categoryName": "Dividends",
"periodStartTimestamp": 1722470400000,
"periodEndTimestamp": 1725148799999,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3"
}
],
"total": 3845
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"operationId": "66f3e9f007ca6836d3afbd1e",
"hasPartial": true,
"hasCategoryPartial": true,
"isPartial": false,
"isCategoryPartial": false,
"date": 1727271757115,
"sum": 200,
"type": "expense",
"subType": "dividend",
"exchangeRate": 1,
"accountToName": "",
"categoryId": "66f305dc845d643553572739",
"accountFromName": "Bank account",
"accountFromId": "66f305dc845d643553572735",
"accountToId": "66f305dc845d643553572721",
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"tagIds": [
"66f3e9c8845d643553572885",
"66f3e9c8845d643553572886"
],
"tags": "tag1,tag2",
"projects": "project 1,project 2",
"projectIds": [
"66f3e9eb4d98c781f16a4fe9",
"66f3e9eb4d98c781f16a4fe8"
],
"accountName": "Bank account",
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"projectObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f3e9eb4d98c781f16a4fe8",
"label": "project 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f3e9eb4d98c781f16a4fe9",
"label": "project 2"
}
],
"categoryObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f305dc845d643553572739",
"label": "category 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f305dc845d643553572740",
"label": "category 2"
}
],
"hasProjectSumError": false,
"hasDeletedProject": false,
"accountBalanceAfterOperation": -1245.56,
"categoryName": "Dividends",
"periodStartTimestamp": 1722470400000,
"periodEndTimestamp": 1725148799999,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3"
}
],
"total": 3845
}
(no example)
| Name | Type | Description |
|---|---|---|
| operationIds | array | — |
| projectIds | array | — |
| search | string | — |
| tagIds | array | — |
| counterpartyIds | array | — |
| accountIds | array | — |
| limit | number |
Number of operations in list
Default: 100
|
| offset | number | — |
| approved | boolean | — |
| startDate | number | — |
| endDate | number | — |
| sumFrom | number | — |
| sumTo | number | — |
| desc | boolean | — |
| field | string | — |
| desc1 | boolean | — |
| field1 | string | — |
| desc2 | boolean | — |
| field2 | string | — |
| desc3 | boolean | — |
| useDateOfPayment | boolean | — |
| field3 | string | — |
| calculateAccountState | boolean | — |
| ids | array | — |
| select | array | Field names to return, e.g. ["date","sum","type","categoryName"] |
| page | string | — |
| types | array | — |
| categoryIds | array | — |
| Name | Type | Description |
|---|---|---|
| list * | array | List of operations |
| total * | number | The number of operations in the company |
{
"operationIds": [
"6a986b34f6b37952c59f1af9"
],
"projectIds": [
"6a986b34f6b37952c59f1b07"
],
"search": "string",
"tagIds": [
"6a986b34f6b37952c59f1b08"
],
"counterpartyIds": [
"6a986b34f6b37952c59f1b09"
],
"accountIds": [
"6a986b34f6b37952c59f1b05"
],
"limit": 25,
"offset": 0,
"approved": true,
"startDate": 1788373812615,
"endDate": 1788373812615,
"sumFrom": 121,
"sumTo": 312,
"desc": true,
"field": "date",
"desc1": true,
"field1": "date",
"desc2": true,
"field2": "date",
"desc3": true,
"useDateOfPayment": true,
"field3": "date",
"calculateAccountState": true,
"ids": [
"6a986b34f6b37952c59f1b04"
],
"select": [
"operationId"
],
"page": "vat",
"types": [
"income"
],
"categoryIds": [
"6a986b34f6b37952c59f1b06"
]
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"operationId": "66f3e9f007ca6836d3afbd1e",
"hasPartial": true,
"hasCategoryPartial": true,
"isPartial": false,
"isCategoryPartial": false,
"date": 1727271757115,
"sum": 200,
"type": "expense",
"subType": "dividend",
"exchangeRate": 1,
"accountToName": "",
"categoryId": "66f305dc845d643553572739",
"accountFromName": "Bank account",
"accountFromId": "66f305dc845d643553572735",
"accountToId": "66f305dc845d643553572721",
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"tagIds": [
"66f3e9c8845d643553572885",
"66f3e9c8845d643553572886"
],
"tags": "tag1,tag2",
"projects": "project 1,project 2",
"projectIds": [
"66f3e9eb4d98c781f16a4fe9",
"66f3e9eb4d98c781f16a4fe8"
],
"accountName": "Bank account",
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"projectObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f3e9eb4d98c781f16a4fe8",
"label": "project 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f3e9eb4d98c781f16a4fe9",
"label": "project 2"
}
],
"categoryObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f305dc845d643553572739",
"label": "category 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f305dc845d643553572740",
"label": "category 2"
}
],
"hasProjectSumError": false,
"hasDeletedProject": false,
"accountBalanceAfterOperation": -1245.56,
"categoryName": "Dividends",
"periodStartTimestamp": 1722470400000,
"periodEndTimestamp": 1725148799999,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3"
}
],
"total": 3845
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"operationId": "66f3e9f007ca6836d3afbd1e",
"hasPartial": true,
"hasCategoryPartial": true,
"isPartial": false,
"isCategoryPartial": false,
"date": 1727271757115,
"sum": 200,
"type": "expense",
"subType": "dividend",
"exchangeRate": 1,
"accountToName": "",
"categoryId": "66f305dc845d643553572739",
"accountFromName": "Bank account",
"accountFromId": "66f305dc845d643553572735",
"accountToId": "66f305dc845d643553572721",
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"tagIds": [
"66f3e9c8845d643553572885",
"66f3e9c8845d643553572886"
],
"tags": "tag1,tag2",
"projects": "project 1,project 2",
"projectIds": [
"66f3e9eb4d98c781f16a4fe9",
"66f3e9eb4d98c781f16a4fe8"
],
"accountName": "Bank account",
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"projectObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f3e9eb4d98c781f16a4fe8",
"label": "project 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f3e9eb4d98c781f16a4fe9",
"label": "project 2"
}
],
"categoryObjects": [
{
"stake": 51,
"sum": 102,
"transactionSum": 102,
"companyCurrencySum": 102,
"id": "66f305dc845d643553572739",
"label": "category 1"
},
{
"stake": 49,
"sum": 98,
"transactionSum": 98,
"companyCurrencySum": 98,
"id": "66f305dc845d643553572740",
"label": "category 2"
}
],
"hasProjectSumError": false,
"hasDeletedProject": false,
"accountBalanceAfterOperation": -1245.56,
"categoryName": "Dividends",
"periodStartTimestamp": 1722470400000,
"periodEndTimestamp": 1725148799999,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3"
}
],
"total": 3845
}
(no example)
| Name | Type | Description |
|---|---|---|
| externalId | string | Id of operation |
| id | string | Id of operation |
| Name | Type | Description |
|---|---|---|
| list * | array | List of operations |
| total * | number | The number of invoices in the company |
/v2.2/operations/invoices/details?externalId=73ceb1c9-2adf-42f2-aeb2-8ba48c5d89d8&id=6a986b34f6b37952c59f1b03
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"date": 1727271757115,
"sum": 200,
"exchangeRate": 1,
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3",
"invoiceCompanyId": "669df83d8ab365560ad987bd",
"invoiceNumber": "ExampleInvoice123456 2",
"invoiceCompanyDetails": "company details (IBAN)",
"counterpartyDetails": "counterparty details (IBAN)",
"withVAT": true,
"invoiceCurrency": "USD",
"shipping": 12,
"attachment": {
"label": "MTB.png",
"id": "66fff333888b8956a4ba1cbd"
},
"discountPercentage": 30,
"discountAmount": null,
"invoiceGoods": [
{
"price": 10.1,
"count": 15,
"sum": 115.5,
"vat": 3,
"id": "66f645aa0adf1c67df90def2",
"label": "good2"
},
{
"price": 12,
"count": 12,
"sum": 144,
"vat": 3,
"id": "669df8513299631e02d82476",
"label": "послуга 1"
}
],
"confirmedInvoice": false
}
],
"total": 3845
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"date": 1727271757115,
"sum": 200,
"exchangeRate": 1,
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3",
"invoiceCompanyId": "669df83d8ab365560ad987bd",
"invoiceNumber": "ExampleInvoice123456 2",
"invoiceCompanyDetails": "company details (IBAN)",
"counterpartyDetails": "counterparty details (IBAN)",
"withVAT": true,
"invoiceCurrency": "USD",
"shipping": 12,
"attachment": {
"label": "MTB.png",
"id": "66fff333888b8956a4ba1cbd"
},
"discountPercentage": 30,
"discountAmount": null,
"invoiceGoods": [
{
"price": 10.1,
"count": 15,
"sum": 115.5,
"vat": 3,
"id": "66f645aa0adf1c67df90def2",
"label": "good2"
},
{
"price": 12,
"count": 12,
"sum": 144,
"vat": 3,
"id": "669df8513299631e02d82476",
"label": "послуга 1"
}
],
"confirmedInvoice": false
}
],
"total": 3845
}
(no example)
| Name | Type | Description |
|---|---|---|
| ids | array | — |
| limit | number |
Number of operations in list
Default: 100
|
| counterpartyIds | array | — |
| offset | number | — |
| approved | boolean | — |
| startDate | number | — |
| endDate | number | — |
| desc | boolean | — |
| field | string | — |
| desc1 | boolean | — |
| field1 | string | — |
| desc2 | boolean | — |
| field2 | string | — |
| desc3 | boolean | — |
| field3 | string | — |
| confirmedInvoice | boolean | — |
| invoiceStatus | string | — |
| Name | Type | Description |
|---|---|---|
| list * | array | List of operations |
| total * | number | The number of invoices in the company |
{
"ids": [
"6a986b34f6b37952c59f1b0a"
],
"limit": 25,
"counterpartyIds": [
"6a986b34f6b37952c59f1b0b"
],
"offset": 0,
"approved": true,
"startDate": 1788373812625,
"endDate": 1788373812625,
"desc": true,
"field": "date",
"desc1": true,
"field1": "date",
"desc2": true,
"field2": "date",
"desc3": true,
"field3": "date",
"confirmedInvoice": true,
"invoiceStatus": "overdue"
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"date": 1727271757115,
"sum": 200,
"exchangeRate": 1,
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3",
"invoiceCompanyId": "669df83d8ab365560ad987bd",
"invoiceNumber": "ExampleInvoice123456 2",
"invoiceCompanyDetails": "company details (IBAN)",
"counterpartyDetails": "counterparty details (IBAN)",
"withVAT": true,
"invoiceCurrency": "USD",
"shipping": 12,
"attachment": {
"label": "MTB.png",
"id": "66fff333888b8956a4ba1cbd"
},
"discountPercentage": 30,
"discountAmount": null,
"invoiceGoods": [
{
"price": 10.1,
"count": 15,
"sum": 115.5,
"vat": 3,
"id": "66f645aa0adf1c67df90def2",
"label": "good2"
},
{
"price": 12,
"count": 12,
"sum": 144,
"vat": 3,
"id": "669df8513299631e02d82476",
"label": "послуга 1"
}
],
"confirmedInvoice": false
}
],
"total": 3845
}
{
"list": [
{
"id": "66f3e9f007ca6836d3afbd1e",
"date": 1727271757115,
"sum": 200,
"exchangeRate": 1,
"approved": true,
"comment": "some comment",
"counterpartyId": "66f3e9b114953ceae2e5f6bf",
"counterpartyName": "Owner 1",
"currencyId": "UAH",
"currencySymbol": "₴",
"dateOfPayment": 1727271757722,
"companyCurrencySum": 200,
"updatedAt": "2024-09-25T10:46:08.730Z",
"transactionSum": 200,
"transactionCurrency": "UAH",
"transactionCurrencyRate": 1,
"externalId": "5083b99b-d1f3-4793-b6e2-20168121c3c3",
"invoiceCompanyId": "669df83d8ab365560ad987bd",
"invoiceNumber": "ExampleInvoice123456 2",
"invoiceCompanyDetails": "company details (IBAN)",
"counterpartyDetails": "counterparty details (IBAN)",
"withVAT": true,
"invoiceCurrency": "USD",
"shipping": 12,
"attachment": {
"label": "MTB.png",
"id": "66fff333888b8956a4ba1cbd"
},
"discountPercentage": 30,
"discountAmount": null,
"invoiceGoods": [
{
"price": 10.1,
"count": 15,
"sum": 115.5,
"vat": 3,
"id": "66f645aa0adf1c67df90def2",
"label": "good2"
},
{
"price": 12,
"count": 12,
"sum": 144,
"vat": 3,
"id": "669df8513299631e02d82476",
"label": "послуга 1"
}
],
"confirmedInvoice": false
}
],
"total": 3845
}
(no example)