Create Transaction
create_transactionCreate a bank transaction by specifying bank account dimension, amount, date, and optional direction (incoming/outgoing), client, reference, and duplicate blocking.
Instructions
Create a bank transaction
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transaction date (YYYY-MM-DD) | |
| type | No | Statement direction, which decides the cash-account leg at confirmation: 'D' = incoming (money in, cash debited, 'Laekumine'), 'C' = outgoing (money out, cash credited, 'Tasumine'). Defaults to 'C' (outgoing) when omitted. Set 'D' for owner deposits, customer receipts, refunds, and other incoming rows. | |
| amount | Yes | Transaction amount | |
| clients_id | No | Related client ID | |
| ref_number | No | Reference number | |
| description | No | Description | |
| cl_currencies_id | No | Currency (default EUR) | |
| bank_account_name | No | Remitter/beneficiary name | |
| block_on_duplicate | No | Refuse creation when a possible duplicate bank posting is found (default false: warn only). | |
| accounts_dimensions_id | Yes | Bank account dimension ID |