List Chart Entities
curl --request GET \
--url https://api.meetcampfire.com/coa/api/entityimport requests
url = "https://api.meetcampfire.com/coa/api/entity"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/entity', 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/entity",
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/entity"
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/entity")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/entity")
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,
"customer": 123,
"parent_name": "<string>",
"primary_entity_name": "<string>",
"is_adjusting": true,
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"invoice_name": "<string>",
"invoice_email": "<string>",
"invoice_message": "<string>",
"invoice_email_subject": "<string>",
"invoice_email_body": "<string>",
"invoice_prefix": "<string>",
"invoice_address": "<string>",
"invoice_cc_emails": "<string>",
"invoice_display_settings": {},
"invoice_email_attachments": {},
"withholding_scheme_name": "<string>",
"withholding_certificate_number": "<string>",
"parent": 123,
"elimination_entity": 123,
"primary_entity": 123,
"is_elimination_entity": false,
"name": "<string>",
"description": "<string>",
"currency": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"country": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"disable_service_date": true,
"logo_url": "<string>",
"active": true,
"fiscal_year_month": -1,
"fiscal_year_day": -1,
"enable_mid_month_convention": true,
"mid_month_threshold": 15,
"use_whole_month_accounting_for_prepaids": true,
"allow_payments_in_closed_periods": true,
"auto_apply_catchup_for_closed_periods": true,
"lineage_array": [
"<string>"
],
"tax_identification_number": "<string>",
"seller_tax_registrations": "<unknown>",
"representative_name": "<string>",
"business_type": "<string>",
"business_category": "<string>",
"withholding_scheme": 123,
"withholding_certificate": 123,
"ita_deduction_file_number": "<string>",
"ita_payer_status": "1"
}
]Settings
List Chart Entities
Retrieve a list of chart entities with optional filtering
GET
/
coa
/
api
/
entity
List Chart Entities
curl --request GET \
--url https://api.meetcampfire.com/coa/api/entityimport requests
url = "https://api.meetcampfire.com/coa/api/entity"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/entity', 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/entity",
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/entity"
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/entity")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/entity")
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,
"customer": 123,
"parent_name": "<string>",
"primary_entity_name": "<string>",
"is_adjusting": true,
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"invoice_name": "<string>",
"invoice_email": "<string>",
"invoice_message": "<string>",
"invoice_email_subject": "<string>",
"invoice_email_body": "<string>",
"invoice_prefix": "<string>",
"invoice_address": "<string>",
"invoice_cc_emails": "<string>",
"invoice_display_settings": {},
"invoice_email_attachments": {},
"withholding_scheme_name": "<string>",
"withholding_certificate_number": "<string>",
"parent": 123,
"elimination_entity": 123,
"primary_entity": 123,
"is_elimination_entity": false,
"name": "<string>",
"description": "<string>",
"currency": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"country": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"disable_service_date": true,
"logo_url": "<string>",
"active": true,
"fiscal_year_month": -1,
"fiscal_year_day": -1,
"enable_mid_month_convention": true,
"mid_month_threshold": 15,
"use_whole_month_accounting_for_prepaids": true,
"allow_payments_in_closed_periods": true,
"auto_apply_catchup_for_closed_periods": true,
"lineage_array": [
"<string>"
],
"tax_identification_number": "<string>",
"seller_tax_registrations": "<unknown>",
"representative_name": "<string>",
"business_type": "<string>",
"business_category": "<string>",
"withholding_scheme": 123,
"withholding_certificate": 123,
"ita_deduction_file_number": "<string>",
"ita_payer_status": "1"
}
]Query Parameters
Response
200 - application/json
When enabled, contracts signed after their revenue start month automatically catch up the elapsed revenue into the sign month, floored at the first open period under the close so it never posts to a closed period. Defaults off — flip in entity settings to opt in.