REST-Like API / OData Source
Unicontas RESTful API with limited data compatibility is suitable for: - Extraction of master data and transactions. - Integration with reporting tools (Excel, Power BI, etc.) - Data analysis and simple API solutions. - Integration to non Windows based systems.
For full access to all features, please refer to the Unicontas .NET API.
Note: Support does not support API requests, please refer to our resellers:
List of resellers that offer API support
Safety and reliability
All communication takes place over HTTPS and is protected with TLS (Transport Layer Security) encryption. This ensures:
By default, the API uses HTTP Basic Authentication, but when used from tools like Excel or Power BI, this happens automatically and securely in the background.
Admission requirements - Log in
To access the API requires: - The user has rights in the desired company - If you are Univisor, the company must have: - Integration package or - Automation package
You can then log in with HTTP Basic Auth (Normal HTTP username/password validation) either in your browser, in Excel or other.
Use in Excel
- Data > Retrieve data > From other sources > From OData feed 2. Enter URL 3. Log in with Uniconta user 4. Load data as table or pivot table
Read more here - a detailed setup guide
URL structure
Basic structure:
https://odata.uniconta.com/odata/<FIRMAID>/<ENDPOINT>?<URLPARAMETRE>
Field | Explanation | Mandatory field |
FIRMAID | Your Company ID |
No (otherwise standard company) |
ENDPOINT | The table in Uniconta. If not specified, the list of available endpoints is displayed. |
No, you can't. |
URLPARAMETER | Filtering, sorting, pagination |
No, you can't. |
Examples:
- https://odata.uniconta.com/odata/123456/DebtorClient?$filter=Balance gt 0&$orderby=Name asc&$top=10
- https://odata.uniconta.com/odata/DebtorClient
Popular Endpoints
Parameter | Description of the parameter |
DebtorClient | Debtors |
CreditorClient | Creditors |
DebtorTransClient | Debtor transactions |
GLTransClient | Financial postings |
GLBudgetLineClient | Budget lines |
InvItemClient | Item list |
DebtorOrderClient | Sales orders |
InvItemClientUser | Custom items |
URL parameters
Parameter | Description of the parameter |
$filter | Filter data based on field values |
$orderby | Sort by field |
$top | Max number of rows returned |
$skip | Skip rows (paging) |
Description | Table | $filter | URL |
Find debtor with account 1101798 | DebtorClient | Account eq '1101798' |
Link to |
Accounts receivable with balance > 0 | DebtorClient | Balance gt 0 |
Link |
Transactions in 2024 | DebtorTransClient | Date ge datetime'2024-01-01T00:00:00' and Date le datetime'2024-12-31T23:59:59' |
Link to |
Item list without blocked items | InvItemClient | Blocked eq false |
Link |
Sorting with $orderby
With $orderby
you can sort the result by one or more fields. You can specify both ascending (asc
) and descending (desc
) sorting.
Examples in table
Description | Parameter | Example: Example | |
Sort by name, ascending | $orderby=Field asc | ...?$orderby=Name asc
|
|
Sort by name, descending | $orderby=Field desc | ...?$orderby=Name desc
|
|
Sort by date, descending | $orderby=FELD desc |
|
To retrieve the 10 most recent debtors, sorted by name in ascending order, you can use a combined URL:
https://odata.uniconta.com/odata/123456/DebtorClient?$orderby=Name asc&$top=10
Top / Skip - Pagination - Save data
Use pagination to retrieve large datasets in chunks and avoid unnecessary load.
Note only on transaction tables, not master data tables, see info on master data tables vs transaction tables further up.
Examples:
Description | URL parameters |
First 10 debtors | $top=10 |
Page 2 (rows 11-20) | $top=10&$skip=10 |
Financial items page 3 | $orderby=Date desc&$top=50&$skip=100 |
Last month's postings only | $filter=Date ge datetime'2024-05-01T00:00:00' and Date le datetime'2024-05-31T23:59:59' |
Feel free to combine $filter
, $orderby
, $top
, $skip
for faster and more targeted queries.
Endpoint documentation
Uniconta's REST-like API is built so that each callable endpoint returns its own fields directly in the response. This means you can:
- Get a quick overview of endpoints on https://odata.uniconta.com/odata/ via your browser, excel, powerbi or other
-
View the data structure by simply calling the endpoint (e.g. with
$top=1
) -
View field names, data types and content in JSON format
-
Decode the structure without a separate schema or documentation
Example:
Return data will contain all available fields for a debtor, including system fields and user fields.
Custom fields
If your company has added user fields via Uniconta's customization features (e.g. additional text fields or dropdowns), use the extended endpoints with the suffix User
.
Examples:
Standard data | With user fields |
DebtorClient | DebtorClientUser |
CreditorClient | CreditorClientUser |
InvItemClient | InvItemClientUser |
Always use ...ClientUser
-endpoints if you want access to custom fields.