Skip to main content
GET
/
v1
/
dashboard
/
accountings
Get Dashboard Accounting
curl --request GET \
  --url https://staging-openapi.accountingplus.id/v1/dashboard/accountings \
  --header 'A-Data: <api-key>' \
  --header 'A-Signature: <api-key>' \
  --header 'Authorization: Bearer <token>'
{
  "status": "00",
  "message": "success",
  "data": {
    "net_profit_margin": 79.37,
    "percentage_not_profit_margin": 0.01,
    "current_ratio": 675.18,
    "percentage_current_ratio": 0.05
  }
}
Plain Signature
path=/v1/dashboard/accountings&token=YOUR_TOKEN&email=john@gmail.com&tenant_id=841eaf97-c428-47d1-9f6d-c61cc9df7bee

Authorizations

Authorization
string
header
required

Generate a JWT signed with the client_secret and include the client_id as a claim in its payload.

A-Signature
string
header
required

Generate the signature by creating an SHA256-HMAC hash from the plain signature above, using the signature_secret as the key. Then, Base64-encode the resulting hash and place the final value in the A-Signature header.

A-Data
string
header
required

Include the email and tenant_id in the payload as Base64 encoded.

Query Parameters

year
number

Year

Example:

2025

month
number

Month

Example:

1

Response

200 - application/json

Dashboard accounting retrieved successfully

status
string
Example:

"00"

message
string
Example:

"success"

data
object