Top

Chart Of Accounts

List chart of accounts
GET /chartofaccounts
List all chart of accounts along with pagination.
Get an account
GET /chartofaccounts/:account_id
Gets the details of an account
Create an account
POST /chartofaccounts
Creates an account with the given account type.
Update an account
PUT /chartofaccounts/:account_id
Updates the account information.
Delete an account
DELETE /chartofaccounts/:account_id
Deletes the given account. Accounts associated in any transaction/products could not be deleted.
Mark an account as active
POST /chartofaccounts/:account_id/active
Updates the account status as active.
Mark an account as inactive
POST /chartofaccounts/:account_id/inactive
Updates the account status as inactive.
List of transactions for an account
GET /chartofaccounts/transactions
List all involved transactions for the given account.
Delete a transaction
DELETE /chartofaccounts/transactions/:transaction_id
Deletes the transaction.

List chart of accounts

GET  /chartofaccounts

List all chart of accounts along with pagination.

Parameters

showbalance boolean Boolean to get current balance of accounts.
filter_by string Filter accounts based on its account type and status.
Allowed Values: AccountType.All, AccountType.Active, AccountType.Inactive, AccountType.Asset, AccountType.Liability, AccountType.Equity, AccountType.Income and AccountType.Expense
sort_column string Sort accounts
Allowed Values: account_name and account_type

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "success",
  "chartofaccounts": [
      {
        "account_id": "460000000000373",
        "account_name": "Accounts Payable",
        "account_type": "accounts_payable",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000364",
        "account_name": "Accounts Receivable",
        "account_type": "accounts_receivable",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 199.14
      },
      {
        "account_id": "460000000040023",
        "account_name": "Accumulated Depreciation",
        "account_type": "other_asset",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -1000.00
      },
      {
        "account_id": "460000000000370",
        "account_name": "Advance Tax",
        "account_type": "other_current_asset",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000403",
        "account_name": "Advertising And Marketing",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -5645.00
      },
      {
        "account_id": "460000000000424",
        "account_name": "Automobile Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000439",
        "account_name": "Bad Debt",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000409",
        "account_name": "Bank Fees and Charges",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000454",
        "account_name": "Consultant Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000049001",
        "account_name": "Corp Card Account",
        "account_type": "credit_card",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 2500.00
      },
      {
        "account_id": "460000000050127",
        "account_name": "Corporate Account",
        "account_type": "bank",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000412",
        "account_name": "Credit Card Charges",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000451",
        "account_name": "Depreciation Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 1000.00
      },
      {
        "account_id": "460000000000406",
        "account_name": "Discount",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000021001",
        "account_name": "Drawings",
        "account_type": "equity",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000415",
        "account_name": "Exchange Gain or Loss",
        "account_type": "other_expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": -37.65
      },
      {
        "account_id": "460000000000367",
        "account_name": "Furniture and Equipment",
        "account_type": "fixed_asset",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -1000.00
      },
      {
        "account_id": "460000000000391",
        "account_name": "General Income",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000040001",
        "account_name": "Interest Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 50.00
      },
      {
        "account_id": "460000000000394",
        "account_name": "Interest Income",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000427",
        "account_name": "IT and Internet Expenses",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000433",
        "account_name": "Janitorial Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000397",
        "account_name": "Late Fee Income",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000448",
        "account_name": "Meals and Entertainment",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -35464.00
      },
      {
        "account_id": "460000000038079",
        "account_name": "Notes Payable",
        "account_type": "long_term_liability",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -5000.00
      },
      {
        "account_id": "460000000000400",
        "account_name": "Office Supplies",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000003001",
        "account_name": "Opening Balance Adjustments",
        "account_type": "other_current_liability",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": -1198.41
      },
      {
        "account_id": "460000000000385",
        "account_name": "Opening Balance Offset",
        "account_type": "equity",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000018001",
        "account_name": "Other Charges",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000460",
        "account_name": "Other Expenses",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000382",
        "account_name": "Owner's Equity",
        "account_type": "equity",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000048001",
        "account_name": "Personal Account",
        "account_type": "bank",
        "is_active": true,
        "is_user_created": true,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 145605.00
      },
      {
        "account_id": "460000000000361",
        "account_name": "Petty Cash",
        "account_type": "cash",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 342807.85
      },
      {
        "account_id": "460000000000436",
        "account_name": "Postage",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000442",
        "account_name": "Printing and Stationery",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000430",
        "account_name": "Rent Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": 250.00
      },
      {
        "account_id": "460000000000457",
        "account_name": "Repairs and Maintenance",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000379",
        "account_name": "Retained Earnings",
        "account_type": "equity",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": true,
        "current_balance": -7500.00
      },
      {
        "account_id": "460000000000445",
        "account_name": "Salaries and Employee Wages",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -456456.00
      },
      {
        "account_id": "460000000000388",
        "account_name": "Sales",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 190.75
      },
      {
        "account_id": "460000000033001",
        "account_name": "Shipping Charge",
        "account_type": "income",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000376",
        "account_name": "Tax Payable",
        "account_type": "other_current_liability",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": -15.00
      },
      {
        "account_id": "460000000000421",
        "account_name": "Telephone Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": false,
        "is_system_account": false,
        "current_balance": 0.00
      },
      {
        "account_id": "460000000000418",
        "account_name": "Travel Expense",
        "account_type": "expense",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": false,
        "current_balance": -3132.00
      },
      {
        "account_id": "460000000000358",
        "account_name": "Undeposited Funds",
        "account_type": "cash",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": 1750.00
      },
      {
        "account_id": "460000000005001",
        "account_name": "Unearned Revenue",
        "account_type": "other_current_liability",
        "is_active": true,
        "is_user_created": false,
        "is_involved_in_transaction": true,
        "is_system_account": true,
        "current_balance": -50.00
      }
  ],
  "page_context": {
    "page": 1,
    "per_page": 200,
    "report_name": "List Chart Of Accounts",
    "applied_filter": "AccountType.Active",
    "start_date": "2013-01-01",
    "end_date": "2013-10-04",
    "sort_column": "account_name",
    "sort_order": "A"
  }
}

