Skip to main content
POST
/
coa
/
api
/
journal_entry
Create Journal Entry
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/journal_entry \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "date": "2025-07-31",
  "type": "journal_entry",
  "transactions": [
    {
      "account": "180564",
      "account_name": "1000 - Cash and Cash Equivalents",
      "debit_amount_native": 12345.67,
      "debit_amount_book": 12345.67,
      "debit_amount": 12345.67,
      "bank_description": "Test Line Description"
    },
    {
      "account": "2563",
      "account_name": "1600 - Fixed Assets",
      "credit_amount_native": 12345.67,
      "credit_amount_book": 12345.67,
      "credit_amount": 12345.67,
      "bank_description": "Test Line Description",
      "vendor": "34182",
      "vendor_name": "ABC Bead Supply",
      "department": "35",
      "department_name": "Engineering",
      "tags": [
        {
          "id": "8360",
          "name": "Operational Companies",
          "group": 760
        }
      ]
    }
  ],
  "memo": "Test Journal Memo",
  "reversal_date": "2025-08-01",
  "entity": "54",
  "entity_name": "Top Level",
  "entity_currency": "USD",
  "currency": "USD",
  "exchange_rate_book": 1,
  "exchange_rate": 1
}'
{
  "id": 7491945,
  "transactions": [
    {
      "id": 24429462,
      "entity_name": "Top Level",
      "entity_currency": "USD",
      "account_name": "1000 - Cash and Cash Equivalents",
      "account_number": "1000",
      "tags": [],
      "journal": 7491945,
      "journal_order": "0004358",
      "journal_memo": "Test Journal Memo",
      "journal_type": "journal_entry",
      "intercompany_journal": null,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": 12345.67,
      "account": 180564,
      "last_modified_by_name": "API User",
      "account_type": "ASSET",
      "files": [],
      "file_names": [],
      "amount": 12345.67,
      "amount_native": 12345.67,
      "amount_book": 12345.67,
      "transaction_id": "285b736b-5dd4-4cd3-9c46-683bd1972042",
      "debit_amount": 12345.67,
      "credit_amount": null,
      "debit_amount_book": 12345.67,
      "credit_amount_book": null,
      "debit_amount_native": 12345.67,
      "credit_amount_native": null,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-31",
      "merchant_name": null,
      "bank_description": "Test Line Description",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T00:01:28+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T00:01:28+0000",
      "draft_matches": null,
      "entity": 54,
      "parent_bank_transaction": null,
      "vendor": null,
      "department": null,
      "last_modified_by": 904
    },
    {
      "id": 24429463,
      "entity_name": "Top Level",
      "entity_currency": "USD",
      "account_name": "1600 - Fixed Assets",
      "account_number": "1600",
      "vendor_name": "ABC Bead Supply",
      "department_name": "Engineering",
      "parent_department_name": "R&D",
      "parent_department": 2127,
      "tags": [
        {
          "id": 8360,
          "group_name": "Entity Type",
          "parent_name": null,
          "parent": null,
          "name": "Operational Companies",
          "created_at": "2025-07-18T15:23:56+0000",
          "last_modified_at": "2025-07-18T15:23:56+0000",
          "group": 760
        }
      ],
      "journal": 7491945,
      "journal_order": "0004358",
      "journal_memo": "Test Journal Memo",
      "journal_type": "journal_entry",
      "intercompany_journal": null,
      "created_automatically": false,
      "journal_attachments": [],
      "journal_type_name": "Journal Entry",
      "invoice": null,
      "bill": null,
      "date_month": "07",
      "date_year": "2025",
      "balance_after_transaction": -12345.67,
      "account": 2563,
      "last_modified_by_name": "API User",
      "account_type": "ASSET",
      "files": [],
      "file_names": [],
      "amount": 12345.67,
      "amount_native": 12345.67,
      "amount_book": 12345.67,
      "transaction_id": "a8002c20-549e-4bc6-969e-dbc2288f45ba",
      "debit_amount": null,
      "credit_amount": 12345.67,
      "debit_amount_book": null,
      "credit_amount_book": 12345.67,
      "debit_amount_native": null,
      "credit_amount_native": 12345.67,
      "currency": "USD",
      "exchange_rate": 1,
      "exchange_rate_book": 1,
      "posted_at": "2025-07-31",
      "merchant_name": null,
      "bank_description": "Test Line Description",
      "note": null,
      "balance_before_transaction": null,
      "created_at": "2025-07-25T00:01:28+0000",
      "external_id": null,
      "needs_review": false,
      "last_modified_at": "2025-07-25T00:01:28+0000",
      "draft_matches": null,
      "entity": 54,
      "parent_bank_transaction": null,
      "vendor": 34182,
      "department": 35,
      "last_modified_by": 904
    }
  ],
  "attachments": [],
  "invoice": null,
  "reversals": [
    {
      "id": 7491946,
      "order": "0004359"
    }
  ],
  "entity_name": "Top Level",
  "entity_currency": "USD",
  "order": "0004358",
  "revenue_transactions": [],
  "search_vector": "'0004358':1A '07':3C '2025':2C '31':4C",
  "search_text": " 0004358",
  "type": "journal_entry",
  "journal_id": "5be022f1-77df-4cc7-977d-1c3d7d5828c8",
  "memo": "Test Journal Memo",
  "currency": "USD",
  "exchange_rate": 1,
  "exchange_rate_book": 1,
  "created_automatically": false,
  "date": "2025-07-31",
  "ref_number": null,
  "created_at": "2025-07-25T00:01:28+0000",
  "source": "manual",
  "source_id": null,
  "last_modified_at": "2025-07-25T00:01:28+0000",
  "recurrent_journal_entry": null,
  "entity": 54,
  "reversal_of": null,
  "intercompany_journal": null,
  "source_file": null,
  "chat": null
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

reversal_date
string<date>
order
string
revenue_transactions
integer[]
bulk_upload
boolean
chat_uuid
string
update_reversal
boolean
default:false
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
currency
string
Maximum length: 3
exchange_rate
number | null
Required range: -100000000000000 < x < 100000000000000
exchange_rate_book
number | null
Required range: -100000000000000 < x < 100000000000000
use_average_rate
boolean | null
created_automatically
boolean
date
string<date>
ref_number
string | null
Maximum length: 100
source
string | null
Maximum length: 250
source_id
string | null
recurrent_journal_entry
integer | null
entity
integer | null
reversal_of
integer | null
intercompany_journal
integer | null
source_file
integer | null
chat
integer | null

Response

201 - application/json
id
integer
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
transactions
object[]
required
attachments
object[]
required
invoice
integer
required
reversal_of_order
string
required
reversals
integer[]
required
entity_name
string
required
entity_currency
string
required
credit_memos
integer[]
required
debit_memos
integer[]
required
search_vector
string | null
required
search_text
string | null
required
created_at
string<date-time>
required
last_modified_at
string<date-time>
required
customer
integer
required
order
string
chat_uuid
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
currency
string
Maximum length: 3
exchange_rate
number | null
Required range: -100000000000000 < x < 100000000000000
exchange_rate_book
number | null
Required range: -100000000000000 < x < 100000000000000
use_average_rate
boolean | null
created_automatically
boolean
date
string<date>
ref_number
string | null
Maximum length: 100
source
string | null
Maximum length: 250
source_id
string | null
recurrent_journal_entry
integer | null
entity
integer | null
reversal_of
integer | null
intercompany_journal
integer | null
source_file
integer | null
chat
integer | null
I