Merge Chart Transactions
Merge two offsetting chart transactions from different journals.
This endpoint consolidates journals containing offsetting transactions by removing the specified transactions and combining the remaining transactions into a single journal entry.
Request Body:
transaction_ids(array, required): Array of exactly two transaction IDs to mergetransaction_match_id(integer, optional): The AutoMergeSuggestion TransactionMatch the user explicitly accepted; when it names a suggestion over exactly this pair, the merge is recorded as a suggestion accept rather than a manual merge
Returns: The merged journal entry with all remaining transactions.
Requirements:
- Must provide exactly two transaction IDs
- Transactions must be from different journals
- Transactions must have matching amounts
- Transactions must belong to the same entity
Result:
- The two specified transactions are deleted
- Other transactions from both journals are consolidated into a single journal
- A draft queue record is created for audit purposes and auto-approved
Authorizations
Token-based authentication with required prefix "Token"
Body
Response
Derived user ID of the journal entry creator. Check created_by_source before explaining provenance.
Derived name of the journal entry creator. Check created_by_source before explaining provenance.
Provenance for created_by and created_by_name: 'draft_queue_created_by', 'chart_transaction_last_modified_by_fallback', or null.
bill- Billbill_payment- Bill Paymentbill_prepayment- Bill Prepaymentcheck- Checkcredit_card- Credit Cardcredit_memo- Credit Memocredit_memo_payment- Credit Memo Paymentdebit_memo- Debit Memodebit_memo_payment- Debit Memo Paymentdeposit- Depositexpense- Expenseinvoice- Invoiceintercompany_journal- Intercompany Journalinvoice_payment- Invoice Paymentjournal_entry- Journal Entrylease- Leasepayment- Paymentreceive_payment- Receive Paymentrefund- Refundrevenue_recognition- Revenue Recognitionsales_receipt- Sales Receipttransfer- Transfervendor_credit- Vendor Creditvoid_bill- Void Billvoid_bill_payment- Void Bill Paymentvoid_invoice_payment- Void Invoice Paymentvoid_credit_memo- Void Credit Memovoid_credit_memo_payment- Void Credit Memo Paymentvoid_debit_memo_payment- Void Debit Memo Paymentvoid_invoice- Void Invoiceelimination- Eliminationrevaluation- Revaluationasset_reclassification- Asset Reclassification
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, lease, payment, receive_payment, refund, revenue_recognition, sales_receipt, transfer, vendor_credit, void_bill, void_bill_payment, void_invoice_payment, void_credit_memo, void_credit_memo_payment, void_debit_memo_payment, void_invoice, elimination, revaluation, asset_reclassification 3-100000000000000 < x < 100000000000000-100000000000000 < x < 100000000000000100250