> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paytsoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Events

> All webhook event types Payt can send, with example payloads.

## Event types

### General event types

| Event type                                                                   | Description                                                                                |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [bundled\_reminder\_email\_bounced](#bundled_reminder_email_bounced)         | Sending a bundled reminder via email failed                                                |
| [bundled\_reminder\_letter\_returned](#bundled_reminder_letter_returned)     | Sending a bundled reminder via postal service failed                                       |
| [bundled\_reminder\_sent](#bundled_reminder_sent)                            | Bundled reminder sent                                                                      |
| [bundled\_reminder\_invoice\_performed](#bundled_reminder_invoice_performed) | An invoice is mentioned in a bundled reminder                                              |
| [case\_created](#case_created)                                               | A debt collection case is created                                                          |
| [case\_email\_bounced](#case_email_bounced)                                  | Sending a debt collection case via email failed                                            |
| [case\_invoice\_amount\_paid](#case_invoice_amount_paid)                     | All invoices in a debt collection case were paid, but not the collection costs or interest |
| [case\_letter\_returned](#case_letter_returned)                              | Sending a debt collection case via postal service failed                                   |
| [case\_new\_comment](#case_new_comment)                                      | A new reaction on a case                                                                   |
| [case\_paid](#case_paid)                                                     | A debt collection case was fully paid                                                      |
| [case\_reopened](#case_reopened)                                             | Debt collection case is no longer closed                                                   |
| [case\_step\_performed](#case_step_performed)                                | A case step is performed for the case                                                      |
| [case\_to\_bailiff](#case_to_bailiff)                                        | Case is forwarded to bailiff                                                               |
| [credit\_limit\_exceeded](#credit_limit_exceeded)                            | Credit limit exceeded                                                                      |
| [debtor\_new\_comment](#debtor_new_comment)                                  | A new reaction on a debtor                                                                 |
| [debtor\_email\_address\_provided](#debtor_email_address_provided)           | An email address was provided for the debtor                                               |
| [debtor\_email\_address\_removed](#debtor_email_address_removed)             | An email address was removed for the debtor                                                |
| [email\_bounced](#email_bounced)                                             | An email sent to a debtor bounced, can be any type of bounce                               |
| [invoice\_blocked](#invoice_blocked)                                         | Invoice flow is blocked for some reason                                                    |
| [invoice\_call\_reminder\_performed](#invoice_call_reminder_performed)       | Invoice call reminder performed                                                            |
| [invoice\_closed](#invoice_closed)                                           | Invoice is both sent and paid                                                              |
| [invoice\_created](#invoice_created)                                         | Invoice created                                                                            |
| [invoice\_email\_bounced](#invoice_email_bounced)                            | Sending an invoice via email failed                                                        |
| [invoice\_letter\_returned](#invoice_letter_returned)                        | Sending an invoice via postal service failed                                               |
| [invoice\_new\_comment](#invoice_new_comment)                                | A new reaction on an invoice                                                               |
| [invoice\_paid](#invoice_paid)                                               | Invoice is fully paid                                                                      |
| [invoice\_paused](#invoice_paused)                                           | Invoice flow is paused by the user                                                         |
| [invoice\_payment\_created](#invoice_payment_created)                        | A new payment was registered for the invoice                                               |
| [invoice\_reopened](#invoice_reopened)                                       | Invoice is no longer paid                                                                  |
| [invoice\_resumed](#invoice_resumed)                                         | Invoice flow is resumed                                                                    |
| [invoice\_sms\_failed](#invoice_sms_failed)                                  | Sending an invoice using SMS failed                                                        |
| [invoice\_step\_performed](#invoice_step_performed)                          | An invoice step is performed for the invoice                                               |
| [invoice\_to\_debt\_collection](#invoice_to_debt_collection)                 | Invoice is marked ready for debt collection                                                |
| [invoice\_ubl\_failed](#invoice_ubl_failed)                                  | Sending an invoice using UBL failed                                                        |
| [incoming\_ubl\_received](#incoming_ubl_received)                            | Incoming invoice UBL received                                                              |
| [label\_added](#label_added)                                                 | Label added to debtor, invoice, or debt collection case                                    |
| [label\_removed](#label_removed)                                             | Label removed from debtor, invoice, or debt collection case                                |
| [payment\_plan\_created](#payment_plan_created)                              | Payment plan is created                                                                    |
| [payment\_plan\_deactivated](#payment_plan_created)                          | Payment plan is deactivated                                                                |
| [payment\_plan\_finished](#payment_plan_created)                             | Payment plan is finished                                                                   |
| [payment\_plan\_term\_expired](#payment_plan_term_expired)                   | Term of payment plan is expired                                                            |
| [payment\_plan\_updated](#payment_plan_created)                              | Payment plan is updated                                                                    |
| [psp\_mandate\_created](#psp_mandate_created)                                | Psp mandate is signed/created                                                              |
| [psp\_mandate\_revoked](#psp_mandate_revoked)                                | Psp mandate is revoked                                                                     |
| [psp\_transaction\_charged\_back](#psp_transaction_charged_back)             | Psp transaction received a chargeback                                                      |
| [psp\_transaction\_successful](#psp_transaction_successful)                  | New psp transaction registered                                                             |
| [psp\_transaction\_refunded](#psp_transaction_refunded)                      | Psp transaction is (partially) refunded                                                    |
| [todo\_list\_item\_created](#todo_list_item_created)                         | Task was created                                                                           |
| [todo\_list\_item\_updated](#todo_list_item_updated)                         | Task was updated                                                                           |
| [todo\_list\_item\_deleted](#todo_list_item_deleted)                         | Task was deleted                                                                           |

### Creditworthiness

This event type is only available when creditworthiness monitoring is enabled for an administration.

| Event type                                             | Description                          |
| ------------------------------------------------------ | ------------------------------------ |
| [creditworthiness\_changed](#creditworthiness_changed) | Creditworthiness information changed |

In addition a creditworthiness profile is added to the debtor containing the most recent creditworthiness information.

When monitoring an autogenerated credit limit is enabled for an administration, the `autogenerated_credit_limit_amount` field is added to the debtor data.

## Special events

### case\_step\_performed

The `case_step_performed` event can have different "name" values:

* summons
* summons\_reminder
* second\_summons
* second\_summons\_reminder
* notice\_of\_default
* prejudiciary

### invoice\_payment\_created

Every time the amount that the debtor needs to pay for an invoice changes this event is triggered. The event contains details about the amount, currency, date, etc.

#### amount

The value of the payment in `currency`. This is the amount as the debtor will see it.

#### book\_amount

The value of the payment in `book_currency`. Use this amount when synchronizing with accounting software. A negative value indicates a debit transaction, a positive value indicates a credit transaction.

#### book\_currency

This is the currency that belongs to the `book_amount` value. It is the currency in which the administration does its bookkeeping.

#### cost\_type

Payt makes a distinction between payments for the original amount of the invoice and for payments of additional costs added by Payt.

When (part of) the total\_amount of the invoice is paid the `cost_type` will be "principal". Payments with this type are created when Payt imports data from the accounting software. The sum of all "principal" payments is equal to the difference between the `total_amount` and `open_amount` of the invoice.

When costs are added to an invoice then payments will be added that have "costs" as a suffix. Payt currently supports 3 types of costs: "administration\_costs", "interest\_costs" and "debt\_collection\_costs".

#### currency

This is the currency that belongs to the `amount` value. It is the currency of the invoice.

### invoice\_step\_performed

The `invoice_step_performed` event can have different "name" values:

* reminder\_1
* reminder\_2
* reminder\_3
* reminder\_4
* storno\_reminder
* final\_reminder
* invoice\_pause
* pre\_reminder
* start\_debt\_collection
* credit\_note\_send
* invoice\_send
* zero\_amount\_invoice\_send
* direct\_debit\_invoice\_send
* debtor\_call
* forward\_to\_external\_party

## Examples

## invoice\_created

```json theme={null}
{
  "event": {
    "event_name": "invoice_created",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## invoice\_paid

```json theme={null}
{
  "event": {
    "event_name": "invoice_paid",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [
        {
          "id": 1,
          "created_at": "2018-06-05T09:48:54.314159Z",
          "paid_at": "2018-06-05T09:48:54.314159Z",
          "remote_payment_identifier": "rpi_wlkj234452jkwlasdo3534adf",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## invoice\_paused

See [`invoice_created`](#invoice_created)

## invoice\_blocked

See [`invoice_created`](#invoice_created)

## invoice\_resumed

See [`invoice_created`](#invoice_created)

## invoice\_payment\_created

```json theme={null}
{
  "event": {
    "event_name": "invoice_payment_created",
    "context": {
      "id": 3592191,
      "amount": "2.0",
      "book_amount": "2.0",
      "cost_type": "administration_costs",
      "currency_code": "EUR",
      "description": null,
      "payment_date": "2018-04-15",
      "payment_method": "bank_transfer",
      "reason": null,
      "reversal_code": null,
      "transaction_type": null,
      "invoice": {
        "id": 1,
        "invoice_number": "2011-1",
        "invoice_date": "2018-03-30",
        "amount_total": "1337",
        "amount_open": "0",
        "book_amount_total": "1337",
        "book_amount_open": "0",
        "total_administration_costs": "10.0",
        "open_administration_costs": "8.0",
        "debt_collection_costs_open": "0.00",
        "debt_collection_costs_total": "0.00",
        "interest_costs_open": "0.00",
        "interest_costs_total": "0.00",
        "category": "Invoice category",
        "currency_code": "EUR",
        "book_currency_code": "EUR",
        "due_date": "2018-04-29",
        "payment_condition": "14",
        "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
        "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
        "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
        "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
        "order_number": "1244354",
        "purchase_order_number": "92383487529",
        "debtor": {
          "id": 1,
          "category": "Debtor category",
          "company_name": "Bosch-Brink",
          "name": "Bosch-Brink",
          "debtor_code": "1",
          "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
          "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
        },
        "administration": {
          "id": 1,
          "name": "Administratie 1",
          "origin_id": "Voorbeeldig"
        },
        "labels": [
          {
            "name": "Risico"
          }
        ]
      },
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transaction": {
        "id": 2,
        "paid_at": "2023-09-25T13:59:49.916Z",
        "created_at": "2023-09-25T13:59:49.917Z",
        "remote_payment_identifier": "id_1",
        "bank_account_name": "Bosch-Brink",
        "bank_account_number": "NL19ABNM0123456789",
        "payment_method": "ideal",
        "amount": "2.0",
        "refunded_amount": "0.00",
        "currency_code": "EUR",
        "reversal_code": null
      },
      "resource_type": "payment"
    },
    "event_time": "2022-06-27T06:19:07.642246Z"
  }
}
```

## invoice\_closed

```json theme={null}
{
  "event": {
    "event_name": "invoice_closed",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## invoice\_reopened

```json theme={null}
{
  "event": {
    "event_name": "invoice_reopened",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "500",
      "book_amount_total": "1337",
      "book_amount_open": "500",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## invoice\_call\_reminder\_performed

```json theme={null}
{
  "event": {
    "event_name": "invoice_call_reminder_performed",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## payment\_plan\_created

The requests for `payment_plan_updated`, `payment_plan_finished` and `payment_plan_deactivated` are similar, the only difference is the event\_name.

### invoice

```json theme={null}
{
  "event": {
    "event_name": "payment_plan_created",
    "context": {
      "id": 1,
      "auto_activated": false,
      "resource_type": "payment_plan",
      "created_at": "2018-06-05T09:56:06Z",
      "link": "https://app.paytsoftware.com/administrations/1/debtors/1/paymentplans/1",
      "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a/p/dp5h1i5cuu94nopiolkdst3u17vkmzo",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "invoice_date": "2011-12-17",
          "due_date": "2012-01-16",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        }
      ],
      "credit_cases": [
        {
          "id": 3,
          "case_number": "972 507 233",
          "credit_case_number": "972 507 233",
          "link": "https://app.paytsoftware.com/administrations/1/credit_cases/1",
          "public_link": "https://backend.paytsoftware.com/inzien/zaken/247b9bb643378be8a9f8bea722fa3c442eef64a6"
        }
      ],
      "debtor": {
        "id": 2,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      }
    },
    "event_time": "2018-06-05T09:56:37.314159Z"
  }
}
```

### debt collection case (`resource_type`: `credit_case`)

```json theme={null}
{
  "event": {
    "event_name": "payment_plan_created",
    "context": {
      "id": 1,
      "created_at": "2018-06-05T09:56:06Z",
      "link": "https://app.paytsoftware.com/administrations/1/debtors/1/paymentplans/1",
      "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a/p/dp5h1i5cuu94nopiolkdst3u17vkmzo",
      "resource_type": "payment_plan",
      "auto_activated": false,
      "administration": {
        "company_code": "ADM_1",
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "credit_cases": [
        {
          "id": 3,
          "credit_case_number": "972 507 233",
          "case_number": "972 507 233",
          "link": "https://app.paytsoftware.com/administrations/1/credit_cases/1",
          "public_link": "https://backend.paytsoftware.com/inzien/zaken/247b9bb643378be8a9f8bea722fa3c442eef64a6",
          "internal_note_email_address": "internal+df797e50-95f6-4387-9dff-ec6cde0c9aa4@replytest.paytsoftware.com",
          "invoices": [
            {
              "id": 90,
              "invoice_number": "2011-27-f553g",
              "category": null,
              "payment_condition": null
            }
          ]
        }
      ],
      "debtor": {
        "id": 2,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14",
          "amount_open": "1000",
          "amount_total": "1337",
          "book_amount_open": "1000",
          "book_amount_total": "1337",
          "book_currency_code": "EUR",
          "collection_costs": "127.02",
          "currency_code": "EUR",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "due_date": "2012-01-16",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "interest": "7.06",
          "invoice_date": "2011-12-17",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "open_administration_costs": "8.0",
          "order_number": "1244354",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "purchase_order_number": "92383487529",
          "total_administration_costs": "10.0",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download"
        }
      ]
    },
    "event_time": "2018-06-05T09:56:37.314159Z"
  }
}
```

## payment\_plan\_term\_expired

```json theme={null}
{
  "event": {
    "event_name": "payment_plan_term_expired",
    "context": {
      "id": 1,
      "resource_type": "payment_plan_term",
      "created_at": "2018-06-05T09:56:06Z",
      "payment_date": "2011-12-17",
      "due_date": "2012-01-16",
      "amount": "1337",
      "amount_due": "1000",
      "debtor": {
        "id": 2,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "credit_cases": [
        {
          "id": 3,
          "credit_case_number": "972 507 233"
        }
      ],
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "payment_plan": {
        "id": 1,
        "created_at": "2018-06-05T09:56:06Z",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1/paymentplans/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a/p/dp5h1i5cuu94nopiolkdst3u17vkmzo",
        "invoices": [
          {
            "id": 2,
            "invoice_number": "1",
            "category": "Invoice category",
            "payment_condition": "14"
          }
        ],
        "credit_cases": [
          {
            "id": 3,
            "credit_case_number": "972 507 233"
          }
        ],
        "debtor": {
          "id": 2,
          "category": "Debtor category",
          "company_name": "Bosch-Brink",
          "name": "Bosch-Brink",
          "debtor_code": "1",
          "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
          "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
        },
        "administration": {
          "id": 1,
          "name": "Administratie 1",
          "origin_id": "Voorbeeldig"
        }
      },
      "psp_transactions": [
        {
          "id": 1,
          "created_at": "2018-06-05T09:48:54.314159Z",
          "paid_at": "2018-06-05T09:48:54.314159Z",
          "remote_payment_identifier": "rpi_wlkj234452jkwlasdo3534adf",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ]
    },
    "event_time": "2018-06-05T09:56:37.314159Z"
  }
}
```

## invoice\_new\_comment

```json theme={null}
{
  "event": {
    "event_name": "invoice_new_comment",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "due_date": "2018-04-29",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:00:11.314159Z"
  }
}
```

## case\_new\_comment

```json theme={null}
{
  "event": {
    "event_name": "case_new_comment",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "case_number": "123 456 789",
      "credit_case_number": "123 456 789",
      "interest": "1.23",
      "internal_note_email_address": "internal-notes+123456@payt.nl",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/2",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "amount": "376.18",
          "bank_account_number": "NL19ABNM0123456789",
          "bank_account_name": "Bosch-Brink",
          "book_amount": "376.18",
          "currency_code": "EUR",
          "payment_method": "ideal",
          "refunded_amount": "0.00",
          "reversal_code": null
        }
      ],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:02:48.314159Z"
  }
}
```

## debtor\_new\_comment

```json theme={null}
{
  "event": {
    "event_name": "debtor_new_comment",
    "context": {
      "resource_type": "debtor",
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "credit_limit_amount": 1100.0,
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact",
        "invoice_custom_email_address": "new_email@address.com",
        "custom_email_address": "new_email@address.com"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "psp_mandate": null,
      "revoked_psp_mandates": []
    },
    "event_time": "2019-04-12T11:47:12.314159Z"
  }
}
```

## psp\_transaction\_successful

### invoice

```json theme={null}
{
  "event": {
    "event_name": "psp_transaction_successful",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "due_date": "2018-04-29",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "refunded_amount": "0.00",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

### debt collection case (`resource_type`: `credit_case`)

```json theme={null}
{
  "event": {
    "event_name": "psp_transaction_successful",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "1.23",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "376.18",
          "refunded_amount": "0.00",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

### payment plan

```json theme={null}
{
  "event": {
    "event_name": "psp_transaction_successful",
    "context": {
      "id": 1,
      "resource_type": "payment_plan_term",
      "created_at": "2018-06-05T09:56:06Z",
      "payment_date": "2011-12-17",
      "due_date": "2012-01-16",
      "amount": "1337",
      "amount_due": "1000",
      "debtor": {
        "id": 2,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "credit_cases": [
        {
          "id": 3,
          "credit_case_number": "972 507 233"
        }
      ],
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "payment_plan": {
        "id": 1,
        "created_at": "2018-06-05T09:56:06Z",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1/paymentplans/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a/p/dp5h1i5cuu94nopiolkdst3u17vkmzo",
        "invoices": [
          {
            "id": 2,
            "invoice_number": "1",
            "category": "Invoice category",
            "payment_condition": "14"
          }
        ],
        "credit_cases": [
          {
            "id": 3,
            "credit_case_number": "972 507 233"
          }
        ],
        "debtor": {
          "id": 2,
          "company_name": "Bosch-Brink",
          "name": "Bosch-Brink",
          "debtor_code": "1",
          "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
          "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
        },
        "administration": {
          "id": 1,
          "name": "Administratie 1",
          "origin_id": "Voorbeeldig"
        }
      },
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "refunded_amount": "0.00",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

## psp\_transaction\_charged\_back

### invoice

```json theme={null}
{
  "event": {
    "event_name": "psp_transaction_charged_back",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "due_date": "2018-04-29",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "psp_transactions": [],
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

## psp\_transaction\_refunded

### invoice

```json theme={null}
{
  "event": {
    "event_name": "psp_transaction_refunded",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "due_date": "2018-04-29",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "psp_transactions": [],
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

## todo\_list\_item\_created

```json theme={null}
{
  "event": {
    "event_name": "todo_list_item_created",
    "context": {
      "id": 1,
      "link": "https://app.paytsoftware.com/companies/1/tasks/1",
      "resource_type": "todo_list_item",
      "assigned_to": {
        "id": 1,
        "email": "example@paytsoftware.com",
        "username": "john_doe",
        "resource_type": "user"
      },
      "completed_at": null
    },
    "event_time": "2026-01-08T09:39:22.727097Z"
  }
}
```

## todo\_list\_item\_updated

See [`todo_list_item_created`](#todo_list_item_created)

## todo\_list\_item\_deleted

See [`todo_list_item_created`](#todo_list_item_created)

## invoice\_step\_performed

```json theme={null}
{
  "event": {
    "event_name": "invoice_step_performed",
    "context": {
      "resource_type": "invoice_step",
      "id": 1,
      "name": "invoice_send",
      "performed_at": "2018-06-19T16:05:42Z",
      "invoice": {
        "id": 1,
        "invoice_number": "18603008",
        "invoice_date": "2018-06-19",
        "due_date": "2018-07-03",
        "amount_total": "1337",
        "amount_open": "1000",
        "book_amount_total": "1337",
        "book_amount_open": "1000",
        "total_administration_costs": "10.0",
        "open_administration_costs": "8.0",
        "debt_collection_costs_open": "0.00",
        "debt_collection_costs_total": "0.00",
        "interest_costs_open": "0.00",
        "interest_costs_total": "0.00",
        "category": "Invoice category",
        "currency_code": "EUR",
        "book_currency_code": "EUR",
        "payment_condition": "14",
        "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
        "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
        "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
        "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
        "order_number": "1244354",
        "purchase_order_number": "92383487529"
      },
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      }
    },
    "event_time": "2018-06-20T08:18:00.314159Z"
  }
}
```

## invoice\_to\_debt\_collection

```json theme={null}
{
  "event": {
    "event_name": "invoice_to_debt_collection",
    "context": {
      "id": 6842883,
      "resource_type": "invoice",
      "invoice_number": "12456",
      "invoice_date": "2018-06-20",
      "due_date": "2018-07-05",
      "amount_total": "1337",
      "amount_open": "1000",
      "book_amount_total": "1337",
      "book_amount_open": "1000",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "payment_condition": "14",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1311412,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-20T08:21:56.314159Z"
  }
}
```

## bundled\_reminder\_sent

```json theme={null}
{
  "event": {
    "event_name": "bundled_reminder_sent",
    "context": {
      "id": 1,
      "resource_type": "bundled_reminder",
      "sent_at": "2018-07-05T09:49:37Z",
      "type": "basic",
      "sent_as_format": "email",
      "sent_to_email_address": "noa.jacobs@example.com",
      "sent_to_letter_address": null,
      "invoices": [
        {
          "id": 7,
          "invoice_number": "2011-7",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/7",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        },
        {
          "id": 8,
          "invoice_number": "2011-8",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/8",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        }
      ],
      "debtor": {
        "id": 8,
        "category": "Debtor category",
        "company_name": "Boer, Vermeulen and Haan",
        "name": "Boer, Vermeulen and Haan",
        "debtor_code": "8",
        "link": "https://app.paytsoftware.com/administrations/8/debtors/8",
        "public_link": "https://factuurinzien.nl/d/cb0fa86b5bcf803d554b872a3d60072eb9d1cc04"
      },
      "administration": {
        "id": 8,
        "name": "Administratie 8",
        "origin_id": "ADM_7"
      }
    },
    "event_time": "2018-07-05T09:49:37.314159Z"
  }
}
```

## bundled\_reminder\_invoice\_performed

```json theme={null}
{
  "event": {
    "event_name": "bundled_reminder_invoice_performed",
    "context": {
      "resource_type": "bundled_reminder_invoice",
      "id": 1,
      "name": "reminder_2",
      "performed_at": "2018-06-19T16:05:42Z",
      "invoice": {
        "id": 1,
        "invoice_number": "18603008",
        "invoice_date": "2018-06-19",
        "due_date": "2018-07-03",
        "amount_total": "1337",
        "amount_open": "1000",
        "book_amount_total": "1337",
        "book_amount_open": "1000",
        "total_administration_costs": "10.0",
        "open_administration_costs": "8.0",
        "debt_collection_costs_open": "0.00",
        "debt_collection_costs_total": "0.00",
        "interest_costs_open": "0.00",
        "interest_costs_total": "0.00",
        "category": "Invoice category",
        "currency_code": "EUR",
        "book_currency_code": "EUR",
        "payment_condition": "14",
        "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
        "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
        "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
        "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
        "order_number": "1244354",
        "purchase_order_number": "92383487529"
      },
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      }
    },
    "event_time": "2018-06-20T08:18:00.314159Z"
  }
}
```

## case\_created

```json theme={null}
{
  "event": {
    "event_name": "case_created",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "12.34",
      "collection_costs": "40.0",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        },
        {
          "id": 3,
          "invoice_number": "2011-2",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "0.00",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## case\_step\_performed

```json theme={null}
{
  "event": {
    "event_name": "case_step_performed",
    "context": {
      "resource_type": "case_step",
      "name": "summons",
      "performed_at": "2019-04-12T10:31:01Z",
      "credit_case": {
        "id": "1234",
        "case_number": "123 456 789",
        "credit_case_number": "123 456 789",
        "link": "https://app.paytsoftware.com/administrations/123/creditcases/123",
        "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/123",
        "invoices": [
          {
            "id": 2,
            "invoice_number": "1",
            "category": "Invoice category",
            "payment_condition": "14"
          }
        ]
      },
      "debtor": {
        "id": 1872168,
        "category": "Debtor category",
        "company_name": "Voorbeeldig B.V.",
        "name": "J. Jansen",
        "debtor_code": "12345",
        "link": "https://app.paytsoftware.com/administrations/1234/debtors/1234",
        "public_link": "https://factuurinzien.nl/d/1234"
      },
      "administration": {
        "id": 1234,
        "name": "Administratie 8",
        "origin_id": "ADM_8"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## case\_to\_bailiff

```json theme={null}
{
  "event": {
    "event_name": "case_to_bailiff",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "1.23",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30T11:45:38.314159Z",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## case\_paid

```json theme={null}
{
  "event": {
    "event_name": "case_paid",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "12.34",
      "collection_costs": "40.0",
      "open_interest_and_collection_costs": "0.00",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "0",
          "book_amount_total": "1337",
          "book_amount_open": "0",
          "total_administration_costs": "10.0",
          "open_administration_costs": "0.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        },
        {
          "id": 3,
          "invoice_number": "2011-2",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "0",
          "book_amount_total": "1337",
          "book_amount_open": "0",
          "total_administration_costs": "10.0",
          "open_administration_costs": "0.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "0.00",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [
        {
          "id": 1,
          "created_at": "2018-06-05T09:48:54.314159Z",
          "paid_at": "2018-06-05T09:48:54.314159Z",
          "remote_payment_identifier": "rpi_wlkj234452jkwlasdo3534adf",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## case\_invoice\_amount\_paid

```json theme={null}
{
  "event": {
    "event_name": "case_invoice_amount_paid",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "12.34",
      "collection_costs": "40.0",
      "open_interest_and_collection_costs": "0.00",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "0",
          "book_amount_total": "1337",
          "book_amount_open": "0",
          "total_administration_costs": "10.0",
          "open_administration_costs": "0.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        },
        {
          "id": 3,
          "invoice_number": "2011-2",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "0",
          "book_amount_total": "1337",
          "book_amount_open": "0",
          "total_administration_costs": "10.0",
          "open_administration_costs": "0.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "0.00",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [
        {
          "id": 1,
          "created_at": "2018-06-05T09:48:54.314159Z",
          "paid_at": "2018-06-05T09:48:54.314159Z",
          "remote_payment_identifier": "rpi_wlkj234452jkwlasdo3534adf",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "337.0",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## case\_reopened

```json theme={null}
{
  "event": {
    "event_name": "case_reopened",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "12.34",
      "collection_costs": "40.0",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        },
        {
          "id": 3,
          "invoice_number": "2011-2",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "0.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## credit\_limit\_exceeded

```json theme={null}
{
  "event": {
    "event_name": "credit_limit_exceeded",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## label\_added

### invoice

```json theme={null}
{
  "event": {
    "event_name": "label_added",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": [
        {
          "name": "Risico"
        },
        {
          "name": "Failliet"
        }
      ]
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

### debtor

```json theme={null}
{
  "event": {
    "event_name": "label_added",
    "context": {
      "id": 1,
      "resource_type": "debtor",
      "debtor_code": "1",
      "credit_limit_amount": null,
      "autogenerated_credit_limit_amount": null,
      "book_open_amount": 6812.61,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "labels": [
        {
          "name": "Label 3"
        }
      ],
      "link": "http://localhost:5000/administrations/1/debtors/1",
      "name": "Some name",
      "public_link": "http://localhost:5001/d/2eg16i6qg179nvhqqesr8xf009ah3dp",
      "invoices": [
        {
          "id": 1,
          "invoice_number": "2011-1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2022-04-12T12:27:34.019458Z"
  }
}
```

### debt collection case (`resource_type`: `credit_case`)

```json theme={null}
{
  "event": {
    "event_name": "label_added",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "298 836 412",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "interest": "1.23",
      "labels": [
        {
          "name": "Label 3"
        }
      ],
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "started_at": "2022-04-12 12:38:50 UTC",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 3,
        "category": "Debtor category",
        "company_name": "Croissantgigant",
        "name": "Croissantgigant",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 7,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": []
    },
    "event_time": "2022-04-12T12:38:53.755637Z"
  }
}
```

## label\_removed

### invoice

```json theme={null}
{
  "event": {
    "event_name": "label_removed",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": []
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

### debtor

```json theme={null}
{
  "event": {
    "event_name": "label_removed",
    "context": {
      "id": 1,
      "resource_type": "debtor",
      "debtor_code": "1",
      "credit_limit_amount": null,
      "autogenerated_credit_limit_amount": null,
      "book_open_amount": 4527.29,
      "category": "Debtor category",
      "company_name": "Croissantgigant",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "labels": [
        {
          "name": "Label 3"
        }
      ],
      "link": "http://localhost:5000/administrations/4/debtors/2",
      "name": "Croissantgigant",
      "public_link": "http://localhost:5001/d/mqaq3kc1xnepllgbyicn2fh6uheqa81",
      "invoices": [
        {
          "id": 1,
          "invoice_number": "2011-1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2022-04-12T12:35:54.446625Z"
  }
}
```

### debt collection case (`resource_type`: `credit_case`)

```json theme={null}
{
  "event": {
    "event_name": "label_removed",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "226 700 932",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "interest": "1.23",
      "labels": [
        {
          "name": "Label 3"
        }
      ],
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "started_at": "2022-04-12 12:40:34 UTC",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 4,
        "category": "Debtor category",
        "company_name": "Croissantgigant",
        "name": "Croissantgigant",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 10,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": []
    },
    "event_time": "2022-04-12T12:43:24.027839Z"
  }
}
```

## debtor\_email\_address\_provided

```json theme={null}
{
  "event": {
    "event_name": "debtor_email_address_provided",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact",
        "invoice_custom_email_address": "new_email@address.com",
        "custom_email_address": "new_email@address.com"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## debtor\_email\_address\_removed

```json theme={null}
{
  "event": {
    "event_name": "debtor_email_address_removed",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact",
        "invoice_custom_email_address": null,
        "custom_email_address": null
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## creditworthiness\_changed

```json theme={null}
{
  "event": {
    "event_name": "creditworthiness_changed",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [],
      "creditworthiness_profile": {
        "bankruptcy": true,
        "credit_information_uncertain": false,
        "credit_limit_amount": 110000,
        "credit_limit_currency_code": "EUR",
        "creditworthiness_critical": true,
        "creditworthiness_ok": false,
        "creditworthiness_uncertain": false,
        "debt_restructuring": false,
        "suggested_coc_number": null,
        "suspension_of_payments": false
      },
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## psp\_mandate\_created

```json theme={null}
{
  "event": {
    "event_name": "psp_mandate_created",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": {
        "bank_account_name": "Bosch-Brink",
        "bank_account_number": "NL19ABNM0123456789",
        "limit_amount": 300.0,
        "mandate_identifier": "CORE123",
        "customer_identifier": null,
        "provider": "twikey",
        "status": "signed"
      },
      "revoked_psp_mandates": [],
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## psp\_mandate\_revoked

```json theme={null}
{
  "event": {
    "event_name": "psp_mandate_revoked",
    "context": {
      "resource_type": "debtor",
      "credit_limit_amount": 1100.0,
      "autogenerated_credit_limit_amount": 1200.0,
      "book_open_amount": 1798.0,
      "category": "Debtor category",
      "company_name": "Some company name",
      "psp_mandate": null,
      "revoked_psp_mandates": [
        {
          "mandate_identifier": "CORE123",
          "customer_identifier": null,
          "provider": "twikey",
          "status": "revoked"
        }
      ],
      "debtor_code": "2",
      "id": 730816,
      "link": "http://example.com/administrations/878/debtors/730816",
      "name": "Some name",
      "public_link": "http://example.com/d/88dc5akhqjh3dnbij3xjkjlsuusgixx",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "1",
          "category": "Invoice category",
          "payment_condition": "14"
        }
      ],
      "administration": {
        "company_code": null,
        "id": 878,
        "name": "Test administratie",
        "origin_id": "701174"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ],
      "contact": {
        "id": "2",
        "contact_identifier": "123456",
        "name": "Some name",
        "resource_type": "contact"
      }
    },
    "event_time": "2019-04-12T11:45:38.314159Z"
  }
}
```

## invoice\_sms\_failed

```json theme={null}
{
  "event": {
    "event_name": "invoice_sms_failed",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": []
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## invoice\_ubl\_failed

```json theme={null}
{
  "event": {
    "event_name": "invoice_ubl_failed",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": []
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## incoming\_ubl\_received

```json theme={null}
{
  "event": {
    "event_name": "incoming_ubl_received",
    "context": {
      "id": "019aa1be-0be9-7fa6-a755-700e0ac77416",
      "document_id": "DOC-e9b03870af825d19",
      "party_identifier": "NL:KVK:12345678",
      "topic": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2",
      "url": "https://backend.paytsoftware.com/file_storage/disk/SI-UBL-INV-1.2-ok-full.xml",
      "details": {
        "topic": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2",
        "partyId": "NL:KVK:12345678",
        "hookId": "2",
        "documentId": "DOC-e9b03870af825d19",
        "createdOn": "2025-10-27T15:05:37.498735+00:00",
        "sentOn": "2025-10-27T15:05:37.7074839+00:00",
        "message": "'Invoice' received.",
        "details": {
          "userName": "Payt",
          "createdBy": "Ping",
          "sender": "NL:KVK:PAYTTEST2",
          "senderName": "Paytsoftware",
          "senderLegalId": "NL:KVK:PAYTTEST2",
          "senderEmailAddress": "servicedesk@paytsoftware.com",
          "receiverName": "Customer BV",
          "receiverLegalId": "NL:KVK:PAYTTEST2",
          "issueDate": "2025-10-27 00:00:00Z",
          "id": "DOC-e9b03870af825d19",
          "documentTypeId": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1",
          "profileId": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0",
          "receiver": "NL:KVK:PAYTTEST2",
          "messageId": null,
          "refToMessageId": null
        }
      },
      "created_at": "2025-11-20T14:49:38.024919Z",
      "administration": {
        "company_code": "ADM_1",
        "id": 145,
        "name": "Administratie 4",
        "origin_id": "WEBHOOKS1"
      }
    },
    "event_time": "2025-11-20T14:49:39.112140Z"
  }
}
```

## invoice\_letter\_returned

```json theme={null}
{
  "event": {
    "event_name": "invoice_letter_returned",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": []
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## email\_bounced

The `administration` and `debtor` objects are always present. Of the `invoice`, `credit_case`, `bundled_reminder`, and `message` objects exactly 1 will be present.

```json theme={null}
{
  "event": {
    "event_name": "email_bounced",
    "context": {
      "id": "82917048",
      "resource_type": "email",
      "bcc_email_addresses": null,
      "cc_email_addresses": "cc@example.com",
      "content_category": "final_reminder",
      "email_addresses": "payables@debtor.com,other@example.com",
      "headers": {},
      "subject": "Final reminder for invoice 123",
      "bounces": [
        {
          "email_address": "other@example.com",
          "reason": "unknown",
          "soft_bounce": false,
          "response": null,
          "bounced_at": "2025-12-01T09:48:55.314159Z"
        }
      ],
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig",
        "company_code": "asdf"
      },
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "invoice": {
        "id": 1,
        "category": "sales",
        "invoice_number": "1",
        "payment_condition": null
      },
      "credit_case": {},
      "bundled_reminder": {},
      "message": {}
    },
    "event_time": "2025-12-01T09:48:55.334567Z"
  }
}
```

## invoice\_email\_bounced

```json theme={null}
{
  "event": {
    "event_name": "invoice_email_bounced",
    "context": {
      "id": 1,
      "resource_type": "invoice",
      "invoice_number": "2011-1",
      "invoice_date": "2018-03-30",
      "amount_total": "1337",
      "amount_open": "0",
      "book_amount_total": "1337",
      "book_amount_open": "0",
      "total_administration_costs": "10.0",
      "open_administration_costs": "8.0",
      "debt_collection_costs_open": "0.00",
      "debt_collection_costs_total": "0.00",
      "interest_costs_open": "0.00",
      "interest_costs_total": "0.00",
      "category": "Invoice category",
      "currency_code": "EUR",
      "book_currency_code": "EUR",
      "due_date": "2018-04-29",
      "payment_condition": "14",
      "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/download",
      "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
      "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
      "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "order_number": "1244354",
      "purchase_order_number": "92383487529",
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "psp_transactions": [],
      "labels": []
    },
    "event_time": "2018-06-05T09:48:55.314159Z"
  }
}
```

## bundled\_reminder\_email\_bounced

```json theme={null}
{
  "event": {
    "event_name": "bundled_reminder_email_bounced",
    "context": {
      "id": 1,
      "resource_type": "bundled_reminder",
      "sent_at": "2018-07-05T09:49:37Z",
      "type": "basic",
      "sent_as_format": "email",
      "sent_to_email_address": "noa.jacobs@example.com",
      "sent_to_letter_address": null,
      "invoices": [
        {
          "id": 7,
          "invoice_number": "2011-7",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/7",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        },
        {
          "id": 8,
          "invoice_number": "2011-8",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/8",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        }
      ],
      "debtor": {
        "id": 8,
        "category": "Debtor category",
        "company_name": "Boer, Vermeulen and Haan",
        "name": "Boer, Vermeulen and Haan",
        "debtor_code": "8",
        "link": "https://app.paytsoftware.com/administrations/8/debtors/8",
        "public_link": "https://factuurinzien.nl/d/cb0fa86b5bcf803d554b872a3d60072eb9d1cc04"
      },
      "administration": {
        "id": 8,
        "name": "Administratie 8",
        "origin_id": "ADM_7"
      }
    },
    "event_time": "2018-07-05T09:49:37.314159Z"
  }
}
```

## bundled\_reminder\_letter\_returned

```json theme={null}
{
  "event": {
    "event_name": "bundled_reminder_letter_returned",
    "context": {
      "id": 1,
      "resource_type": "bundled_reminder",
      "sent_at": "2018-07-05T09:49:37Z",
      "type": "basic",
      "sent_as_format": "letter",
      "sent_to_email_address": null,
      "sent_to_letter_address": "Waagstraat 4, 9712 JX Groningen",
      "invoices": [
        {
          "id": 7,
          "invoice_number": "2011-7",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/7",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        },
        {
          "id": 8,
          "invoice_number": "2011-8",
          "invoice_date": "2018-05-06",
          "due_date": "2018-06-05",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "debt_collection_costs_open": "0.00",
          "debt_collection_costs_total": "0.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "0.00",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/dd6d7994/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/8/invoices/8",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/1337432b7847d1eaeee4bd02158144bcaf5fd58f233",
          "order_number": "1244354",
          "purchase_order_number": "92383487529"
        }
      ],
      "debtor": {
        "id": 8,
        "category": "Debtor category",
        "company_name": "Boer, Vermeulen and Haan",
        "name": "Boer, Vermeulen and Haan",
        "debtor_code": "8",
        "link": "https://app.paytsoftware.com/administrations/8/debtors/8",
        "public_link": "https://factuurinzien.nl/d/cb0fa86b5bcf803d554b872a3d60072eb9d1cc04"
      },
      "administration": {
        "id": 8,
        "name": "Administratie 8",
        "origin_id": "ADM_7"
      }
    },
    "event_time": "2018-07-05T09:49:37.314159Z"
  }
}
```

## case\_email\_bounced

```json theme={null}
{
  "event": {
    "event_name": "case_email_bounced",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "1.23",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "376.18",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```

## case\_letter\_returned

```json theme={null}
{
  "event": {
    "event_name": "case_letter_returned",
    "context": {
      "id": 1,
      "resource_type": "credit_case",
      "credit_case_number": "123 456 789",
      "interest": "1.23",
      "collection_costs": "40.00",
      "open_interest_and_collection_costs": "2.05",
      "currency_code": "EUR",
      "started_at": "2018-03-30",
      "link": "https://app.paytsoftware.com/administrations/1/creditcases/1",
      "psp_transactions": [
        {
          "id": 2,
          "paid_at": "2023-09-25T13:59:49.916Z",
          "created_at": "2023-09-25T13:59:49.917Z",
          "remote_payment_identifier": "id_1",
          "bank_account_name": "Bosch-Brink",
          "bank_account_number": "NL19ABNM0123456789",
          "payment_method": "ideal",
          "amount": "376.18",
          "currency_code": "EUR",
          "reversal_code": null
        }
      ],
      "public_link": "https://factuurinzien.nl/d/8f839738eeec7cbbdcb8a0d55b7132714dcef12b/c/ddb245d6df67999eca48c4a71b5661b93038e20a",
      "invoices": [
        {
          "id": 2,
          "invoice_number": "2011-1",
          "invoice_date": "2018-03-30",
          "due_date": "2018-04-29",
          "amount_total": "1337",
          "amount_open": "1000",
          "book_amount_total": "1337",
          "book_amount_open": "1000",
          "total_administration_costs": "10.0",
          "open_administration_costs": "8.0",
          "category": "Invoice category",
          "currency_code": "EUR",
          "book_currency_code": "EUR",
          "payment_condition": "14",
          "document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6d7999eca4/download",
          "ubl_document_url": "https://backend.paytsoftware.com/inzien/facturen/ddb245d6df67999eca4/ubl_download",
          "link": "https://app.paytsoftware.com/administrations/1/invoices/1",
          "public_link": "https://factuurinzien.nl/d/b0aac3f42f325f5dd6abc172f723caab5956524d/i/ddb245d6df67999eca48c4a71b5661b93038e20a",
          "order_number": "1244354",
          "purchase_order_number": "92383487529",
          "interest": "1.23",
          "collection_costs": "40.00",
          "debt_collection_costs_open": "10.00",
          "debt_collection_costs_total": "40.00",
          "interest_costs_open": "0.00",
          "interest_costs_total": "1.23"
        }
      ],
      "debtor": {
        "id": 1,
        "category": "Debtor category",
        "company_name": "Bosch-Brink",
        "name": "Bosch-Brink",
        "debtor_code": "1",
        "link": "https://app.paytsoftware.com/administrations/1/debtors/1",
        "public_link": "https://factuurinzien.nl/d/ddb245d6df67999eca48c4a71b5661b93038e20a"
      },
      "administration": {
        "id": 1,
        "name": "Administratie 1",
        "origin_id": "Voorbeeldig"
      },
      "labels": [
        {
          "name": "Risico"
        }
      ]
    },
    "event_time": "2018-06-05T10:08:20.314159Z"
  }
}
```
