---
title: "Invoice Comment Created"
method: POST
path: "webhooks_invoiceCommentCreated"
---

# Invoice Comment Created

`POST webhooks_invoiceCommentCreated` (webhook)

A comment was added to an invoice

## Payload

- WebhooksInvoiceCommentWebhook
  - `eventType` string, required: The type of the event.
  - `invoiceId` string, required
  - `comment` InvoiceTypesCommentResponse, required
    - `id` string, required
    - `text` string, required
    - `user` EntityTypesEntityUserResponse
      - `id` string, required
      - `foreignId` string: The ID used to identify this user in your system.
      - `email` string
      - `name` string
      - `roles` string[], required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `associatedApprovalAction` InvoiceTypesAssociatedApprovalAction
      - `userId` string, required
      - `action` 'NONE' | 'APPROVE' | 'REJECT', required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `user` EntityTypesEntityUserResponse
    - `id` string, required
    - `foreignId` string: The ID used to identify this user in your system.
    - `email` string
    - `name` string
    - `roles` string[], required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/mercoa/apis/mercoa-2.md) - [All operations](https://skmtc.dev/mercoa/apis/mercoa-2/llms.txt) - [OpenAPI document](https://skmtc.dev/mercoa/apis/mercoa-2/revisions/00a8e403ae18?raw)
