The Accounting+ API is organized around REST principles with predictable resource-oriented URLs. All API responses return JSON and use standard HTTP response codes, authentication, and verbs.
Base URL: https://staging-openapi.accountingplus.id
Authentication
You need these 3 variables to be able to fully integrated with Accounting+.
Contact your system administrator or account manager to obtain these keys.
Beside that, the user email and tenant_id are required for some API.
The following parameters must be included in the request header for every API call (excluding the Get Token, Register, and Login endpoints):
Token (Authorization)
Before making an API request to Accounting+ API, you must obtain a token by calling the API Get Token.
A-Signature
As additional security guard in every API request, Accounting+ API uses a signature to ensure that the data in each request and response cannot be hijacked and copied by unauthorized users.
This signature is generated using the SHA256-HMAC algorithm and use signature_secret as key.
Example: Creating a signature containing path, token, and email
Sample encrypted with SHA256-HMAC using yH0G6cfb0714XA6Mr36xEGxeEtbD2gph as the key:
Base64 encoded format:
In this documentation, the encrypted result will be referred to as YOUR_SIGNATURE.
A-Data
A-Data contains email and tenant_id variables to identify the user calling the endpoint. Here’s an example of how to form it:
Base64 encoded format:
In this documentation, the encoded result will be referred to as YOUR_DATA.
Example
Here’s a simple example to retrieve your monthly cashflow:
All API responses follow a consistent format: