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

# Credit and debit notes

> Credit (91) and debit (92) notes on an accepted invoice.

`POST /v1/notes` creates a signed credit note (91) or debit note (92) on an invoice the DIAN
accepted. A note carries its own CUDE, and, like an invoice, takes an `Idempotency-Key`, a
`reference` and `"send": true` to queue it for the DIAN at once.

* **The invoice must be accepted.** A note on an invoice that is not answers
  `409 invoice_not_accepted`; one closed to notes by an accepted RADIAN 033 or 034 event,
  `409 invoice_closed_for_notes`.
* **Numbering.** Notes have no DIAN numbering range; they count per kind and prefix.
* **Lines.** Note lines take the same fields as invoice lines, [discounts](https://docs.cufea.com/en/guides/discounts.md)
  included.
* **Payment.** A note keeps a single `payment` object; `payments` is for invoices only. Which
  means to use on a credit note: see [Payments](https://docs.cufea.com/en/guides/payments.md).
* **Legends.** A note takes `notes` or `observation`, 5 to 5000 characters each (CAD11/DAD11):
  see [Legends and observations](https://docs.cufea.com/en/guides/legends.md).
* **Read it back** with `GET /v1/notes/{kind}/{document_id}` (`kind`: `credit` or `debit`),
  list them with `GET /v1/notes` (see [Pagination](https://docs.cufea.com/en/pagination.md)) and follow
  the outcome with the `note.accepted` and `note.rejected` [webhooks](https://docs.cufea.com/en/webhooks.md).
* The debit note totals come from `RequestedMonetaryTotal`, with the same fields as an
  invoice's (see [Totals and rounding](https://docs.cufea.com/en/guides/totals.md)).

## Notes carry no withholdings

`withholdings` exists on invoices only. A credit or debit note has no withholdings field, and
a body that sends one is refused with `422`. Record the withholding adjustment of a note in
your own accounting.

The request body of each kind is in the API reference, under `POST /v1/notes`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.