> ## 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.

# Legends and observations

> Print store legends on the invoice with notes.

Print your store's legends (return policy, warranty, "Gracias por su compra") with `notes`, a
list of strings on `POST /v1/invoices` and `POST /v1/notes`. Each item becomes one
document-level `cbc:Note` of the signed XML, in the order you send them, and shows on the PDF.

```json theme={null}
"notes": ["Cambios y devoluciones dentro de los 30 días.", "Gracias por su compra"]
```

* Coming from Factus? `observation` (one string) is accepted too and is the same as `notes`
  with one item. Send one or the other: both answer `422 validation_error`.
* Sizes follow Anexo 1.9: on an invoice each legend takes 1-500 characters (FAD13); on a
  credit or debit note, 5-5000 (CAD11/DAD11). The Anexo sets no count; Cufea takes at most 20
  per document. Anything outside answers `422 validation_error`.
* The JSON record (`GET /v1/invoices/{document_id}`, `GET /v1/notes/{kind}/{document_id}`,
  the create, send and lookup answers) returns them in `notes`, read from the signed XML;
  `[]` when there are none. A document stored without legends has no `cbc:Note` at all.


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