---
title: "Create credit note"
method: POST
path: "/api/v1/creditNotes"
tags: ["Credit Note"]
---

# Create credit note

`POST /api/v1/creditNotes`

Creates a credit note<br><br>
<h2>Warning: Multiple request body content types</h2>
<p>
    Due to technical limitations, the information provided here may not display all available request body content types.
    We are currently working with our third-party documentation provider to address this issue.
    For a complete and accurate representation of the available content types, we recommend referring to the <a target="_blank" href="https://github.com/xentral/api-spec-public">full OpenAPI specification</a>.
</p>
<p>
    We apologize for any inconvenience caused and appreciate your understanding as we work to resolve this matter.
</p>
<h3>Available request content types:</h3>
<ul>
    <li><b>application/json</b></li>
<li>application/vnd.xentral.minimal+json</li>
<li>application/vnd.xentral.fromreturn+json</li>
</ul>

## Request body

- object
  - `invoice` object, required — Reference to another resource
    - `id` string, required — Resource identifier.
  - `documentNumber` string

## Response `201`

Resource successfully created response

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.

---

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