Comments: add comment to transaction or receipt
comments_createAdd a free-text comment to a transaction or receipt to document the reason behind its categorization. Provide either the transaction_id_by_customer or receipt_id_by_customer.
Instructions
🟡 WRITE · creates data: Creates new records (receipts, transactions, postings, invoices, master data). Not idempotent: calling twice may create duplicates.
add comment to transaction or receipt
Add comment to transaction or receipt. NOTE: You have to submit either a transaction_id_by_customer or a receipt_id_by_customer.
Use to attach a free-text note to one receipt or one transaction, for example to record why a booking was categorised the way it was.
Exactly one of transaction_id_by_customer or receipt_id_by_customer must be set. v1 offers no endpoint to read, edit or delete comments, so a comment written here can only be seen in the BuchhaltungsButler web app.
Endpoint: POST /comments/add
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_text | Yes | The comment text as a string between 2 and 210 characters. | |
| receipt_id_by_customer | No | The id_by_customer of the receipt. If specified, the field will be validated. | |
| transaction_id_by_customer | No | The id_by_customer of the transaction. If specified, the field will be validated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | blank | |
| success | Yes | Success boolean |