Browse Documentation
GET Get account

List All Accounts

Get a list of all general ledger accounts

GET /accounts

Request

   
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/accounts/
    

Response

[{
    "id": "cd2cadcee3dee9eca42e37c7895dfb3db9e57a97",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "account_number": "220000",
    "account_name": "Land",
    "description": null,
    "show_invoices": false,
    "show_purchases": true,
    "allow_payment": false,
    "account_type": "FIXEDASSET"
}, {
    "id": "4e8ecc81bc9211d59a89918a27a63e1e65238b21",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "account_number": "221000",
    "account_name": "Buildings",
    "description": null,
    "show_invoices": false,
    "show_purchases": true,
    "allow_payment": false,
    "account_type": "FIXEDASSET"
}]



Get Account

GET /accounts/:id

Request

   
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/accounts/c55815ac442431fef190fe1bd25385b9520e39c3
    

Response

{  
   "id":"c55815ac442431fef190fe1bd25385b9520e39c3",
   "organization_id":"73931691552e7f5290c37994ee4190eda2d86509",
   "account_number":"1289",
   "account_name":"Test Account",
   "description":"Account Description",
   "show_invoices":"true",
   "show_purchases":"true",
   "allow_payment":"true",
   "account_type":"INVENTORY"
}