Marmin

List sales credit notes


Retrieves a paginated list of sales credit notes. See the right panel for the request and response examples.

Query parameters

ParameterTypeRequiredDescription
document_numberstring
Optional
Filter by credit note document number.
invoice_numberstring
Optional
Filter by referenced invoice number.
billed_by_namestring
Optional
Filter by supplier name.
billed_to_namestring
Optional
Filter by customer name.
billed_to_vatstring
Optional
Filter by customer VAT number.
billed_by_vatstring
Optional
Filter by supplier VAT number.
statusstring
Optional
Filter by credit note status.
document_datestring
Optional
Filter by credit note issue date. Format: yyyy-MM-dd.
pageinteger
Optional
Page number (0-indexed). Default: 0.
sizeinteger
Optional
Number of items per page. Default: 10.
Response

Status code: 200 OK

Returns a paginated response containing an array of credit note objects.

Each credit note may include attachments with id, file_name, and file_type when attachments exist on the document. File bytes are not included in list responses.

Error responses

StatusDescription
400 Bad RequestInvalid request parameters or validation failed. For validation errors, the response includes field-specific errors.
401 UnauthorizedAuthentication required or invalid token.
500 Internal Server ErrorAn error occurred while processing the request.
Next