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 included.
- Payment. A note keeps a single
paymentobject;paymentsis for invoices only. Which means to use on a credit note: see Payments. - Legends. A note takes
notesorobservation, 5 to 5000 characters each (CAD11/DAD11): see Legends and observations. - Read it back with
GET /v1/notes/{kind}/{document_id}(kind:creditordebit), list them withGET /v1/notes(see Pagination) and follow the outcome with thenote.acceptedandnote.rejectedwebhooks. - The debit note totals come from
RequestedMonetaryTotal, with the same fields as an invoice’s (see Totals and rounding).
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.