TransactionInput
RequestA transaction to post. Its number is assigned in Tracken's own series.
Sent in requests. Its values are closed: anything not listed is refused.
Attributes
9Entries (legs). Debits must equal credits.
10 attributes of each item
An existing entry of this transaction to keep; omit for a new entry (TRANSACTION_ENTRY_NOT_FOUND otherwise). A kept entry keeps what it is not sent: its text, contact, tax code and dimensions.
Debit amount in the book currency, at most 10 decimal places; null, 0 or left out when the entry credits. On a transaction in another currency it is computed from foreign_debit: leave it out (a value sent must be the computed one, as a read answers it; TRANSACTION_ENTRY_AMOUNT_INVALID otherwise).
Credit amount in the book currency, at most 10 decimal places; null, 0 or left out when the entry debits. On a transaction in another currency it is computed from foreign_credit, as debit.
On a transaction in another currency than the book currency, the debit in that currency (whole cents); null, 0 or left out when the entry credits. Each side's total converts once at the transaction's exchange_rate and is shared over its entries by largest remainder, so debits equal credits in the book currency too.
Details
On a transaction in the book currency it is refused (VALIDATION_ERROR).
The credit in the transaction's currency, as foreign_debit.
One of the organization's tax codes, when the entry is a VAT-relevant posting.
Dimension values on this entry. Sent, it replaces the entry's values ([] removes them); left out, a kept entry keeps its values.
ISO 4217 code of the currency the entries are typed in: the book currency (EUR, the default) or a currency the organization has activated (400 CURRENCY_NOT_ACTIVE otherwise).
Details
In another currency each entry sends foreign_debit or foreign_credit and the book amounts are computed at exchange_rate. One currency per transaction.
Only on a transaction in another currency: units of currency per one EUR. Omitted or null, the European Central Bank's rate of date (400 EXCHANGE_RATE_MISSING when the bank published none in the 90 days before it); sent, that rate (exchange_rate_source manual).
Details
In the book currency only 1 or null (400 EXCHANGE_RATE_OVERRIDE_INVALID).
import marks a transaction brought over from another system; it behaves as manual.
One of manual, import
With origin: import, the series the entry had in the system it came from (e.g. PR, MA).
With origin: import, the number it had there, kept beside Tracken's own number.