Xentral Invoice API

An invoice is a commercial document issued by a seller to a buyer relating to a sale transaction and indicating the products, quantities, and agreed-upon prices for products or services the seller had provided the buyer.

GitHub OpenAPI
Business capability
Accounts Receivable Management BC-200.30

Operations 29

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/invoices Create an invoice from a sales order · Create invoice #
Ask an LLM
“How do I turn a sales order into an invoice?”
“Can I assign a custom invoice number when creating an invoice?”
Tell an agent
Create an invoice from sales order {salesOrder}.
Create an invoice with number {documentNumber}.
GET /api/v1/invoices List invoices · List invoices #
Ask an LLM
“Which invoices have been issued in Xentral?”
“Can I filter invoices by date or number?”
Tell an agent
List all invoices.
Find invoices matching {filter}.
GET /api/v1/invoices/{id} View an invoice · View invoice #
Ask an LLM
“What are the details of a specific invoice?”
“Can I look up one invoice by its ID?”
Tell an agent
Show invoice {id}.
Get the details of invoice {id}.
PATCH /api/v1/invoices/{id} Update an invoice · Update invoice #
Ask an LLM
“Can I change the customer or billing address on an invoice?”
“Is it possible to set a cost center or project on an invoice?”
Tell an agent
Change the customer on invoice {id} to {customer}.
Set the cost center of invoice {id} to {costCenter}.
GET /api/v1/invoices/{id}/balance View an invoice's balance · View invoice balance #
Ask an LLM
“How much is still owed on an invoice?”
“What payments have been made against an invoice?”
Tell an agent
Show the balance of invoice {id}.
List payments and documents for invoice {id}.
GET /api/v1/invoices/{id}/documents List documents attached to an invoice · View related documents for invoice #
Ask an LLM
“Which documents are attached to an invoice?”
“Can I see the related documents of a single invoice?”
Tell an agent
List the documents attached to invoice {id}.
Show related documents for invoice {id}.
POST /api/v1/invoices/{id}/positions Add positions to an invoice · Create positions for invoice #
Ask an LLM
“How do I add line items to an invoice?”
“Can I append new positions to an existing invoice?”
Tell an agent
Add positions to invoice {id}.
Append new line items to invoice {id}.
PATCH /api/v1/invoices/{id}/send Send an invoice (legacy) · Send invoice #
Ask an LLM
“Can I send an invoice by patching its send action in the older API?”
“What does the legacy invoice send endpoint do?”
Tell an agent
Send invoice {id} using the legacy send action.
Patch invoice {id} to send it with the older API.
PATCH /api/v1/invoices/{id}/status Update an invoice's status · Update status for single invoice #
Ask an LLM
“Can I change an invoice's status or payment status?”
“Is it possible to mark an invoice as paid through the legacy status endpoint?”
Tell an agent
Set the status of invoice {id} to {status}.
Update the payment status of invoice {id} to {paymentStatus}.
PATCH /api/v2/invoices/{id}/actions/send Send an invoice (v2) · Send invoice V2 #
Ask an LLM
“How do I send an invoice using the v2 actions endpoint?”
“Can I send an invoice by calling the v2 send action?”
Tell an agent
Send invoice {id} using the v2 actions endpoint.
Call the v2 send action on invoice {id}.
GET /api/v3/invoices List invoices (v3) · List invoices V3 #
Ask an LLM
“What does the v3 list-invoices endpoint return?”
“Can I search invoices by text or sort them by date?”
Tell an agent
List invoices using the v3 endpoint.
Search v3 invoices for {search}.
POST /api/v3/invoices Create an invoice (v3) · 🔒 Create invoice V3 #
Ask an LLM
“How do I create a new invoice in the v3 API?”
“Can I set the document date and language when creating an invoice?”
Tell an agent
Create a new invoice with line items {lineItems}.
Create an invoice dated {documentDate} in {language}.
POST /api/v3/invoices/actions/createFromDeliveryNote Create an invoice from a delivery note (v3) · 🔒 Create invoice from delivery note V3 #
Ask an LLM
“Can I generate an invoice directly from a delivery note?”
“Is there a v3 action to turn a delivery note into an invoice?”
Tell an agent
Create an invoice from delivery note {deliveryNote}.
Generate an invoice from delivery note {deliveryNote} using the v3 action.
POST /api/v3/invoices/actions/createFromSalesOrder Invoice an existing sales order · 🔒 Create invoice from sales order V3 #
Ask an LLM
“Can I bill a customer straight from a sales order I already entered?”
“Is the sales-order-to-invoice action in v3 still in beta?”
Tell an agent
Convert sales order {salesOrder} into a new invoice using the v3 action.
Bill the customer for sales order {salesOrder} by generating its invoice.
GET /api/v3/invoices/{id} View an invoice (v3) · View invoice V3 #
Ask an LLM
“What does the v3 view-invoice endpoint return?”
“Can I fetch an invoice with its line items included?”
Tell an agent
View invoice {id} using the v3 endpoint.
Fetch invoice {id} including {include}.
DELETE /api/v3/invoices/{id} Delete an invoice (v3) · Delete invoice V3 #
Ask an LLM
“Can I delete an invoice that is still in draft?”
“What scope is needed to delete an invoice in v3?”
Tell an agent destructive · confirm first
Delete invoice {id} using the v3 endpoint.
Remove invoice {id} from the v3 API.
PATCH /api/v3/invoices/{id} Update an invoice · 🔒 Update invoice V3 #
Ask an LLM
“How do I change the delivery date on an invoice?”
“Can I set a customer order number on an invoice?”
Tell an agent
Set the delivery date of invoice {id} to {deliveryDate}.
Change the language of invoice {id} to {language}.
PATCH /api/v3/invoices/{id}/actions/logActivity Log an activity on an invoice (v3) · Log custom invoice activity V3 #
Ask an LLM
“Can I record a custom note on an invoice?”
“How do I log an activity against an invoice in v3?”
Tell an agent
Log the message {message} on invoice {id}.
Record activity {message} against invoice {id}.
PATCH /api/v3/invoices/{id}/actions/release Release an invoice (v3) · Release invoice V3 #
Ask an LLM
“How do I release an invoice so it can be sent?”
“Can I set the document date when releasing an invoice?”
Tell an agent
Release invoice {id}.
Release invoice {id} dated {documentDate}.
PATCH /api/v3/invoices/{id}/actions/removeWriteProtection Remove write protection from an invoice (v3) · Remove invoice write protection V3 #
Ask an LLM
“Can I remove write protection from an invoice?”
“What scope is needed to unlock an invoice?”
Tell an agent
Remove write protection from invoice {id}.
Unlock invoice {id} so it can be edited.
PATCH /api/v3/invoices/{id}/actions/send Send an invoice by email or printer · Send invoice V3 #
Ask an LLM
“How do I email an invoice to a customer?”
“Can I send an invoice to a printer instead of emailing it?”
Tell an agent
Send invoice {id} by email to {email}.
Print invoice {id} on printer {printer}.
PATCH /api/v3/invoices/{id}/actions/setWriteProtection Lock an invoice against editing · Set invoice write protection V3 #
Ask an LLM
“How do I make an invoice read-only so no one can change it?”
“Can I protect an invoice from being edited?”
Tell an agent
Set write protection on invoice {id}.
Lock invoice {id} so it can't be edited.
POST /api/v3/invoices/{id}/files Attach a file to an invoice · Attach file to invoice V3 #
Ask an LLM
“How do I attach a PDF or image to an invoice?”
“Can I add a file to an invoice with a keyword?”
Tell an agent
Attach {fileName} to invoice {id} with keyword {keyword}.
Add file {fileName} to invoice {id} titled {title} and keyword {keyword}.
DELETE /api/v3/invoices/{id}/files/{fileId} Remove a file from an invoice · Delete file from invoice V3 #
Ask an LLM
“How do I remove an attachment from an invoice?”
“Can I delete a file that was attached to an invoice?”
Tell an agent destructive · confirm first
Delete file {fileId} from invoice {id}.
Remove attachment {fileId} on invoice {id}.
PATCH /api/v3/invoices/{id}/files/{fileId} Rename or relabel an invoice file · Update file on invoice V3 #
Ask an LLM
“How do I change the title or keyword of a file on an invoice?”
“Can I re-sort an attachment on an invoice?”
Tell an agent
Rename file {fileId} on invoice {id} to {title}.
Set keyword {keyword} on file {fileId} of invoice {id}.
POST /api/v3/invoices/{id}/lineItems Add a line item to an invoice · 🔒 Create invoice line item V3 #
Ask an LLM
“How do I add a product to an invoice?”
“Can I set a delivery date and discount on an invoice line item?”
Tell an agent
Add {quantity} of {product} to invoice {id}.
Add {product} to invoice {id} at {quantity} with discount {discount}.
GET /api/v3/invoices/{id}/lineItems/{lineItemId} View one line item on an invoice · View invoice line item V3 #
Ask an LLM
“What quantity and price does a specific invoice line item show?”
“Can I fetch a single line item from an invoice?”
Tell an agent
Show line item {lineItemId} on invoice {id}.
Get invoice {id} line item {lineItemId} including {include}.
DELETE /api/v3/invoices/{id}/lineItems/{lineItemId} Remove a line item from an invoice · Delete invoice line item V3 #
Ask an LLM
“How do I delete a line item from an invoice?”
“Can I remove a product line from an invoice?”
Tell an agent destructive · confirm first
Delete line item {lineItemId} from invoice {id}.
Remove product line {lineItemId} on invoice {id}.
PATCH /api/v3/invoices/{id}/lineItems/{lineItemId} Update an invoice line item · 🔒 Update invoice line item V3 #
Ask an LLM
“How do I change the quantity or price of an invoice line item?”
“Can I add a delivery date to an existing line item?”
Tell an agent
Change line item {lineItemId} on invoice {id} to quantity {quantity}.
Set delivery date {deliveryDate} on line item {lineItemId} of invoice {id}.

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-invoice-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-invoice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xentral Invoice API
  version: '1.0'
  description: 'Operations tagged Invoice across 2 of this provider''s published API definitions: xentral-api-openapi-original.json, xentral-documents-api-openapi-original.json. Each path carries the servers of the definition it was published in.'
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 (867 KB total) ---
# Full source: https://artifacts.apis.io/xentral/openapi/xentral-invoice-api-openapi.yml