---
title: "Webhook for invoice communications"
method: POST
path: "/webhook-invoice(to be defined)"
---

# Webhook for invoice communications

`POST /webhook-invoice(to be defined)`

## Request

- Base URL: `https://docs.ratepay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.ratepay.com/webhook-invoice(to be defined)`
- Auth: none declared. Required headers: `x-signature`, `Authorization`

Payload for invoice webhooks

## Request body

- object
  - `id` number: Unique identifier of the webhook event.
  - `shop_transaction_id` string: The order ID generated by the shop. This ID must be known to the buyer and is used for buyer communication, e.g. emails and buyer support.
  - `ratepay_payment_reference` string: Reference to be indicated in the bank transfer (generated by Ratepay).
  - `ratepay_transaction_id` string: Ratepay transaction ID.
  - `invoice_id` string: The billing ID of the order.
  - `eml_url` string: The URL to fetch the email document.
  - `pdf_url` string: The URL to fetch the PDF document.

## Response `200`

Success

---

[API](https://skmtc.dev/ratepay/apis/invoice-webhooks-openapi-specification.md) - [All operations](https://skmtc.dev/ratepay/apis/invoice-webhooks-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/ratepay/apis/invoice-webhooks-openapi-specification/revisions/175af5284f8d?raw)
