Xentral Credit Note API

A credit note is a document you send to your customer to correct a mistake on an order or an invoice, or to refund an amount paid for products or services.

GitHub OpenAPI
Business capability
Accounts Receivable Management BC-200.30

Operations 24

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/creditNotes Create a credit note (v1) · Create credit note #
Ask an LLM
“How do I issue a credit note for a returned invoice?”
“Can I set a document number when creating a credit note?”
Tell an agent
Create a credit note linked to invoice {invoice}.
Create credit note {documentNumber} for invoice {invoice}.
GET /api/v1/creditNotes List credit notes (v1) · List credit notes #
Ask an LLM
“Which credit notes have been issued in my Xentral account?”
“Can I filter the v1 credit note list?”
Tell an agent
List all credit notes using the v1 endpoint.
List credit notes matching {filter}.
GET /api/v1/creditNotes/{id} View a credit note (v1) · View credit note #
Ask an LLM
“What are the details of a specific credit note?”
“Can I see the line items on a credit note?”
Tell an agent
Show credit note {id}.
Get the details of credit note {id}.
PATCH /api/v1/creditNotes/{id} Update a credit note (v1) · Update credit note #
Ask an LLM
“Can I change the billing address on an existing credit note?”
“Which fields must I send to update a credit note?”
Tell an agent
Update credit note {id} with billing address {billingAddress}.
Set the cost center on credit note {id} to {costCenter}.
PATCH /api/v1/creditNotes/{id}/actions/send Send a credit note (v1) · Send credit note #
Ask an LLM
“How do I email a credit note to a customer?”
“Can I mark a credit note as sent without emailing it?”
Tell an agent
Send credit note {id} by email.
Mark credit note {id} as sent.
GET /api/v1/creditNotes/{id}/balance View a credit note's balance (v1) · View Credit Note Balance #
Ask an LLM
“How much of a credit note has been paid?”
“What payments are linked to a credit note?”
Tell an agent
Show the balance of credit note {id}.
List payments linked to credit note {id}.
GET /api/v1/creditNotes/{id}/documents View documents attached to a credit note (v1) · View related documents for credit note #
Ask an LLM
“Which documents are attached to a credit note?”
“Can I see the supporting documents for a credit note?”
Tell an agent
Show the documents attached to credit note {id}.
List supporting documents for credit note {id}.
GET /api/v3/creditNotes List credit notes (v3) · List credit notes V3 #
Ask an LLM
“Can I search credit notes by document number in v3?”
“Which v3 credit note list includes the full-text search?”
Tell an agent
List v3 credit notes matching {filter}.
Search v3 credit notes for {search}.
POST /api/v3/creditNotes Create a credit note (v3) · 🔒 Create credit note V3 #
Ask an LLM
“How do I create a credit note with line items in v3?”
“Can I set the document date when creating a credit note?”
Tell an agent
Create a v3 credit note with line items {lineItems}.
Create credit note {documentNumber} dated {documentDate}.
GET /api/v3/creditNotes/{id} View a credit note (v3) · View credit note V3 #
Ask an LLM
“Can I view a credit note in PDF format?”
“Which v3 endpoint returns a single credit note?”
Tell an agent
Show v3 credit note {id}.
Fetch credit note {id} including {include}.
DELETE /api/v3/creditNotes/{id} Delete a credit note (v3) · Delete credit note V3 #
Ask an LLM
“Can I delete a credit note that is still in draft?”
“Which v3 credit note status allows deletion?”
Tell an agent destructive · confirm first
Delete v3 credit note {id}.
Remove draft credit note {id}.
PATCH /api/v3/creditNotes/{id} Update a credit note (v3) · 🔒 Update credit note V3 #
Ask an LLM
“Can I change the line items on a credit note?”
“Which v3 fields can I update on an existing credit note?”
Tell an agent
Update the line items on v3 credit note {id} to {lineItems}.
Change the language of credit note {id} to {language}.
PATCH /api/v3/creditNotes/{id}/actions/logActivity Log an activity on a credit note (v3) · Log custom credit note activity V3 #
Ask an LLM
“How do I record a note on a credit note?”
“Can I log custom activity on a credit note?”
Tell an agent
Log activity {message} on credit note {id}.
Record note {message} against credit note {id}.
PATCH /api/v3/creditNotes/{id}/actions/release Release a credit note (v3) · Release credit note V3 #
Ask an LLM
“How do I release a credit note so it can be sent?”
“Can I set the document date when releasing a credit note?”
Tell an agent
Release credit note {id}.
Release credit note {id} dated {documentDate}.
PATCH /api/v3/creditNotes/{id}/actions/removeWriteProtection Remove write protection from a credit note (v3) · Remove credit note write protection V3 #
Ask an LLM
“How do I unlock a credit note so I can edit it?”
“Can I remove write protection from a released credit note?”
Tell an agent
Remove write protection from credit note {id}.
Unlock credit note {id} so it can be edited.
PATCH /api/v3/creditNotes/{id}/actions/send Send a credit note by email or printer · Send credit note V3 #
Ask an LLM
“How can I deliver a finished credit note to my customer by email?”
“Can I send a credit note straight to a printer?”
Tell an agent
Email credit note {id} to the customer using {email}.
Print credit note {id} using {printer}.
PATCH /api/v3/creditNotes/{id}/actions/setWriteProtection Set write protection on a credit note (v3) · Set credit note write protection V3 #
Ask an LLM
“How do I lock a credit note so no one edits it?”
“Can I protect a released credit note from further changes?”
Tell an agent
Set write protection on credit note {id}.
Lock credit note {id} so it cannot be edited.
POST /api/v3/creditNotes/{id}/files Attach a file to a credit note (v3) · Attach file to credit note V3 #
Ask an LLM
“How do I attach a supporting document to a credit note?”
“Can I add a file to a credit note with a keyword?”
Tell an agent
Attach {fileName} to credit note {id} as {keyword}.
Add file {fileName} to credit note {id} with keyword {keyword} and title {title}.
DELETE /api/v3/creditNotes/{id}/files/{fileId} Delete a file from a credit note (v3) · Delete file from credit note V3 #
Ask an LLM
“How do I remove an attachment from a credit note?”
“Can I delete a file attached to a credit note?”
Tell an agent destructive · confirm first
Delete file {fileId} from credit note {id}.
Remove attachment {fileId} on credit note {id}.
PATCH /api/v3/creditNotes/{id}/files/{fileId} Update a file on a credit note (v3) · Update file on credit note V3 #
Ask an LLM
“Can I change the title of an attachment on a credit note?”
“How do I reorder files attached to a credit note?”
Tell an agent
Rename file {fileId} on credit note {id} to {title}.
Set the sort order of file {fileId} on credit note {id} to {sort}.
POST /api/v3/creditNotes/{id}/lineItems Add a line item to a credit note · 🔒 Create credit note line item V3 #
Ask an LLM
“How do I add a product to an existing credit note?”
“Can I set a delivery date and discount on a credit note line item?”
Tell an agent
Add {quantity} of product {product} to credit note {id}.
Add {quantity} of {product} to credit note {id} with a {discount} discount.
GET /api/v3/creditNotes/{id}/lineItems/{lineItemId} View a credit note line item · View credit note line item V3 #
Ask an LLM
“What product and quantity are on a specific credit note line item?”
“Can I fetch one line item of a credit note by its ID?”
Tell an agent
Show line item {lineItemId} on credit note {id}.
Get credit note {id} line item {lineItemId}.
DELETE /api/v3/creditNotes/{id}/lineItems/{lineItemId} Remove a line item from a credit note · Delete credit note line item V3 #
Ask an LLM
“How do I remove a line item from a credit note?”
“Can I delete one item on a credit note without touching the rest?”
Tell an agent destructive · confirm first
Delete line item {lineItemId} from credit note {id}.
Remove item {lineItemId} on credit note {id}.
PATCH /api/v3/creditNotes/{id}/lineItems/{lineItemId} Update a credit note line item · 🔒 Update credit note line item V3 #
Ask an LLM
“How do I change the quantity on a credit note line item?”
“Can I edit the price or tax notice on an existing credit note line item?”
Tell an agent
Change the quantity of line item {lineItemId} on credit note {id} to {quantity}.
Update the price of credit note {id} line item {lineItemId} to {price}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xentral:xentral-credit-note-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xentral-credit-note-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xentral Credit Note API
  version: v0.1
  description: Xentral is an ERP platform.
  contact:
    name: Xentral
    url: https://xentral.com
    email: api@xentral.com
servers:
- url: https://{xentralId}.xentral.biz
  description: Your Xentral Instance
  variables:
    xentralId:
      default: xentral
- url: https://{domain}
  description: Xentral at a custom domain
  variables:
    domain:
      default: xentral.com
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (581 KB total) ---
# Full source: https://artifacts.apis.io/xentral/openapi/xentral-credit-note-api-openapi.yml