Webhooks for the Sales Invoices API

This API supports webhooks. When asynchronous events occur on our side, we can send an HTTP call (webhook) to your application, so you can react to these events in real time.

You can set up webhooks via the dashboard. See the Next-gen Webhooks guide.

The payload of a webhook is always simply a snapshot of the entity, as returned by the GET endpoint.

If you are setting up webhooks via the Webhooks API instead for any of the events below, you will need access to invoices.read.

Available webhook events

EventDescription
sales-invoice.canceledOccurs when a sales invoice has been canceled.
sales-invoice.createdOccurs when a sales invoice has been created.
sales-invoice.e-invoice-failedOccurs when a sales invoice failed to be sent as an e-invoice.
sales-invoice.e-invoice-issuedOccurs when a sales invoice has been successfully sent as an e-invoice.
sales-invoice.issuedOccurs when a sales invoice has been issued.
sales-invoice.paidOccurs when a sales invoice has been paid.

Webhook payload examples

{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "cancelled",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": false,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}
{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "draft",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": false,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}
{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "invoiceNumber": "INV-0000001",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "issued",
  "eInvoiceStatus": "failed",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": true,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}
{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "invoiceNumber": "INV-0000001",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "issued",
  "eInvoiceStatus": "issued",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": true,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}
{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "invoiceNumber": "INV-0000001",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "issued",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": false,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}
{
  "resource": "sales-invoice",
  "id": "invoice_4Y0eZitmBnQ6IDoMqZQKh",
  "invoiceNumber": "INV-0000001",
  "mode": "live",
  "profileId": "pfl_QkEhN94Ba",
  "currency": "EUR",
  "status": "paid",
  "vatScheme": "standard",
  "paymentTerm": "30 days",
  "recipientIdentifier": "123532354",
  "isEInvoice": false,
  "createdAt": "2024-10-03T10:47:38+00:00",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/sales-invoices/invoice_4Y0eZitmBnQ6IDoMqZQKh",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-sales-invoice",
      "type": "text/html"
    }
  }
}