JournalEntryLineCreateParams

Parameters for creating a journal entry line.

  • Amount in the entry's functional currency (currency), in the currency's smallest unit, e.g. cents. Must be above 0.

  • external_id of the GL account, as listed in the chart of accounts.

  • debit or credit.

    values
    debitcredit
  • External ID of the counterparty

  • vendor, customer or employee. Other values are refused. Required on accounts payable and accounts receivable lines, together with counterparty_external_id.

    values
    customervendoremployeecontractormerchantunknown
  • Optional line memo.

  • Amount in the entry's transaction_currency, in that currency's smallest unit. Required on every line when transaction_currency differs from currency, and not accepted otherwise. Zero declares a functional-only line: functional value moves while the foreign balance does not (a revaluation mark, a realized-FX plug). The stored FX rate is the ratio of the two amounts; no rate is sent.