Ledger
Create Ledger
Create Ledger
POST
{base url}/v1/accounting/ledgers
Create a new ledger
Headers
Authorization header*
string
API user secret key
Body
ledgerName
*
string
Ledger account name
currency
*
string
Ledger currency
ledgerType
*
number
Ledger type
description
string
Ledger description
isActive
boolean
Ledger status
allowedManualEntry
*
boolean
Ledger manual entry status
isHeadAccount
boolean
Ledger account type
headAccount
string
If ledger head account is false, provide head acount here
Response
Update Ledger balance
Update Ledger Balance
PATCH
{Base url}/v1/accounting/update_balance/{ledgerId}
Update ledger balance
Headers
Authorization header*
string
API user secret key
Body
amount
*
number
amount
type
*
string
Ledger type (credit or debit)
Response
Fetch Ledgers
Fetch Ledgers
GET
{Base url}/v1/accounting/ledgers
Fetch all available ledgers
Headers
Authorization header*
string
API user secret key
Response
Fetch Ledger Balance
Fetch Ledger Balance
GET
{Base url}/v1/accounting/{ledgerId}/balance
Fetch ledger balance
Headers
Authorization header*
string
API user secret key
Response
Fetch Ledger Transactions
Fetch Ledger Transactions
GET
{base url}/v1/accounting/ledgers/transactions
Fetch all Ledger transactions
Headers
Authorization header
API user secret key
Params
accountNumber
*
string
Account number
startDate
string
table sort start date
endDate
string
table sort end date
page
number
page to fetch
perPage
number
number of items to fetch perPage
Response
get trial balance
get trial balance
POST
{base url}/accounting/trial_balance
get ledger trial balance
Headers
Authorization header
*
API user secret key
Query parameters
page
number
page to fetch
perPage
number
number of items per page
Response
Last updated