Documentation Index
Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt
Use this file to discover all available pages before exploring further.
General Ledger
Query the General Ledger for trial balances, account balances, and financial reports.
Trial Balance
Returns debit and credit totals for all accounts.
GET /api/v1/gl/trial-balance
Authorization: Bearer <access_token>
Response (200):
{
"as_of": "2026-03-15",
"accounts": [
{
"code": "1000",
"name": "Cash",
"debit": 1500000,
"credit": 500000,
"balance": 1000000
}
],
"total_debit": 1500000,
"total_credit": 1500000
}
In a properly maintained ledger, total debits always equal total credits.
Account Balance
Get the running balance for a specific account.
GET /api/v1/gl/accounts/:id/balance
Authorization: Bearer <access_token>
Response (200):
{
"account_code": "1000",
"account_name": "Cash",
"balance": 1000000,
"currency": "VND"
}