Sales Credit Notes
Create and query customer sales credit notes (notas de crโยฎdito / abonos emitidos)
๐๏ธ Get sales credit note by ID
Returns a single customer sales credit note by its primary key. Returns `404` if the id refers to a regular (non-corrective) invoice.
๐๏ธ Update sales credit note
Full replacement of a customer sales credit note. Send the `If-Match` header with the current ETag for optimistic concurrency control.
๐๏ธ Delete sales credit note
Deletes a customer sales credit note. Send the `If-Match` header with the current ETag for optimistic concurrency control.
๐๏ธ List sales credit notes
Returns a paginated list of customer sales credit notes with envelope `{data, totalCount, skip, limit, hasMore}`. Internally these are invoices with `creditNote=true`; the discriminator is pre-applied and any user RSQL `filter` is ANDed on top.
๐๏ธ Create sales credit note
Creates a customer sales credit note linked to an existing sales invoice. The `rectifiedInvoiceId` field is required. The WAR forces the `corrective` / `creditNote` discriminators on the Factura.