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

# PaymentChange

> An entry of the payment change history: a payment was recorded or changed, or it was deleted.



**Kind**: `object`

## Fields

**`paymentId`**: `ID!`

The ID of the payment.

---

**`salesOrderId`**: `ID`

The sales order of the payment as of this entry.

---

**`salesInvoiceId`**: `ID`

The sales invoice of the payment as of this entry.

---

**`salesInvoiceCorrectionId`**: `ID`

The sales invoice correction of the payment as of this entry.

---

**`salesCreditNoteId`**: `ID`

The sales credit note of the payment as of this entry.

---

**`payment`**: `Payment`

The current state of the payment, read at query time. Empty when the payment no longer exists.

---

**`isDeleted`**: `Boolean!`

True when the payment was deleted. A later entry for the same ID wins.

---

**`changedAt`**: `DateTime!`

When the entry became readable in the change history (UTC).

