General Ledger

GET https://api.freshbooks.com/accounting/account/{{accountId}}/journal_entry_accounts/journal_entry_accounts

A complete record of your transactions to help you prepare financial statements.

Request Params

KeyDatatypeRequiredDescription
search%5Bcurrency_code%5Dstring
search%5Bstart_date%5Dstring
search%5Bend_date%5Dstring

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"response":{"result":{"journal_entry_accounts":[{"account_name":"Cash","account_number":"1000","account_type":"asset","accountid":545882,"balance":"340.54","currency_code":"USD","id":545882,"sub_accounts":[{"account_sub_name":"Petty Cash","account_sub_number":"1","account_type":"asset","balance":"340.54","currency_code":"USD","custom":false,"id":635972,"parentid":545882,"sub_accountid":635972}]},{"account_name":"Accounts Receivable","account_number":"1200","account_type":"asset","accountid":545884,"balance":"-500","currency_code":"USD","id":545884,"sub_accounts":[{"account_sub_name":"Accounts Receivable","account_sub_number":"1","account_type":"asset","balance":"-500","currency_code":"USD","custom":false,"id":635974,"parentid":545884,"sub_accountid":635974},{"account_sub_name":"Customer Deposits","account_sub_number":"2","account_type":"asset","balance":"0","currency_code":"USD","custom":false,"id":635976,"parentid":545884,"sub_accountid":635976}]},{"account_name":"Property, Plant, and Equipment","account_number":"1500","account_type":"asset","accountid":545886,"balance":"0","currency_code":"USD","id":545886,"sub_accounts":[{"account_sub_name":"Office Equipment","account_sub_number":"1","account_type":"asset","balance":"0","currency_code":"USD","custom":false,"id":635978,"parentid":545886,"sub_accountid":635978},{"account_sub_name":"Furniture","account_sub_number":"2","account_type":"asset","balance":"0","currency_code":"USD","custom":false,"id":635980,"parentid":545886,"sub_accountid":635980}]},{"account_name":"Deferred Discounts","account_number":"1600","account_type":"asset","accountid":545888,"balance":"0","currency_code":"USD","id":545888,"sub_accounts":[{"account_sub_name":"Deferred Discounts","account_sub_number":"1","account_type":"asset","balance":"0","currency_code":"USD","custom":false,"id":635982,"parentid":545888,"sub_accountid":635982}]},{"account_name":"Accounts Payable","account_number":"2000","account_type":"liability","accountid":545890,"balance":"0","currency_code":"USD","id":545890,"sub_accounts":[{"account_sub_name":"Accrued Payroll","account_sub_number":"1","account_type":"liability","balance":"0","currency_code":"USD","custom":false,"id":635984,"parentid":545890,"sub_accountid":635984},{"account_sub_name":"Accrued Rent","account_sub_number":"2","account_type":"liability","balance":"0","currency_code":"USD","custom":false,"id":635986,"parentid":545890,"sub_accountid":635986}]},{"account_name":"Taxes Payable","account_number":"2001","account_type":"liability","accountid":545892,"balance":"0","currency_code":"USD","id":545892,"sub_accounts":[{"account_sub_name":"HST","account_sub_number":"1","account_type":"liability","balance":"0","currency_code":"USD","custom":false,"id":636766,"parentid":545892,"sub_accountid":636766}]},{"account_name":"Unearned Revenue","account_number":"2002","account_type":"liability","accountid":545894,"balance":"0","currency_code":"USD","id":545894,"sub_accounts":[{"account_sub_name":"Unearned Revenue","account_sub_number":"1","account_type":"liability","balance":"0","currency_code":"USD","custom":false,"id":635988,"parentid":545894,"sub_accountid":635988}]},{"account_name":"Customer Credit","account_number":"2003","account_type":"liability","accountid":545896,"balance":"0","currency_code":"USD","id":545896,"sub_accounts":[{"account_sub_name":"Customer Credit","account_sub_number":"1","account_type":"liability","balance":"0","currency_code":"USD","custom":false,"id":635990,"parentid":545896,"sub_accountid":635990}]},{"account_name":"Credit Cards","account_number":"2004","account_type":"liability","accountid":545898,"balance":"0","currency_code":"USD","id":545898,"sub_accounts":[]},{"account_name":"Owner's Equity","account_number":"3000","account_type":"equity","accountid":545900,"balance":"0","currency_code":"USD","id":545900,"sub_accounts":[{"account_sub_name":"Owner's Equity","account_sub_number":"1","account_type":"equity","balance":"0","currency_code":"USD","custom":false,"id":635992,"parentid":545900,"sub_accountid":635992},{"account_sub_name":"Common Stock","account_sub_number":"2","account_type":"equity","balance":"0","currency_code":"USD","custom":false,"id":635994,"parentid":545900,"sub_accountid":635994},{"account_sub_name":"Retained Earnings","account_sub_number":"3","account_type":"equity","balance":"0","currency_code":"USD","custom":false,"id":635996,"parentid":545900,"sub_accountid":635996}]},{"account_name":"Opening Balance","account_number":"3001","account_type":"equity","accountid":545902,"balance":"0","currency_code":"USD","id":545902,"sub_accounts":[{"account_sub_name":"Opening Balance Adjustments","account_sub_number":"4","account_type":"equity","balance":"0","currency_code":"USD","custom":false,"id":635998,"parentid":545902,"sub_accountid":635998}]},{"account_name":"Revenue","account_number":"4000","account_type":"income","accountid":545904,"balance":"0","currency_code":"USD","id":545904,"sub_accounts":[{"account_sub_name":"Sales","account_sub_number":"1","account_type":"income","balance":"0","currency_code":"USD","custom":false,"id":636000,"parentid":545904,"sub_accountid":636000},{"account_sub_name":"Billed Expenses","account_sub_number":"2","account_type":"income","balance":"0","currency_code":"USD","custom":false,"id":636002,"parentid":545904,"sub_accountid":636002},{"account_sub_name":"Discounts","account_sub_number":"3","account_type":"income","balance":"0","currency_code":"USD","custom":false,"id":636004,"parentid":545904,"sub_accountid":636004}]},{"account_name":"Cost of Goods Sold","account_number":"5000","account_type":"expense","accountid":545906,"balance":"0","currency_code":"USD","id":545906,"sub_accounts":[]},{"account_name":"Operating Expenses","account_number":"6000","account_type":"expense","accountid":545908,"balance":"141.12","currency_code":"USD","id":545908,"sub_accounts":[{"account_sub_name":"Other Expenses","account_sub_number":"1","account_type":"expense","balance":"0","currency_code":"USD","custom":false,"id":636768,"parentid":545908,"sub_accountid":636768},{"account_sub_name":"Rent or Lease","account_sub_number":"2","account_type":"expense","balance":"0","currency_code":"USD","custom":false,"id":760282,"parentid":545908,"sub_accountid":760282},{"account_sub_name":"Car \u0026 Truck Expenses","account_sub_number":"3","account_type":"expense","balance":"141.12","currency_code":"USD","custom":false,"id":849638,"parentid":545908,"sub_accountid":849638}]},{"account_name":"Taxes Paid","account_number":"6001","account_type":"expense","accountid":545910,"balance":"18.34","currency_code":"USD","id":545910,"sub_accounts":[{"account_sub_name":"HST","account_sub_number":"1","account_type":"expense","balance":"0","currency_code":"USD","custom":false,"id":636770,"parentid":545910,"sub_accountid":636770},{"account_sub_name":"other tax","account_sub_number":"2","account_type":"expense","balance":"18.34","currency_code":"USD","custom":false,"id":849640,"parentid":545910,"sub_accountid":849640}]}],"page":1,"pages":1,"per_page":15,"total":15}}}