GET
/
v1
/
businesses
/
{businessId}
/
quickbooks
/
ledger
/
accounts
/
{accountId}
Fetch Quickbooks account
curl --request GET \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/quickbooks/ledger/accounts/{accountId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "stable_name": {
    "type": "AccountId",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "normality": "CREDIT",
  "account_type": {
    "value": "ASSET",
    "display_name": "Asset"
  },
  "account_subtype": {
    "value": "BANK_ACCOUNTS",
    "display_name": "Current Assets"
  },
  "balance": 123,
  "local_ledger_account": {
    "id": {
      "type": "AccountId",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "name": "Current Assets",
    "stable_name": {
      "type": "StableName",
      "stable_name": "CURRENT_ASSETS"
    },
    "normality": "CREDIT",
    "account_type": {
      "value": "ASSET",
      "display_name": "Asset"
    },
    "account_subtype": {
      "value": "BANK_ACCOUNTS",
      "display_name": "Current Assets"
    }
  },
  "child_accounts": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string
required

The UUID of the business to fetch Quickbooks account for.

accountId
string
required

The UUID of the Quickbooks account to fetch.

Response

id
string<uuid>

The UUID of the Quickbooks ledger account.

name
string

The name of the Quickbooks ledger account.

stable_name
object

The stable name of the Quickbooks ledger account. ID of the account

normality
enum<string>

The normality of the Quickbooks ledger account.

Available options:
CREDIT,
DEBIT
account_type
object

The type of the Quickbooks ledger account.

account_subtype
object

The subtype of the Quickbooks ledger account.

balance
integer

The balance of the Quickbooks ledger account.

local_ledger_account
object

The local ledger account associated with the Quickbooks ledger account.

child_accounts
object[]

The child accounts of the Quickbooks ledger account.