transaction
Method | Return type | Description |
---|---|---|
value | decimal | Value of the transaction. |
date | date | Booking date of the transaction. |
relation | string | Name of the relation of the transaction. |
account | accounts drop | Access the methods for accounts drops (eg. account.name, account.value) and get the information of the account related to the transaction. |
eg. journal_id, journal_type, description | Other fields: The transaction drop provides access to all fields that are stored for transactions. You can access fields other than date, relation or value by calling the name of the column on this drop. You can take the name that you see in Silverfin and replace spaces (' ') and points ('.') by underscores ('_'). |
account
{% for transaction in period.accounts.4.first.transactions %}
{{ transaction.account.number }} {{ transaction.account.name }} : $ {{ transaction.value | currency }} ({{ transaction.date | date:"%d-%m-%Y" }})
{% endfor %}
Output
400000 Handelsdebiteuren - Facturatie : $ 50.00 (01-01-2019)
400000 Handelsdebiteuren - Facturatie : $ 75.00 (10-02-2019)
400000 Handelsdebiteuren - Facturatie : $ 40.00 (20-03-2019)
400000 Handelsdebiteuren - Facturatie : $ 75.00 (10-02-2019)
400000 Handelsdebiteuren - Facturatie : $ 40.00 (20-03-2019)
The community provides a more detailed example of Transaction Drop use
Updated about 3 years ago