The API is build as a "RESTFUL" API with JSON as data transfer.
This API has a rate limit of 10 request / second for each unique IP-address. A status code of 429 (Too Many Requests) will be returned if breached.
For endpoints that supports pagination with page and size query parameters, there is a maximum page-size of 100. A status code of 422 (Unprocessable Entity) will be returned if max page size is breached.
All date-time fields are using the ISO-8601 format (ex 2019-06-13T09:29:12+02:00). Usually specified in local time. Dates are specified in the Y-m-d format (ex 2001-03-10).
Postman supports open api, click on the download button above and import directly to postman.
An Integration represents a data source, that a Company can connect towards via Connection's.
{- "integrations": [
- {
- "key": "FORTNOX",
- "label": "Fortnox",
- "sourceType": "ERP",
- "authType": "REDIRECT",
- "enabled": true,
- "fields": [ ]
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Returns a single integration.
OK
Not Found
{- "key": "FORTNOX",
- "label": "Fortnox",
- "sourceType": "ERP",
- "authType": "REDIRECT",
- "enabled": true,
- "fields": [ ]
}
A Connection represents a link between a Company and a third-party Integration.
Get a list of all Connections.
OK
Not Found
{- "connections": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "status": "PENDING",
- "integration": {
- "key": "FORTNOX",
- "label": "Fortnox"
}, - "lastUsedAt": null,
- "createdAt": "2022-01-01T17:00:00Z"
}
]
}
Creates a new Connection.
integrationKey | string (IntegrationEnum) The |
redirectUrl | string An redirect url to which the end user is redirected to after completing the auth steps. Only required on integrations with authType REDIRECT |
Array of objects An array of fields, specified on each Integration. |
OK
Not Found
Unprocessable Entity
{- "integrationKey": "FORTNOX",
- "fields": [ ]
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "status": "PENDING",
- "integration": {
- "key": "FORTNOX",
- "label": "Fortnox"
}, - "lastUsedAt": null,
- "createdAt": "2022-01-01T17:00:00Z"
}
Updates a Connection by UUID.
OK
Not Found
Unprocessable Entity
{- "status": "DISABLED_MANUALLY"
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "status": "PENDING",
- "integration": {
- "key": "FORTNOX",
- "label": "Fortnox"
}, - "lastUsedAt": null,
- "createdAt": "2022-01-01T17:00:00Z"
}
A Company represents a business, sharing access to their data via Connections.
{- "companies": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "legalName": "Monto AB",
- "businessId": "559028-3601",
- "contactFirstName": "Erik",
- "contactLastName": "Steve",
- "email": "contact@company.com",
- "phone1": 123456789,
- "phone2": 123456789,
- "hasConnections": true,
- "addresses": [
- {
- "address": "Kungsgatan 12-14",
- "zipCode": "111 35",
- "city": "Stockholm",
- "country": "Sweden",
- "type": "VISIT"
}
]
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
{- "name": "Monto AB"
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "legalName": "Monto AB",
- "businessId": "559028-3601",
- "contactFirstName": "Erik",
- "contactLastName": "Steve",
- "email": "contact@company.com",
- "phone1": 123456789,
- "phone2": 123456789,
- "hasConnections": true,
- "addresses": [
- {
- "address": "Kungsgatan 12-14",
- "zipCode": "111 35",
- "city": "Stockholm",
- "country": "Sweden",
- "type": "VISIT"
}
]
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "legalName": "Monto AB",
- "businessId": "559028-3601",
- "contactFirstName": "Erik",
- "contactLastName": "Steve",
- "email": "contact@company.com",
- "phone1": 123456789,
- "phone2": 123456789,
- "hasConnections": true,
- "addresses": [
- {
- "address": "Kungsgatan 12-14",
- "zipCode": "111 35",
- "city": "Stockholm",
- "country": "Sweden",
- "type": "VISIT"
}
]
}
Returns a list of FiscalYears.
OK
Not Found
{- "fiscalYears": [
- {
- "uuid": "14d1c2cc-372e-4a37-8da1-32a0aacf712a",
- "from": "2021-05-01",
- "to": "2022-04-30"
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Account Transactions represents all activities within a Journal Entry.
Returns a list of account transactions for a company.
OK
Not Found
{- "accountTransactions": [
- {
- "accountNumber": 1790,
- "accountName": "Övriga förutbetalda kostnader och upplupna intäkter",
- "journalUuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "debet": {
- "amount": 100,
- "currency": "SEK"
}, - "credit": {
- "amount": 0,
- "currency": "SEK"
}, - "date": "2022-01-01T17:00:00Z"
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
A Journal represents all business activies registered as Journal Entries.
Returns a list of all Journal Entries for a Company.
OK
Not Found
{- "journalEntries": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "number": 14,
- "currency": "SEK",
- "series": "A",
- "description": "Kassarapport 2022-01-01",
- "date": "2022-01-01T17:00:00Z",
- "fiscalYear": {
- "uuid": "14d1c2cc-372e-4a37-8da1-32a0aacf712a",
- "from": "2021-05-01",
- "to": "2022-04-30"
}, - "accountTransactions": [
- {
- "accountNumber": 1790,
- "accountName": "Övriga förutbetalda kostnader och upplupna intäkter",
- "journalUuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "debet": {
- "amount": 100,
- "currency": "SEK"
}, - "credit": {
- "amount": 0,
- "currency": "SEK"
}, - "date": "2022-01-01T17:00:00Z"
}
]
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Returns a single Journal Entry for a Company.
OK
Not Found
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "number": 14,
- "currency": "SEK",
- "series": "A",
- "description": "Kassarapport 2022-01-01",
- "date": "2022-01-01T17:00:00Z",
- "fiscalYear": {
- "uuid": "14d1c2cc-372e-4a37-8da1-32a0aacf712a",
- "from": "2021-05-01",
- "to": "2022-04-30"
}, - "accountTransactions": [
- {
- "accountNumber": 1790,
- "accountName": "Övriga förutbetalda kostnader och upplupna intäkter",
- "journalUuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "debet": {
- "amount": 100,
- "currency": "SEK"
}, - "credit": {
- "amount": 0,
- "currency": "SEK"
}, - "date": "2022-01-01T17:00:00Z"
}
]
}
Accounts are used to register account transactions in Journal Entries.
Returns the account values, separated for each account of the selected accounts
OK
Not Found
Unprocessable Entity
{- "accounts": [
- {
- "account": 1530,
- "accountName": "Kontraktsfodringar.",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Returns an aggregated bundle of Account Transactions for a Company.
OK
Not Found
Unprocessable Entity
{- "accounts": "1500-1599,1667,1200-1299",
- "name": "Aggregated values for selected accounts.",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
Returns bundled account balances for a Company.
OK
Not Found
{- "intangibleFixedAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "tangibleFixedAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "financialFixedAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "capitalAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "inventoriesEtc": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "receivables": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "shortTermInvestments": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "cashAndBank": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "currentAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "totalAssets": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "equity": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "untaxedReserves": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "provisions": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "longTermLiabilities": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "shortTermLiabilities": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "equityAndLiabilities": {
- "accounts": "E.g. 1000-1099",
- "name": "E.g. Immateriella anläggningstillgångar",
- "history": [
- {
- "breakDate": "2022-01-01",
- "label": "2022 January",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "change": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
}
An Income Statement shows the aggregated operating income and operating costs, by pre-defined account groups.
Returns bundled account results for a Company.
OK
Not Found
Unprocessable Entity
{- "netSales": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "ownWorkCapitalized": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "otherOperatingIncome": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "totalRevenue": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "purchaseGoodsMaterials": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "unspecifiedAccounts": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "grossProfit": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "otherExternalOperatingExpenses": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "personnelCosts": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "ebitda": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "writeDowns": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "depreciations": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "otherOperatingExpenses": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "ebit": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "financialAndOtherIncomes": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "extraordinaryIncomeAndExpenses": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "appropriations": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "taxes": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "financialYearResult": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "earningsAfterTaxes": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}, - "operatingCosts": {
- "accounts": "E.g. 3000-3799",
- "name": "E.g. Nettoförsäljning",
- "results": [
- {
- "periodStart": "2021-12-01",
- "periodEnd": "2021-12-31",
- "label": "2021 December",
- "result": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
}
A financial KPI or metric is a measurable value that indicates a company’s financial results and performance, provides information about expenses, sales, profit, and cash flow, in order to optimize and achieve business’ financial goals and objectives.
Returns an aggregated bundle of Account Transactions for a Company.
OK
Not Found
Unprocessable Entity
{- "profitMargin": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
}, - "interestCoverageRatio": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "0.34"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "0.34"
}
}, - "equityToAssetsRatio": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
}, - "returnOnAssets": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "rolling12Mo": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
]
}, - "returnOnEquity": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "rolling12Mo": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
]
}, - "currentRatio": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
}, - "cashRatio": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "0.34"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "0.34"
}
}, - "grossMargin": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
}, - "quickRatio": {
- "type": "Profitability ratio",
- "name": "Profit margin",
- "formatType": "PERCENTAGE",
- "monthly": [
- {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
], - "latest12Mo": {
- "periodStart": "2022-04-01",
- "periodEnd": "2022-04-30",
- "label": "2022-04",
- "value": "0.34221",
- "formattedValue": "34.22"
}
}
}
{- "suppliers": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "businessId": "559028-3601"
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
{- "customers": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "businessId": "559028-3601",
- "amountTotalInvoices": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountNotDueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountOverdueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountCreditedInvoices": {
- "amount": 10.12,
- "currency": "SEK"
}, - "annualRevenueShare": 10.12,
- "firstTimeCustomer": true
}
], - "totalCount": 0,
- "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Payments made to the Customer Invoice.
Returns a list of payments for a customer invoice.
OK
Not Found
{- "payments": [
- {
- "date": "2022-01-01",
- "amount": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
A record of sold goods or provided services to a Customer with a payment in demand.
Returns a list of customer invoices.
OK
Not Found
{- "amountTotalInvoices": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountNotDueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountOverdueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "creditedInvoices": true,
- "prepaymentInvoices": true,
- "avgPaymentTerms": 30,
- "invoices": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "invoiceNumber": "302",
- "customer": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "businessId": "559028-3601"
}, - "amount": {
- "amount": 100,
- "currency": "SEK"
}, - "amountBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "issueDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "balanceBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "connection": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Fortnox"
}
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Returns a single customer invoice.
OK
Not Found
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "invoiceNumber": "302",
- "customer": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "businessId": "559028-3601"
}, - "amount": {
- "amount": 100,
- "currency": "SEK"
}, - "amountBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "issueDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "balanceBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "connection": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Fortnox"
}
}
A record of bought goods or received services to a Supplier with a payment in demand.
Returns a list of supplier invoices.
OK
Not Found
{- "amountTotalInvoices": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountNotDueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "amountOverdueNotPaid": {
- "amount": 10.12,
- "currency": "SEK"
}, - "creditedInvoices": true,
- "prepaymentInvoices": true,
- "avgPaymentTerms": 30,
- "invoices": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "externalId": "6",
- "invoiceNumber": "8909",
- "supplier": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Monto AB",
- "businessId": "559028-3601"
}, - "amount": {
- "amount": 100,
- "currency": "SEK"
}, - "amountBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "issueDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "balance": {
- "amount": 100,
- "currency": "SEK"
}, - "balanceBaseCurrency": {
- "amount": 100,
- "currency": "SEK"
}, - "connection": {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "name": "Fortnox"
}, - "paidInFullDate": "2019-08-24"
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Payments made to the Supplier Invoice.
Returns a list of payments for a supplier invoice.
OK
Not Found
{- "payments": [
- {
- "date": "2022-01-01",
- "amount": {
- "amount": 100,
- "currency": "SEK"
}
}
]
}
In order to avoid polling for changes, we allow you to register subscriptions that will notify you when certain event occurs.
Returns a list of your registered subscriptions.
OK
{- "subscriptions": [
- {
- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "protocol": "HTTPS",
- "topics": [
- "*"
], - "verified": true
}
], - "meta": {
- "currentPage": 1,
- "totalPages": 2,
- "pageSize": 50
}, - "links": {
- "prev": null,
}
}
Create a new subscription.
protocol | string (SubscriptionProtocolEnum) The |
endpoint | string The endpoint of the subscription. Make sure to verify the endpoint once created. |
topics | Array of strings The specified topics of the subscription. |
OK
Unprocessable Entity
{- "protocol": "HTTPS",
- "topics": [
- "*"
]
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "protocol": "HTTPS",
- "topics": [
- "*"
], - "verified": true
}
The body described here of the webhook will included as a json string inside the field message. Full example of the actual webhook:
{
"Type": "Notification",
"MessageId": "8e49fb24-d140-5026-80d5-a0d152c677b7",
"TopicArn": "arn:aws:sns:eu-north-1:580873861511:capcito-CONNECTION_ESTABLISHED",
"Message": "{\"topic\":\"CONNECTION_ESTABLISHED\",\"entityUuid\":\"3b097418-bdfe-4cb4-a7e4-a2274d8b9f3b\",\"companyUuid\":\"d5ab0237-815b-48a1-b6bb-2758a30b64ab\"}",
"Timestamp": "2022-11-21T13:46:46.691Z",
"SignatureVersion": "1",
"Signature": "ryZrfmXzSjqLmK1pUiAZAAy2jg+jTTxDwIqZgB+pMXp2GBh0+wXznVrLDX6Y+qzFqruaPEtDEnci8qpvbzq3dbpFfkspXqTEnDPC5L+I9xPeMDEoQTqKvU6rLV4uLQEO+KvtQAZgcZEYnqzkY6VMnmIAvU6FP+5DZS84+kuL6epQYzUCRNFOEzVLY3sW0ieQX3d4hpOeZlD+0UaKe2RaVZaQd8L3mf7tsER6Vxkl7FkEvRCTy/6OgeZYaIwJGNqSefqnIJFCgE70UCPJ4HStSDlKoZ/vju8c6rKZdsz/iCHqyBC22PoWKi0QLF4X7KME3ZCYJMElALZ50LFuFtJW0w==",
"SigningCertURL": "https://sns.eu-north-1.amazonaws.com/SimpleNotificationService-56e67fcb41f6fec09b0196692625d385.pem",
"UnsubscribeURL": "https://sns.eu-north-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-north-1:580873861511:capcito-CONNECTION_ESTABLISHED:323b0a2c-0a8e-4ccc-b606-7d96b29ff097"
}
OK
{- "entityUuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "companyUuid": "d5ab0237-815b-48a1-b6bb-2758a30b64ab",
- "topic": "CUSTOMER_INVOICE_CREATED"
}
{- "uuid": "9e0a58e5-60b5-4c15-ba2e-77b1bed4977d",
- "protocol": "HTTPS",
- "topics": [
- "*"
], - "verified": true
}