Get an account

GET  /chartofaccounts/:account_id

Gets the details of an account

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "success",
  "chart_of_account": {
    "account_id": "460000000038079",
    "account_name": "Notes Payable",
    "is_active": true,
    "account_type": "long_term_liability",
    "account_type_formatted": "Long Term Liability",
    "description": "A Liability account which can be paid off in a time period longer than one year. "
  }
}

Create an account

POST  /chartofaccounts

Creates an account with the given account type.

Request attributes

account_name string
[100]
Name of the account
account_type string Type of the account
Allowed Values: other_asset, other_current_asset, cash, bank, fixed_asset, other_current_liability, credit_card, long_term_liability, other_liability, equity, income, other_income, expense, cost_of_goods_sold, other_expense, accounts_receivable and accounts_payable
currency_id string ID of the account currency.
description string
[500]
Description of the account

Sample Request

{
  "account_name": "Notes Payable",
  "account_type": "long_term_liability",
  "bank_account_number": "",
  "currency_id": "",
  "description": "A Liability account which can be paid off in a time period longer than one year. "
}

Sample Response

Status: 201 Created
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "The account has been created.",
  "chart_of_account": {
    "account_id": "460000000038079",
    "account_name": "Notes Payable",
    "is_active": true,
    "account_type": "long_term_liability",
    "account_type_formatted": "Long Term Liability",
    "description": "A Liability account which can be paid off in a time period longer than one year. "
  }
}

Update an account

PUT  /chartofaccounts/:account_id

Updates the account information.

Request attributes

account_name string
[100]
Name of the account
account_type string Type of the account
Allowed Values: other_asset, other_current_asset, cash, bank, fixed_asset, other_current_liability, credit_card, long_term_liability, other_liability, equity, income, other_income, expense, cost_of_goods_sold, other_expense, accounts_receivable and accounts_payable
currency_id string ID of the account currency.
description string
[500]
Description of the account

