Skip to main content
GET
/
coa
/
api
/
account
/
{id}
Retrieve Chart Account
curl --request GET \
  --url https://api.meetcampfire.com/coa/api/account/{id} \
  --header 'Authorization: <api-key>'
{
  "id": 123,
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z",
  "reconciliation_ending_date": "2023-12-25",
  "reconciliation_ending_balance": 0,
  "balance_ytd": 0,
  "name_and_number": "<string>",
  "parent_name_and_number": "<string>",
  "sort_key": "<string>",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "number": "<string>",
  "currency": "<string>",
  "name": "<string>",
  "nickname": "<string>",
  "description": "<string>",
  "status": "ACTIVE",
  "account_type": "ASSET",
  "account_subtype": "BANK",
  "account_cashflow_classification": "NONE",
  "include_in_eliminations": true,
  "include_in_revaluations": true,
  "protected": true,
  "created_at": "2023-11-07T05:31:56Z",
  "last_recompute_balance_at": "2023-11-07T05:31:56Z",
  "lock_recompute_balance_key": "<string>",
  "customer": 123,
  "parent": 123,
  "parent_bank_account": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Response

200 - application/json
id
integer
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
reconciliation_ending_date
string<date>
required
reconciliation_ending_balance
number
required
Required range: -1000000000000000000 < x < 1000000000000000000
balance_ytd
number
required
Required range: -1000000000000000000 < x < 1000000000000000000
name_and_number
string
required
parent_name_and_number
string
required
sort_key
string
required
last_modified_at
string<date-time>
required
account_id
string<uuid>
required
number
string | null
required
Maximum length: 12
created_at
string<date-time>
required
customer
integer
required
currency
string
Maximum length: 3
name
string | null
Maximum length: 250
nickname
string | null
Maximum length: 250
description
string | null
status
enum<string>
  • ACTIVE - Active
  • INACTIVE - Inactive
Available options:
ACTIVE,
INACTIVE
account_type
enum<string>
  • ASSET - Asset
  • LIABILITY - Liability
  • EQUITY - Equity
  • RETAINED_EARNINGS - Retained Earnings
  • REVENUE - Revenue
  • COGS - Cost of Goods Sold
  • OPERATING_EXPENSES - Operating Expenses
  • OTHER_INCOME - Other Income
  • OTHER_EXPENSE - Other Expense
  • UNCATEGORIZED - Uncategorized
  • COST_ALLOCATION - Cost Allocation
Available options:
ASSET,
LIABILITY,
EQUITY,
RETAINED_EARNINGS,
REVENUE,
COGS,
OPERATING_EXPENSES,
OTHER_INCOME,
OTHER_EXPENSE,
UNCATEGORIZED,
COST_ALLOCATION
account_subtype
enum<string>
  • BANK - Bank
  • ACCOUNTS_RECEIVABLE - Accounts Receivable
  • OTHER_CURRENT_ASSET - Other Current Asset
  • FIXED_ASSET - Fixed Asset
  • OTHER_ASSET - Other Asset
  • ACCOUNTS_PAYABLE - Accounts Payable
  • UNAPPLIED_CREDITS - Unapplied Credits
  • CREDIT_CARD - Credit Card
  • ACCRUED_REVENUE - Accrued Revenue
  • DEFERRED_REVENUE - Deferred Revenue
  • OTHER_CURRENT_LIABILITY - Other Current Liability
  • LONG_TERM_LIABILITY - Long Term Liability
  • UNBILLED_RECEIVABLE - Unbilled Receivable
  • EQUITY - Equity
  • RETAINED_EARNINGS - Retained Earnings
  • INCOME - Income
  • COST_OF_GOODS_SOLD - Cost of Goods Sold
  • EXPENSE - Expense
  • DEFERRED_EXPENSE - Deferred Expense
  • OTHER_INCOME - Other Income
  • OTHER_EXPENSE - Other Expense
  • REALIZED_GAIN_LOSS - Realized Gain Loss
  • UNREALIZED_GAIN_LOSS - Unrealized Gain Loss
  • PREPAID - Prepaid
  • COST_ALLOCATION - Cost Allocation
  • UNCATEGORIZED - Uncategorized
Available options:
BANK,
ACCOUNTS_RECEIVABLE,
OTHER_CURRENT_ASSET,
FIXED_ASSET,
OTHER_ASSET,
ACCOUNTS_PAYABLE,
UNAPPLIED_CREDITS,
CREDIT_CARD,
ACCRUED_REVENUE,
DEFERRED_REVENUE,
OTHER_CURRENT_LIABILITY,
LONG_TERM_LIABILITY,
UNBILLED_RECEIVABLE,
EQUITY,
RETAINED_EARNINGS,
INCOME,
COST_OF_GOODS_SOLD,
EXPENSE,
DEFERRED_EXPENSE,
OTHER_INCOME,
OTHER_EXPENSE,
REALIZED_GAIN_LOSS,
UNREALIZED_GAIN_LOSS,
PREPAID,
COST_ALLOCATION,
UNCATEGORIZED
account_cashflow_classification
enum<string>
  • NONE - None
  • OPERATING - Operating
  • INVESTING - Investing
  • FINANCING - Financing
Available options:
NONE,
OPERATING,
INVESTING,
FINANCING
include_in_eliminations
boolean
include_in_revaluations
boolean
protected
boolean
last_recompute_balance_at
string<date-time> | null
lock_recompute_balance_key
string | null
Maximum length: 250
parent
integer | null
parent_bank_account
integer | null
I