---
title: "Export creditNote"
method: GET
path: "/Export/creditNoteCsv"
tags: ["Export"]
---

# Export creditNote

`GET /Export/creditNoteCsv`

Export all credit notes as csv

## Query parameters

- `download` boolean
- `sevQuery` object, required
  - `limit` integer — Limit export
  - `modelName` string, required — Model name, which is 'CreditNote'
  - `objectName` string, required — Model name, which is 'SevQuery'
  - `filter` object
    - `startDate` string, date-time — Start date of the credit note
    - `endDate` string, date-time — End date of the credit note
    - `contact` object — filters the credit notes by contact
      - `id` integer, required — ID of the contact
      - `objectName` string, required — Model name, which is 'Contact'
    - `startAmount` integer — filters the credit notes by amount
    - `endAmount` integer — filters the credit notes by amount

## Response `200`

Successful operation with download

- object
  - `objects` object
    - `filename` string
    - `mimetype` string
    - `base64Encoded` boolean
    - `content` string

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `409` — Conflict
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