Sample Request

{
      "account_name": "Notes Payable",
      "account_type": "long_term_liability",
      "bank_account_number": "",
      "currency_id": "",
      "description": "A Liability account which can be paid off in a time period longer than one year. "
    }

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
      "code": 0,
      "message": "The details of the account has been updated.",
      "chart_of_account": {
        "account_id": "460000000038079",
        "account_name": "Notes Payable",
        "is_active": true,
        "account_type": "long_term_liability",
        "account_type_formatted": "Long Term Liability",
        "description": "A Liability account which can be paid off in a time period longer than one year. "
      }
    }

Delete an account

DELETE  /chartofaccounts/:account_id

Deletes the given account. Accounts associated in any transaction/products could not be deleted.

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "The account has been deleted."
}

Mark an account as active

POST  /chartofaccounts/:account_id/active

Updates the account status as active.

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
      "code": 0,
      "message": "The account has been marked as active."
    }

Mark an account as inactive

POST  /chartofaccounts/:account_id/inactive

Updates the account status as inactive.

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
      "code": 0,
      "message": "The account has been marked as inactive."
    }

List of transactions for an account

GET  /chartofaccounts/transactions

List all involved transactions for the given account.

Parameters

account_id string ID of the account. List all transactions involved this account.
date string
[yyyy-MM-dd]
Search account transactions with the given date range. Default date format is yyyy-mm-dd.
Variants: date.start, date.end, date.before and date.after
amount double Search account transactions with given amount range.
Variants: amount.less_than, amount.less_equals, amount.greater_than and amount.greater_equals
filter_by string Filter transactions based on its type.
Allowed Values: TransactionType.All, TransactionType.BaseCurrencyAdjustment, TransactionType.Bills, TransactionType.VendorPayment, TransactionType.CardPayment, TransactionType.CreditNotes, TransactionType.CreditNoteRefund, TransactionType.Deposit, TransactionType.Expense, TransactionType.Invoice, TransactionType.Journal, TransactionType.CustomerPayment, TransactionType.TransferFund and TransactionType.OpeningBalance
transaction_type string Search transactions based on the given transaction type.
Allowed Values: invoice, customer_payment, bills, vendor_payment, credit_notes, creditnote_refund, expense, card_payment, purchase_or_charges, journal, deposit, refund, transfer_fund, base_currency_adjustment, opening_balance, sales_without_invoices, expense_refund, tax_refund, receipt_from_initial_debtors, owner_contribution, interest_income, other_income, owner_drawings and payment_to_initial_creditors
sort_column string Sort transactions.
Allowed Values: transaction_date, payee, glname, transaction_type_formatted, reconcile_status, debit_amount and credit_amount

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "success",
  "transactions": [
    {
      "categorized_transaction_id": "460000000052051",
      "transaction_type": "customer_payment",
      "transaction_id": "460000000050163",
      "transaction_date": "2013-10-04",
      "transaction_type_formatted": "Customer Payment",
      "account_id": "460000000000364",
      "customer_id": "460000000044001",
      "payee": "Richards Electric Company",
      "description": "",
      "entry_number": "INV-00004",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 25.00
    },
    {
      "categorized_transaction_id": "460000000052047",
      "transaction_type": "customer_payment",
      "transaction_id": "460000000050141",
      "transaction_date": "2013-10-03",
      "transaction_type_formatted": "Customer Payment",
      "account_id": "460000000000364",
      "customer_id": "460000000044001",
      "payee": "Richards Electric Company",
      "description": "",
      "entry_number": "INV-00004",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "23",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 225.00
    },
    {
      "categorized_transaction_id": "460000000052015",
      "transaction_type": "credit_notes",
      "transaction_id": "460000000052003",
      "transaction_date": "2013-10-03",
      "transaction_type_formatted": "Credit Note",
      "account_id": "460000000000364",
      "customer_id": "460000000044001",
      "payee": "Richards Electric Company",
      "description": "",
      "entry_number": "CN-00003",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 135.00
    },
    {
      "categorized_transaction_id": "460000000052029",
      "transaction_type": "invoice",
      "transaction_id": "460000000045021",
      "transaction_date": "2013-09-19",
      "transaction_type_formatted": "Invoice",
      "account_id": "460000000000364",
      "customer_id": "460000000044001",
      "payee": "Richards Electric Company",
      "description": "",
      "entry_number": "INV-00004",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "debit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": 310.75,
      "credit_amount": ""
    },
    {
      "categorized_transaction_id": "460000000039019",
      "transaction_type": "base_currency_adjustment",
      "transaction_id": "460000000039001",
      "transaction_date": "2013-09-04",
      "transaction_type_formatted": "Base Currency Adjustment",
      "account_id": "460000000000364",
      "customer_id": "460000000038029",
      "payee": "Will Cooper",
      "description": "Base Currency Adjustment against Hike in EUR",
      "entry_number": "2",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "debit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": 37.65,
      "credit_amount": ""
    },
    {
      "categorized_transaction_id": "460000000032013",
      "transaction_type": "creditnote_refund",
      "transaction_id": "460000000032001",
      "transaction_date": "2013-08-22",
      "transaction_type_formatted": "Credit Notes Refund",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "CN-00001",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "debit",
      "offset_account_name": "Petty Cash",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": 57.15,
      "credit_amount": ""
    },
    {
      "categorized_transaction_id": "460000000047115",
      "transaction_type": "customer_payment",
      "transaction_id": "460000000031003",
      "transaction_date": "2013-08-14",
      "transaction_type_formatted": "Customer Payment",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "INV-00001",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "RSAFDG132424",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 30.00
    },
    {
      "categorized_transaction_id": "460000000047119",
      "transaction_type": "customer_payment",
      "transaction_id": "460000000031003",
      "transaction_date": "2013-08-14",
      "transaction_type_formatted": "Customer Payment",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "INV-00002",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "RSAFDG132424",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 20.00
    },
    {
      "categorized_transaction_id": "460000000031186",
      "transaction_type": "customer_payment",
      "transaction_id": "460000000029055",
      "transaction_date": "2013-08-06",
      "transaction_type_formatted": "Customer Payment",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "INV-00001",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "RSAFDG132423",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 200.00
    },
    {
      "categorized_transaction_id": "460000000031153",
      "transaction_type": "credit_notes",
      "transaction_id": "460000000029003",
      "transaction_date": "2013-08-06",
      "transaction_type_formatted": "Credit Note",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "CN-2",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "credit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": "",
      "credit_amount": 171.47
    },
    {
      "categorized_transaction_id": "460000000047017",
      "transaction_type": "invoice",
      "transaction_id": "460000000030029",
      "transaction_date": "2013-08-06",
      "transaction_type_formatted": "Invoice",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "INV-00002",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "debit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": 58.24,
      "credit_amount": ""
    },
    {
      "categorized_transaction_id": "460000000029035",
      "transaction_type": "invoice",
      "transaction_id": "460000000027023",
      "transaction_date": "2013-08-05",
      "transaction_type_formatted": "Invoice",
      "account_id": "460000000000364",
      "customer_id": "460000000026049",
      "payee": "Bowman and Co",
      "description": "",
      "entry_number": "INV-00001",
      "currency_id": "460000000000097",
      "currency_code": "USD",
      "debit_or_credit": "debit",
      "offset_account_name": "",
      "reference_number": "",
      "reconcile_status": "",
      "debit_amount": 541.82,
      "credit_amount": ""
    }
  ],
  "page_context": {
    "page": 1,
    "per_page": 200,
    "has_more_page": false,
    "report_name": "Transactions",
    "sort_column": "transaction_date",
    "sort_order": "D"
  }
}

Delete a transaction

DELETE  /chartofaccounts/transactions/:transaction_id

Deletes the transaction.

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
  "code": 0,
  "message": "The transaction has been deleted."
}