Browse Documentation
GET Get organisation

List All Organisations

GET /organisations

Get a list of all organisations a token has access to.

Request

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

Response

[
{
"id": "7331ecfc6eb6050a5f0c3c0e12b3b6e95cdf9ed5",
"name": "Accounteer",
"timezone": "Europe/Brussels",
"currency": "NGN",
"gl_account_receivable_id": "d04e639a7ed72d9b86bff415e93fb1825dfb5cae",
"gl_account_payable_id": "3379aa3724a2e54ca42cf2811d7cf6f11114f582",
"gl_account_sales_tax_id": "725a96d29c28166c636003fe33aba9d5a6b78acf",
"gl_account_retained_earnings_id": "d616f146d27ce7de819c1d58ff825f7cd60d3058",
"prefix_offer": "OFF",
"prefix_invoice": "INV",
"prefix_credit_note_out": "CN",
"prefix_purchase": "BL",
"prefix_credit_note_in": "CN",
"prefix_purchase_order": "PO",
"prefix_asset": "FA",
"default_invoice_template":"35ca55c621923f4c94d9cded8d0beab611cdea06"
}
]


Get Organisation

GET /organisations/:id

Get the details of one organisation.

Request

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

Response

{
"id": "7331ecfc6eb6050a5f0c3c0e12b3b6e95cdf9ed5",
"name": "Accounteer",
"timezone": "Europe/Brussels",
"currency": "NGN",
"gl_account_receivable_id": "d04e639a7ed72d9b86bff415e93fb1825dfb5cae",
"gl_account_payable_id": "3379aa3724a2e54ca42cf2811d7cf6f11114f582",
"gl_account_sales_tax_id": "725a96d29c28166c636003fe33aba9d5a6b78acf",
"gl_account_retained_earnings_id": "d616f146d27ce7de819c1d58ff825f7cd60d3058",
"prefix_offer": "OFF",
"prefix_invoice": "INV",
"prefix_credit_note_out": "CN",
"prefix_purchase": "BL",
"prefix_credit_note_in": "CN",
"prefix_purchase_order": "PO",
"prefix_asset": "FA",
"default_invoice_template":"35ca55c621923f4c94d9cded8d0beab611cdea06"
}