Skip to main content
POST
/
coa
/
api
/
intercompany-journal-entry
curl --request POST \
--url https://api.meetcampfire.com/coa/api/intercompany-journal-entry \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"date": "2025-07-25",
"type": "journal_entry",
"transactions": [
{
"entity": 54,
"entity_name": "Top Level",
"account": "180564",
"account_name": "1000 - Cash and Cash Equivalents",
"debit_amount_native": 9876.54,
"debit_amount_book": 9876.54,
"debit_amount": 9876.54,
"bank_description": "Example Inter-company Journal ",
"vendor": "34182",
"vendor_name": "ABC Bead Supply",
"department": "364",
"department_name": "Executive",
"tags": [
{
"id": "8304",
"name": "North America",
"group": 669
}
]
},
{
"entity": 55,
"entity_name": "Eliminations",
"account": "8855",
"account_name": "1014 - JPMC Cash",
"credit_amount_native": 9876.54,
"credit_amount_book": 9876.54,
"credit_amount": 9876.54,
"bank_description": "Example Inter-company Journal "
},
{
"entity": 54,
"entity_name": "Top Level",
"tags": [],
"credit_amount_native": 9876.54,
"credit_amount_book": 9876.54,
"credit_amount": 9876.54,
"account": "14239",
"account_name": "1900 - Intercompany Accounts Receivable",
"bank_description": "Example Inter-company Journal "
},
{
"entity": 55,
"entity_name": "Eliminations",
"tags": [],
"debit_amount_native": 9876.54,
"debit_amount_book": 9876.54,
"debit_amount": 9876.54,
"account": "14240",
"account_name": "2020 - Intercompany Accounts Payable",
"bank_description": "Example Inter-company Journal "
}
],
"memo": "Example Inter-company Journal ",
"currency": "USD",
"reversal_date": "2025-08-01",
"entities": {
"54": {
"id": 54,
"name": "Top Level",
"entity_currency": "USD",
"exchange_rate": 1,
"exchange_rate_book": 1,
"debits_native": 9876.54,
"credits_native": 9876.54,
"debits_book": 9876.54,
"credits_book": 9876.54,
"debits_consolidation": 9876.54,
"credits_consolidation": 9876.54
},
"55": {
"id": 55,
"name": "Eliminations",
"entity_currency": "USD",
"exchange_rate": 1,
"exchange_rate_book": 1,
"debits_native": 9876.54,
"credits_native": 9876.54,
"debits_book": 9876.54,
"credits_book": 9876.54,
"debits_consolidation": 9876.54,
"credits_consolidation": 9876.54
}
}
}'
{
  "id": 331,
  "attachments": [],
  "reversals": [
    {
      "id": 332,
      "order": "0004361"
    }
  ],
  "order": "0004360",
  "type": "journal_entry",
  "journal_id": "bf3fb423-12a9-47cb-9dca-18e6b9d8296b",
  "memo": "Example Inter-company Journal",
  "currency": "USD",
  "created_automatically": false,
  "date": "2025-07-25",
  "ref_number": null,
  "created_at": "2025-07-25T03:45:59+0000",
  "last_modified_at": "2025-07-25T03:45:59+0000",
  "reversal_of": null,
  "transactions": [
    {
      "id": 24429466,
      "entity_name": "Top Level",
      "entity_currency": "USD",
      "account_name": "1000 - Cash and Cash Equivalents",
      "account_number": "1000",
      "vendor_name": "ABC Bead Supply",
      "department_name": "Executive",
      "parent_department_name": "General and Administrative",
      "parent_department": 108,
      "tags": [
        {
          "id": 8304,
          "group_name": "Region",
          "parent_name": null,
          "parent": null,
          "name": "North America",
          "created_at": "2025-07-10T20:50:45+0000",
          "last_modified_at": "2025-07-10T20:50:45+0000",
          "group": 669
        }
      ],
      "journal": 7491947,
      "journal_order": "0004360",
      "journal_memo": "Example Inter-company Journal",
      "journal_type": "journal_entry",
      "intercompany_journal": 331,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": 9876.54,
      "account": 180564,
      "last_modified_by_name": "Zack Moss",
      "account_type": "ASSET",
      "files": [],
      "file_names": [],
      "amount": 9876.54,
      "amount_native": 9876.54,
      "amount_book": 9876.54,
      "amortization_schedule": [],
      "transaction_id": "393478d2-b523-4b42-bbd1-5952a7fd5eb1",
      "debit_amount": 9876.54,
      "credit_amount": null,
      "debit_amount_book": 9876.54,
      "credit_amount_book": null,
      "debit_amount_native": 9876.54,
      "credit_amount_native": null,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-25",
      "merchant_name": null,
      "bank_description": "Example Inter-company Journal ",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T03:45:59+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T03:45:59+0000",
      "draft_matches": null,
      "entity": 54,
      "parent_bank_transaction": null,
      "vendor": 34182,
      "department": 364,
      "last_modified_by": 904
    },
    {
      "id": 24429467,
      "entity_name": "Top Level",
      "entity_currency": "USD",
      "account_name": "1900 - Intercompany Accounts Receivable",
      "account_number": "1900",
      "tags": [],
      "journal": 7491947,
      "journal_order": "0004360",
      "journal_memo": "Example Inter-company Journal",
      "journal_type": "journal_entry",
      "intercompany_journal": 331,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": -9876.54,
      "account": 14239,
      "last_modified_by_name": "Zack Moss",
      "account_type": "ASSET",
      "files": [],
      "file_names": [],
      "amount": 9876.54,
      "amount_native": 9876.54,
      "amount_book": 9876.54,
      "amortization_schedule": [],
      "transaction_id": "daeefb8c-b548-47dc-8546-cac1e3e745b3",
      "debit_amount": null,
      "credit_amount": 9876.54,
      "debit_amount_book": null,
      "credit_amount_book": 9876.54,
      "debit_amount_native": null,
      "credit_amount_native": 9876.54,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-25",
      "merchant_name": null,
      "bank_description": "Example Inter-company Journal ",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T03:45:59+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T03:45:59+0000",
      "draft_matches": null,
      "entity": 54,
      "parent_bank_transaction": null,
      "vendor": null,
      "department": null,
      "last_modified_by": 904
    },
    {
      "id": 24429470,
      "entity_name": "Eliminations",
      "entity_currency": "USD",
      "account_name": "1014 - JPMC Cash",
      "account_number": "1014",
      "tags": [],
      "journal": 7491949,
      "journal_order": "0004360",
      "journal_memo": "Example Inter-company Journal",
      "journal_type": "journal_entry",
      "intercompany_journal": 331,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": -9876.54,
      "account": 8855,
      "last_modified_by_name": "Zack Moss",
      "account_type": "ASSET",
      "parent_account_name": "Cash and Cash Equivalents",
      "files": [],
      "file_names": [],
      "amount": 9876.54,
      "amount_native": 9876.54,
      "amount_book": 9876.54,
      "amortization_schedule": [],
      "transaction_id": "058c8386-3a78-4477-97aa-2fe2427a982a",
      "debit_amount": null,
      "credit_amount": 9876.54,
      "debit_amount_book": null,
      "credit_amount_book": 9876.54,
      "debit_amount_native": null,
      "credit_amount_native": 9876.54,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-25",
      "merchant_name": null,
      "bank_description": "Example Inter-company Journal ",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T03:46:00+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T03:46:00+0000",
      "draft_matches": null,
      "entity": 55,
      "parent_bank_transaction": null,
      "vendor": null,
      "department": null,
      "last_modified_by": 904
    },
    {
      "id": 24429471,
      "entity_name": "Eliminations",
      "entity_currency": "USD",
      "account_name": "2020 - Intercompany Accounts Payable",
      "account_number": "2020",
      "tags": [],
      "journal": 7491949,
      "journal_order": "0004360",
      "journal_memo": "Example Inter-company Journal",
      "journal_type": "journal_entry",
      "intercompany_journal": 331,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": -9876.54,
      "account": 14240,
      "last_modified_by_name": "Zack Moss",
      "account_type": "LIABILITY",
      "files": [],
      "file_names": [],
      "amount": 9876.54,
      "amount_native": 9876.54,
      "amount_book": 9876.54,
      "amortization_schedule": [],
      "transaction_id": "04e16db2-5df1-4a7d-8d13-be0bad45ccdf",
      "debit_amount": 9876.54,
      "credit_amount": null,
      "debit_amount_book": 9876.54,
      "credit_amount_book": null,
      "debit_amount_native": 9876.54,
      "credit_amount_native": null,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-25",
      "merchant_name": null,
      "bank_description": "Example Inter-company Journal ",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T03:46:00+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T03:46:00+0000",
      "draft_matches": null,
      "entity": 55,
      "parent_bank_transaction": null,
      "vendor": null,
      "department": null,
      "last_modified_by": 904
    }
  ],
  "entities": {
    "54": {
      "id": 54,
      "name": "Top Level",
      "entity_currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1
    },
    "55": {
      "id": 55,
      "name": "Eliminations",
      "entity_currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

reversal_date
string<date>
entities
any
order
string
journals_to_delete
integer[]
type
enum<string>
  • bill - Bill
  • bill_payment - Bill Payment
  • bill_prepayment - Bill Prepayment
  • check - Check
  • credit_card - Credit Card
  • credit_memo - Credit Memo
  • credit_memo_payment - Credit Memo Payment
  • debit_memo - Debit Memo
  • debit_memo_payment - Debit Memo Payment
  • deposit - Deposit
  • expense - Expense
  • invoice - Invoice
  • intercompany_journal - Intercompany Journal
  • invoice_payment - Invoice Payment
  • journal_entry - Journal Entry
  • payment - Payment
  • receive_payment - Receive Payment
  • refund - Refund
  • revenue_recognition - Revenue Recognition
  • sales_receipt - Sales Receipt
  • transfer - Transfer
  • vendor_credit - Vendor Credit
  • void_bill - Void Bill
  • void_bill_payment - Void Bill Payment
  • void_invoice_payment - Void Invoice Payment
  • void_credit_memo - Void Credit Memo
  • void_invoice - Void Invoice
  • elimination - Elimination
  • revaluation - Revaluation
Available options:
bill,
bill_payment,
bill_prepayment,
check,
credit_card,
credit_memo,
credit_memo_payment,
debit_memo,
debit_memo_payment,
deposit,
expense,
invoice,
intercompany_journal,
invoice_payment,
journal_entry,
payment,
receive_payment,
refund,
revenue_recognition,
sales_receipt,
transfer,
vendor_credit,
void_bill,
void_bill_payment,
void_invoice_payment,
void_credit_memo,
void_invoice,
elimination,
revaluation
journal_id
string<uuid>
memo
string | null
Maximum length: 1024
currency
string
Maximum length: 3
created_automatically
boolean
date
string<date>
ref_number
string | null
Maximum length: 100
reversal_of
integer | null

Response

201 - application/json
id
integer
required
transactions
object[]
required
attachments
object[]
required
reversal_of_order
string
required
reversals
integer[]
required
entity_name
string
required
entity_currency
string
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
created_at
string<date-time>
required
last_modified_at
string<date-time>
required
customer
integer
required
order
string
type
enum<string>
  • bill - Bill
  • bill_payment - Bill Payment
  • bill_prepayment - Bill Prepayment
  • check - Check
  • credit_card - Credit Card
  • credit_memo - Credit Memo
  • credit_memo_payment - Credit Memo Payment
  • debit_memo - Debit Memo
  • debit_memo_payment - Debit Memo Payment
  • deposit - Deposit
  • expense - Expense
  • invoice - Invoice
  • intercompany_journal - Intercompany Journal
  • invoice_payment - Invoice Payment
  • journal_entry - Journal Entry
  • payment - Payment
  • receive_payment - Receive Payment
  • refund - Refund
  • revenue_recognition - Revenue Recognition
  • sales_receipt - Sales Receipt
  • transfer - Transfer
  • vendor_credit - Vendor Credit
  • void_bill - Void Bill
  • void_bill_payment - Void Bill Payment
  • void_invoice_payment - Void Invoice Payment
  • void_credit_memo - Void Credit Memo
  • void_invoice - Void Invoice
  • elimination - Elimination
  • revaluation - Revaluation
Available options:
bill,
bill_payment,
bill_prepayment,
check,
credit_card,
credit_memo,
credit_memo_payment,
debit_memo,
debit_memo_payment,
deposit,
expense,
invoice,
intercompany_journal,
invoice_payment,
journal_entry,
payment,
receive_payment,
refund,
revenue_recognition,
sales_receipt,
transfer,
vendor_credit,
void_bill,
void_bill_payment,
void_invoice_payment,
void_credit_memo,
void_invoice,
elimination,
revaluation
journal_id
string<uuid>
memo
string | null
Maximum length: 1024
currency
string
Maximum length: 3
created_automatically
boolean
date
string<date>
ref_number
string | null
Maximum length: 100
reversal_of
integer | null
I