Retrieve all comments about a specific invoice by its identifier
application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the invoice to retrieve |
200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the invoice comments response data |
data.comments | array | List of comments associated with the invoice |
data.comments[].content | string | The content of the comment |
data.comments[].type | string | The type of the comment. It is one of five values: GENERAL, DECLINE, APPROVAL, REMARKS, FLAG |
data.comments[].dateCreated | string | Date when the comment was created (ISO 8601 format) |
data.comments[].user | object | Information about the user who made the comment |
data.comments[].user.id | string | Unique identifier for the user |
data.comments[].user.name | string | Name of the user |
data.context | object | Additional context for the comments |
data.context.count | number | The total number of comments |
400 Bad Request
404 Not Found
403 Forbidden
401 Unauthorized
403 Forbidden
id returned from the invoice creation endpoint to retrieve comments