Create sales credit note
POST/api/v2/sales-credit-notes
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.
Request
Responses
- 201
- 400
- 401
- 403
- 500
Sales credit note created
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details. Common cause: missing rectifiedInvoiceId.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_FACTURASEMITIDAS permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.