Retrieve Chart Account Settings
curl --request GET \
--url https://api.meetcampfire.com/coa/api/chart-account-settingsimport requests
url = "https://api.meetcampfire.com/coa/api/chart-account-settings"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/chart-account-settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/chart-account-settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/chart-account-settings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetcampfire.com/coa/api/chart-account-settings")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/chart-account-settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"uncategorized_name_and_number": "<string>",
"accounts_payable_name_and_number": "<string>",
"accounts_receivable_name_and_number": "<string>",
"deferred_revenue_name_and_number": "<string>",
"accrued_revenue_name_and_number": "<string>",
"unrealized_gain_loss_name_and_number": "<string>",
"realized_gain_loss_name_and_number": "<string>",
"rounding_account_name_and_number": "<string>",
"unapplied_credits_name_and_number": "<string>",
"unapplied_debits_name_and_number": "<string>",
"unbilled_revenue_name_and_number": "<string>",
"fallback_revenue_name_and_number": "<string>",
"default_clearing_name_and_number": "<string>",
"check_clearing_name_and_number": "<string>",
"cash_in_transit_name_and_number": "<string>",
"discount_account_name_and_number": "<string>",
"accrued_discount_account_name_and_number": "<string>",
"unbilled_discount_account_name_and_number": "<string>",
"refund_account_name_and_number": "<string>",
"processing_fees_name_and_number": "<string>",
"platform_fees_name_and_number": "<string>",
"deferred_processing_fees_name_and_number": "<string>",
"tax_account_name_and_number": "<string>",
"payout_account_name_and_number": "<string>",
"cta_account_name_and_number": "<string>",
"oci_translation_account_name_and_number": "<string>",
"fixed_asset_disposal_name_and_number": "<string>",
"fixed_asset_impairment_loss_name_and_number": "<string>",
"bad_debt_account_name_and_number": "<string>",
"dispute_expense_account_name_and_number": "<string>",
"dispute_reinstatement_account_name_and_number": "<string>",
"retained_earnings_name_and_number": "<string>",
"customer": 123,
"recognize_discounts_as_contra_revenue": true,
"enable_mid_month_convention": true,
"mid_month_threshold": 15,
"use_whole_month_accounting_for_prepaids": true,
"mid_month_threshold_for_prepaids": 16,
"split_invoice_payments_by_line": true,
"split_eliminations_by_department": true,
"fold_retained_earnings": true,
"uncategorized": 123,
"accounts_payable": 123,
"accounts_receivable": 123,
"deferred_revenue": 123,
"accrued_revenue": 123,
"unrealized_gain_loss": 123,
"realized_gain_loss": 123,
"rounding_account": 123,
"unapplied_credits": 123,
"unapplied_debits": 123,
"unbilled_revenue": 123,
"fallback_revenue": 123,
"default_clearing": 123,
"check_clearing": 123,
"cash_in_transit": 123,
"discount_account": 123,
"accrued_discount_account": 123,
"unbilled_discount_account": 123,
"refund_account": 123,
"processing_fees": 123,
"platform_fees": 123,
"deferred_processing_fees": 123,
"tax_account": 123,
"payout_account": 123,
"cta_account": 123,
"oci_translation_account": 123,
"fixed_asset_disposal": 123,
"fixed_asset_impairment_loss": 123,
"bad_debt_account": 123,
"dispute_expense_account": 123,
"dispute_reinstatement_account": 123,
"disputed_receivable_account": 123,
"dispute_fee_account": 123,
"retained_earnings": 123
}Settings
Retrieve Chart Account Settings
These are the defaults chart accounts to be used across the platform. Each input is the id to an existing chart account.
GET
/
coa
/
api
/
chart-account-settings
Retrieve Chart Account Settings
curl --request GET \
--url https://api.meetcampfire.com/coa/api/chart-account-settingsimport requests
url = "https://api.meetcampfire.com/coa/api/chart-account-settings"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/chart-account-settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/chart-account-settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/chart-account-settings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetcampfire.com/coa/api/chart-account-settings")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/chart-account-settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"uncategorized_name_and_number": "<string>",
"accounts_payable_name_and_number": "<string>",
"accounts_receivable_name_and_number": "<string>",
"deferred_revenue_name_and_number": "<string>",
"accrued_revenue_name_and_number": "<string>",
"unrealized_gain_loss_name_and_number": "<string>",
"realized_gain_loss_name_and_number": "<string>",
"rounding_account_name_and_number": "<string>",
"unapplied_credits_name_and_number": "<string>",
"unapplied_debits_name_and_number": "<string>",
"unbilled_revenue_name_and_number": "<string>",
"fallback_revenue_name_and_number": "<string>",
"default_clearing_name_and_number": "<string>",
"check_clearing_name_and_number": "<string>",
"cash_in_transit_name_and_number": "<string>",
"discount_account_name_and_number": "<string>",
"accrued_discount_account_name_and_number": "<string>",
"unbilled_discount_account_name_and_number": "<string>",
"refund_account_name_and_number": "<string>",
"processing_fees_name_and_number": "<string>",
"platform_fees_name_and_number": "<string>",
"deferred_processing_fees_name_and_number": "<string>",
"tax_account_name_and_number": "<string>",
"payout_account_name_and_number": "<string>",
"cta_account_name_and_number": "<string>",
"oci_translation_account_name_and_number": "<string>",
"fixed_asset_disposal_name_and_number": "<string>",
"fixed_asset_impairment_loss_name_and_number": "<string>",
"bad_debt_account_name_and_number": "<string>",
"dispute_expense_account_name_and_number": "<string>",
"dispute_reinstatement_account_name_and_number": "<string>",
"retained_earnings_name_and_number": "<string>",
"customer": 123,
"recognize_discounts_as_contra_revenue": true,
"enable_mid_month_convention": true,
"mid_month_threshold": 15,
"use_whole_month_accounting_for_prepaids": true,
"mid_month_threshold_for_prepaids": 16,
"split_invoice_payments_by_line": true,
"split_eliminations_by_department": true,
"fold_retained_earnings": true,
"uncategorized": 123,
"accounts_payable": 123,
"accounts_receivable": 123,
"deferred_revenue": 123,
"accrued_revenue": 123,
"unrealized_gain_loss": 123,
"realized_gain_loss": 123,
"rounding_account": 123,
"unapplied_credits": 123,
"unapplied_debits": 123,
"unbilled_revenue": 123,
"fallback_revenue": 123,
"default_clearing": 123,
"check_clearing": 123,
"cash_in_transit": 123,
"discount_account": 123,
"accrued_discount_account": 123,
"unbilled_discount_account": 123,
"refund_account": 123,
"processing_fees": 123,
"platform_fees": 123,
"deferred_processing_fees": 123,
"tax_account": 123,
"payout_account": 123,
"cta_account": 123,
"oci_translation_account": 123,
"fixed_asset_disposal": 123,
"fixed_asset_impairment_loss": 123,
"bad_debt_account": 123,
"dispute_expense_account": 123,
"dispute_reinstatement_account": 123,
"disputed_receivable_account": 123,
"dispute_fee_account": 123,
"retained_earnings": 123
}Response
200 - application/json