Comments: add comment to transaction or receipt
comments_addAdd a comment to a transaction or receipt. Provide the comment text and either a transaction or receipt identifier.
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.
Endpoint: POST /comments/add
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server โ only set this to target a different customer. | |
| 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. |