v1

latestOpenAPI 3.0.32026-07-26362271803.3 KB
Core Accounting

Update Chart Transaction

put/coa/api/transaction/{id}

Path parameters

idinteger required

Request body

idinteger required
is_deletedboolean required
deleted_atstring date-time nullable required
entity_namestring required
entity_currencystring required
account_namestring nullable required

Combines account number and name in the format "number - name"

account_numberstring required
vendor_namestring required

Name of the linked Campfire Vendor object. Distinct from merchant_name, which is free text stored directly on the transaction and not linked to a Campfire object.

vendor_idstring required
department_namestring required
department_codestring required
parent_department_namestring required
parent_departmentinteger required
tagsobject[] required
journalinteger required
journal_orderstring required
journal_memostring required
journal_typestring required
intercompany_journalinteger required
created_automaticallyboolean required
journal_type_namestring nullable required
invoicestring nullable required
billstring nullable required
date_monthstring nullable required

Two-digit month (MM) derived from posted_at, the transaction date.

date_yearstring nullable required

Four-digit year (YYYY) derived from posted_at, the transaction date.

balance_after_transactionnumber double required
bank_accountstring required
bank_account_namestring required
accountinteger nullable
last_modified_by_namestring required
account_typestring required
account_subtypestring required
parent_account_namestring required
filesstring required
invoice_idinteger nullable required
invoice_numberstring nullable required
bill_idinteger nullable required
bill_numberstring nullable required
file_namesstring required
has_matchesboolean required
has_aiboolean required
has_rulesboolean required
has_mergesboolean required
has_fixed_asset_rule_matchesboolean required
primary_action_typestring required
suggested_accountinteger nullable required
suggested_account_namestring nullable required
suggested_account_numberstring nullable required
amountnumber double required

Amount in consolidated currency (the currency of the root entity).

amount_nativenumber double required

Amount in the currency the transaction was originally created in.

amount_booknumber double required

Amount in the currency of the entity this transaction belongs to.

linked_amortizationsobject[] required
created_fixed_assetsobject[] required

Return all fixed assets this transaction is linked to — via the legacy purchase_transaction FK (reverse: created_fixed_assets) AND the new purchase_transactions M2M (reverse: linked_fixed_assets). Dual-write keeps the FK target in the M2M, but using both covers any pre-backfill drift and surfaces non-primary M2M-only links (e.g. the secondary txns in a multi-txn fixed asset, or a split-resized txn).

reconciliation_reportstring required
opposing_account_namestring required
opposing_account_numberstring required
tax_rateinteger nullable
apply_both_sidesboolean
transaction_match_idinteger nullable
transaction_idstring uuid required
debit_amountnumber double nullable
credit_amountnumber double nullable
debit_amount_booknumber double nullable
credit_amount_booknumber double nullable
debit_amount_nativenumber double nullable
credit_amount_nativenumber double nullable
currencystring
exchange_ratenumber double nullable
exchange_rate_booknumber double nullable
posted_atstring date nullable
merchant_namestring nullable
bank_descriptionstring nullable
tag_idsinteger[]
tag_group_idsinteger[]
notestring nullable
receipt_urlstring uri nullable
balance_before_transactionnumber double nullable required
created_atstring date-time required
external_idstring nullable
needs_reviewboolean
last_modified_atstring date-time required
{"stackTrail":"components:schemas:ChartTransaction:properties:draft_matches","oasType":"schema","type":"unknown","nullable":true}
last_lam_prediction_attemptstring date-time nullable
customerinteger required
entityinteger required
source_entityinteger nullable
parent_bank_transactioninteger nullable
vendorinteger nullable
departmentinteger nullable
last_modified_byinteger nullable

Response

idinteger required
is_deletedboolean required
deleted_atstring date-time nullable required
entity_namestring required
entity_currencystring required
account_namestring nullable required

Combines account number and name in the format "number - name"

account_numberstring required
vendor_namestring required

Name of the linked Campfire Vendor object. Distinct from merchant_name, which is free text stored directly on the transaction and not linked to a Campfire object.

vendor_idstring required
department_namestring required
department_codestring required
parent_department_namestring required
parent_departmentinteger required
tagsobject[] required
journalinteger required
journal_orderstring required
journal_memostring required
journal_typestring required
intercompany_journalinteger required
created_automaticallyboolean required
journal_type_namestring nullable required
invoicestring nullable required
billstring nullable required
date_monthstring nullable required

Two-digit month (MM) derived from posted_at, the transaction date.

date_yearstring nullable required

Four-digit year (YYYY) derived from posted_at, the transaction date.

balance_after_transactionnumber double required
bank_accountstring required
bank_account_namestring required
accountinteger nullable
last_modified_by_namestring required
account_typestring required
account_subtypestring required
parent_account_namestring required
filesstring required
invoice_idinteger nullable required
invoice_numberstring nullable required
bill_idinteger nullable required
bill_numberstring nullable required
file_namesstring required
has_matchesboolean required
has_aiboolean required
has_rulesboolean required
has_mergesboolean required
has_fixed_asset_rule_matchesboolean required
primary_action_typestring required
suggested_accountinteger nullable required
suggested_account_namestring nullable required
suggested_account_numberstring nullable required
amountnumber double required

Amount in consolidated currency (the currency of the root entity).

amount_nativenumber double required

Amount in the currency the transaction was originally created in.

amount_booknumber double required

Amount in the currency of the entity this transaction belongs to.

linked_amortizationsobject[] required
created_fixed_assetsobject[] required

Return all fixed assets this transaction is linked to — via the legacy purchase_transaction FK (reverse: created_fixed_assets) AND the new purchase_transactions M2M (reverse: linked_fixed_assets). Dual-write keeps the FK target in the M2M, but using both covers any pre-backfill drift and surfaces non-primary M2M-only links (e.g. the secondary txns in a multi-txn fixed asset, or a split-resized txn).

reconciliation_reportstring required
opposing_account_namestring required
opposing_account_numberstring required
tax_rateinteger nullable
apply_both_sidesboolean
transaction_match_idinteger nullable
transaction_idstring uuid required
debit_amountnumber double nullable
credit_amountnumber double nullable
debit_amount_booknumber double nullable
credit_amount_booknumber double nullable
debit_amount_nativenumber double nullable
credit_amount_nativenumber double nullable
currencystring
exchange_ratenumber double nullable
exchange_rate_booknumber double nullable
posted_atstring date nullable
merchant_namestring nullable
bank_descriptionstring nullable
tag_idsinteger[]
tag_group_idsinteger[]
notestring nullable
receipt_urlstring uri nullable
balance_before_transactionnumber double nullable required
created_atstring date-time required
external_idstring nullable
needs_reviewboolean
last_modified_atstring date-time required
{"stackTrail":"components:schemas:ChartTransaction:properties:draft_matches","oasType":"schema","type":"unknown","nullable":true}
last_lam_prediction_attemptstring date-time nullable
customerinteger required
entityinteger required
source_entityinteger nullable
parent_bank_transactioninteger nullable
vendorinteger nullable
departmentinteger nullable
last_modified_byinteger nullable