BankLine
ResponseOne transaction on an imported bank statement. A line is open until it is reconciled: as a payment of documents, as a posting straight to an account, or as ignored.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
21Money in (incoming) or out (outgoing) of the bank account. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) incoming, outgoing
Currency of the line (ISO 4217). A line in another currency than the account's cannot be reconciled.
The rate the line is booked at: line-currency units per 1 book-currency unit, the European Central Bank's rate of the line's booking date (rate_date names the ECB publication it is from).
Details
1 for a line in the book currency; null for a line in another currency that has no rate yet (it gets one when the ECB publishes it, or when a person posts or matches the line).
amount in the book currency, amount divided by exchange_rate: the figure the line is booked at. The same sign as amount (positive; direction says which way). Equal to amount for a line in the book currency; null while exchange_rate is.
The day the European Central Bank published the rate, when it is its rate; null for a stated rate and for a line in the book currency. It may precede the line's booking date: on a weekend or a holiday the rate is the last one the ECB published before it. Null too while exchange_rate is.
The bank's own id for the transaction (camt AcctSvcrRef, else NtryRef). Stable across re-imports of the same statement.
Whether the line still needs reconciling. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) open, reconciled
How the line was reconciled. null while open.
4 attributes of reconciliation
What the line became. payment: it paid or received documents -- sales or purchase invoices (their payments are listPayments bank_line_id) or, in the app, a pay run's payouts.
Known values (open: expect new ones) payment, posting, ignored
Details
posting: an entry posted against an account books it. ignored: nothing is booked. New values may be added: treat a value you do not know as valid, not as an error.
For posting: the ledger entry that books the line. null otherwise (each payment carries its own entry).