bexio Document Comments
bexio_document_commentsList, get, or create comments on sales documents (quotes, orders, invoices). Create comments with text, author, and optional public visibility for document recipients.
Instructions
Comments on sales documents (quotes/kb_offer, orders/kb_order, invoices/kb_invoice). Actions: "list" (all comments of a document; optional limit/offset), "get" (single comment, requires comment_id), "create" (payload required: text, user_id, user_name; optional user_email, is_public — is_public makes the comment visible to the document recipient). All actions require document_type and document_id. Comments cannot be edited or deleted via the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results for "list" (max 2000) | |
| action | Yes | Operation to perform | |
| offset | No | Results to skip for "list" | |
| payload | No | Comment fields. Required on create: text, user_id, user_name. | |
| comment_id | No | Comment id (required for "get") | |
| document_id | Yes | Id of the parent document (quote, order or invoice) | |
| document_type | Yes | Type of the parent document: kb_offer (quote), kb_order (order) or kb_invoice (invoice) |