accounts

Create Account

post/api/accounts

Request

  • Base URL
    https://api.flagpost.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

codestring nullable
namestring required
account_type'asset' | 'liability' | 'equity' | 'income' | 'expense' required
sub_type'bank' | 'accounts_receivable' | 'current_assets' | 'property_plant_equipment' | 'long_term_assets' | 'credit_card' | 'accounts_payable' | 'other_current_liabilities' | 'long_term_liabilities' | 'equity' | 'income' | 'other_income' | 'cogs' | 'expenses' | 'depreciation_amortization' | 'interest_expense' | 'income_taxes' | 'other_expense' required
side'internal' | 'external'
is_calculationboolean
business_idstring uuid nullable
databook_idstring uuid nullable
parent_account_idstring uuid nullable
sort_ordernumber nullable

Response

Successful Response

idstring uuid required
advisory_idstring uuid nullable
business_idstring uuid nullable
databook_idstring uuid nullable
codestring nullable
namestring required
account_type'asset' | 'liability' | 'equity' | 'income' | 'expense' required
sub_type'bank' | 'accounts_receivable' | 'current_assets' | 'property_plant_equipment' | 'long_term_assets' | 'credit_card' | 'accounts_payable' | 'other_current_liabilities' | 'long_term_liabilities' | 'equity' | 'income' | 'other_income' | 'cogs' | 'expenses' | 'depreciation_amortization' | 'interest_expense' | 'income_taxes' | 'other_expense' required
is_systemboolean
side'internal' | 'external'
is_calculationboolean
parent_account_idstring uuid nullable
sort_ordernumber

Changes

No recorded changes to this operation across all 1 revision of this API.