JournalEntryLineCreateParams
Parameters for creating a journal entry line.
- amountType: integer
_atoms greater than:0requiredAmount in the entry's functional currency (
currency), in the currency's smallest unit, e.g. cents. Must be above 0. - glType: string
_account _id requiredexternal_idof the GL account, as listed in the chart of accounts. - lineType: enum
_type requireddebitorcredit.valuesdebitcredit - counterpartyType: string
_external _id max length:255nullableExternal ID of the counterparty
- counterpartyType: enumnullable
_type vendor,customeroremployee. Other values are refused. Required on accounts payable and accounts receivable lines, together withcounterparty_external_id.valuescustomervendoremployeecontractormerchantunknown - memoType: stringmax length:1000nullable
Optional line memo.
- transactionType: integer
_amount _atoms min:0nullableAmount in the entry's
transaction_currency, in that currency's smallest unit. Required on every line whentransaction_currencydiffers fromcurrency, 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.