v1

latestOpenAPI 3.0.32026-07-26362271803.3 KB
Core Accounting

Partial Update Intercompany Journal Entry

    Performs a partial update of an intercompany journal entry, allowing modification of specific fields without replacing the entire entry.

    This endpoint supports partial updates to:
    - Journal entry metadata (memo, date, currency, reference number)
    - Individual transaction modifications
    - Entity exchange rate adjustments
    - Vendor, department, and tag assignments
    - Account categorizations and amounts

    Key differences from PUT:
    - Only specified fields are updated (vs. full replacement)
    - Maintains existing data for unspecified fields
    - Supports granular transaction modifications
    - Preserves audit trail and timestamps
    - Allows incremental changes without full transaction rebuilds

    Validation requirements:
    - Modified transactions must maintain entity balance (debits = credits)
    - Cannot modify entries in closed accounting periods
    - All referenced accounts, vendors, departments must be active
    - Exchange rates must be valid for multi-currency transactions
    - Account assignments must be appropriate for transaction types
    
patch/coa/api/intercompany-journal-entry/{id}

Path parameters

idinteger required

Request body

idinteger
reversal_of_orderstring
reversalsobject[]
reversal_datestring date nullable
orderstring
journals_to_deleteinteger[]
{"stackTrail":"components:schemas:PatchedIntercompanyJournalEntry:properties:exchange_rates","oasType":"schema","type":"unknown"}
sourcestring nullable
source_fileinteger nullable
close_task_idstring
chat_uuidstring uuid
is_deletedboolean
deleted_atstring date-time nullable
type'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'
  • 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
  • lease - Lease
  • 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_credit_memo_payment - Void Credit Memo Payment
  • void_debit_memo_payment - Void Debit Memo Payment
  • void_invoice - Void Invoice
  • elimination - Elimination
  • revaluation - Revaluation
  • asset_reclassification - Asset Reclassification
journal_idstring uuid
memostring nullable
currencystring
created_automaticallyboolean
datestring date
ref_numberstring nullable
created_atstring date-time
last_modified_atstring date-time
customerinteger
reversal_ofinteger nullable
entitiesinteger[]

Entities involved in this intercompany journal entry. Used for consolidation filtering.

Response

idinteger required
reversal_of_orderstring required
reversalsobject[] required
reversal_datestring date nullable
orderstring
journals_to_deleteinteger[]
{"stackTrail":"components:schemas:IntercompanyJournalEntry:properties:exchange_rates","oasType":"schema","type":"unknown"}
sourcestring nullable
source_fileinteger nullable
close_task_idstring
chat_uuidstring uuid
is_deletedboolean required
deleted_atstring date-time nullable required
type'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'
  • 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
  • lease - Lease
  • 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_credit_memo_payment - Void Credit Memo Payment
  • void_debit_memo_payment - Void Debit Memo Payment
  • void_invoice - Void Invoice
  • elimination - Elimination
  • revaluation - Revaluation
  • asset_reclassification - Asset Reclassification
journal_idstring uuid
memostring nullable
currencystring
created_automaticallyboolean
datestring date
ref_numberstring nullable
created_atstring date-time required
last_modified_atstring date-time required
customerinteger required
reversal_ofinteger nullable
entitiesinteger[]

Entities involved in this intercompany journal entry. Used for consolidation filtering.