Create Chart Entity
curl --request POST \
--url https://api.meetcampfire.com/coa/api/entity \
--header 'Content-Type: application/json' \
--data '
{
"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>"
}
'import requests
url = "https://api.meetcampfire.com/coa/api/entity"
payload = {
"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>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
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>'
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/entity"
payload := strings.NewReader("{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meetcampfire.com/coa/api/entity")
.header("Content-Type", "application/json")
.body("{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}")
.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::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}"
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
Create Chart Entity
Complete mixin for history filtering with pagination support. Returns either active OR deleted records based on include_deleted parameter.
POST
/
coa
/
api
/
entity
Create Chart Entity
curl --request POST \
--url https://api.meetcampfire.com/coa/api/entity \
--header 'Content-Type: application/json' \
--data '
{
"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>"
}
'import requests
url = "https://api.meetcampfire.com/coa/api/entity"
payload = {
"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>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
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>'
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/entity"
payload := strings.NewReader("{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meetcampfire.com/coa/api/entity")
.header("Content-Type", "application/json")
.body("{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}")
.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::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"parent\": 123,\n \"elimination_entity\": 123,\n \"primary_entity\": 123,\n \"is_elimination_entity\": false,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"address_1\": \"<string>\",\n \"address_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip_code\": \"<string>\",\n \"country\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone_number\": \"<string>\",\n \"disable_service_date\": true,\n \"logo_url\": \"<string>\",\n \"active\": true,\n \"fiscal_year_month\": -1,\n \"fiscal_year_day\": -1,\n \"enable_mid_month_convention\": true,\n \"mid_month_threshold\": 15,\n \"use_whole_month_accounting_for_prepaids\": true,\n \"allow_payments_in_closed_periods\": true,\n \"auto_apply_catchup_for_closed_periods\": true,\n \"lineage_array\": [\n \"<string>\"\n ],\n \"tax_identification_number\": \"<string>\",\n \"seller_tax_registrations\": \"<unknown>\",\n \"representative_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"business_category\": \"<string>\",\n \"withholding_scheme\": 123,\n \"withholding_certificate\": 123,\n \"ita_deduction_file_number\": \"<string>\"\n}"
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"
}Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
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.
Response
201 - 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.