v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Credit Note

Create credit note

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>
post/api/v1/creditNotes

Request body

documentNumberstring

Example request

{
  "invoice": {
    "id": "1337"
  }
}

Response

Resource successfully created response