---
title: "Changes to Cancel Payment"
method: PUT
path: "/receipts/{receipt-id}/change-state.json"
---

# Changes to Cancel Payment

`PUT /receipts/{receipt-id}/change-state.json`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-08-25** `5b82d4eb0d9f` — 10 breaking, 1 warning, 5 info

## Changes

- **2026-08-25** `5b82d4eb0d9f` — 10 breaking, 1 warning, 5 info
  - the response property `receipt/discount` became nullable for the status `200`
  - the response property `receipt/items/items/description` became nullable for the status `200`
  - the response property `receipt/observations` became nullable for the status `200`
  - the response property `receipt/reference` became nullable for the status `200`
  - the response property `receipt/retention` became nullable for the status `200`
  - the response property `receipt/sequence_id` became nullable for the status `200`
  - the `errors` response's property type changed from `object` to `array` for status `401`
  - the `receipt/items/items/quantity` response's property type changed from `number` to `string` for status `200`
  - the `receipt/items/items/unit_price` response's property type changed from `number` to `string` for status `200`
  - the `receipt/sequence_id` response's property type changed from `string` to `integer, null` for status `200`
  - removed the optional property `errors/error` from the response with the `401` status
  - added the optional property `receipt/cancel_reason` to the response with the `200` status
  - added the optional property `receipt/items/items/discount_amount` to the response with the `200` status
  - added the optional property `receipt/items/items/subtotal` to the response with the `200` status
  - added the optional property `receipt/items/items/tax/id` to the response with the `200` status
  - added the optional property `receipt/items/items/tax_amount` to the response with the `200` status

---

[Operation](https://skmtc.dev/invoicexpress/apis/invoicexpress-api/docs/receipts/:receipt-id/change-state.json/put.md) · [API](https://skmtc.dev/invoicexpress/apis/invoicexpress-api.md) · [Page](https://skmtc.dev/invoicexpress/apis/invoicexpress-api/changes/receipts/:receipt-id/change-state.json/put)
