---
title: "Changes to Crear nota de crédito"
method: POST
path: "/billing-documents/credit-note"
---

# Changes to Crear nota de crédito

`POST /billing-documents/credit-note`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `a6ef070075b1`: 8 breaking, 14 warning, 31 info

## Changes

- **2026-11-03** `a6ef070075b1`: 8 breaking, 14 warning, 31 info
  - request body became required
  - the `items` request property's minItems was increased to `1`
  - the `items` request property type changed from `object` to `array`
  - the `discount` response's property type changed from `integer` to `number` for status `201`
  - the `status` response's property type changed from `string` to no type for status `201`
  - the `sub_total` response's property type changed from `integer` to `number` for status `201`
  - the `total` response's property type changed from `integer` to `number` for status `201`
  - the `type` response's property type changed from `string` to no type for status `201`
  - removed the request property `items/product_code`
  - removed the request property `items/product_description`
  - removed the request property `items/quantity`
  - removed the request property `items/tax_object`
  - removed the request property `items/taxes`
  - removed the request property `items/unit_code`
  - removed the request property `items/unit_price`
  - added the new `CANCELLED` enum value to the `status` response property for the response status `201`
  - added the new `COMPLEMENT` enum value to the `type` response property for the response status `201`
  - added the new `CREDIT_NOTE` enum value to the `type` response property for the response status `201`
  - added the new `FAILED` enum value to the `status` response property for the response status `201`
  - added the new `INVOICE` enum value to the `type` response property for the response status `201`
  - added the new `ISSUED` enum value to the `status` response property for the response status `201`
  - added the new `PENDING_CANCELLATION` enum value to the `status` response property for the response status `201`
  - api operation id `nota-de-crédito` removed and replaced with `create_credit_note`
  - api tag `Facturación` added
  - added the new optional `header` request parameter `x-account-key`
  - the `amount` request property format was generalized from `float` to no format
  - the `date` request property format was generalized from `date` to `date-time`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`
  - added the non-success response with the status `429`
  - removed the non-success response with the status `400`
  - added the optional property `checkout_session_id` to the response with the `201` status
  - added the optional property `public_pdf_url` to the response with the `201` status
  - added the optional property `public_xml_url` to the response with the `201` status
  - the response property `discount` became required for the status `201`
  - the response property `fiscal_billing_id` became required for the status `201`
  - the response property `folio` became required for the status `201`
  - the response property `id_account` became required for the status `201`
  - …13 more

---

[Operation](https://skmtc.dev/trytoku/apis/toku-api/docs/billing-documents/credit-note/post.md) - [API](https://skmtc.dev/trytoku/apis/toku-api.md) - [Page](https://skmtc.dev/trytoku/apis/toku-api/changes/billing-documents/credit-note/post)
