TransactionEntry
ResponseOne entry (leg) of a transaction.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
12Entry id, stable for the entry's lifetime, including edits of the transaction.
Debit amount as a decimal string, in the book currency (the transaction's book_currency); null when the entry credits.
Credit amount as a decimal string, in the book currency; null when the entry debits.
Dimension values on this entry; empty when it has none.
The entry's amount in currency, on the same side as its debit or credit (so never negative): on a transaction in another currency than the book currency, the amount the entry was typed in; on an account kept in a foreign currency, the amount in that currency.
Details
Null on an entry in the book currency. 0.00 only on a period-end revaluation entry, which moves the book value of a foreign balance and not the balance.
The currency of foreign_amount (ISO 4217): the account's own currency when the account is kept in one, else the transaction's currency. Null when the entry has no foreign amount.