Generated by API Evangelist
Written by API Evangelist tooling for Xentral's API. It is a proposal applied on top of the contract, not a document Xentral publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Xentral Business Documents API v3 Supplier Invoice API
version: 1.0.0
extends: openapi/xentral-supplierinvoice-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v3/supplierInvoices/{id}/files'].post
update:
x-apievangelist-phrasing:
intent: Attach a file to a supplier invoice
effect: write
questions:
- How do I attach a scanned invoice to a supplier invoice?
- Can I label an attached file with a keyword like purchase order?
instructions:
- text: Attach {fileName} to supplier invoice {id} with keyword {keyword}.
slots:
fileName: requestBody.fileName
id: path.id
keyword: requestBody.keyword
- text: Add {fileName} to supplier invoice {id} as {keyword} titled {title}.
slots:
fileName: requestBody.fileName
id: path.id
keyword: requestBody.keyword
title: requestBody.title
method: generated
generated: '2026-11-20'
- target: $.paths['/api/v3/supplierInvoices/{id}/files/{fileId}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a file from a supplier invoice
effect: destructive
questions:
- How do I remove an attachment from a supplier invoice?
- Can I delete a file from a supplier invoice by its file ID?
instructions:
- text: Delete file {fileId} from supplier invoice {id}.
slots:
fileId: path.fileId
id: path.id
- text: Remove attachment {fileId} on supplier invoice {id}.
slots:
fileId: path.fileId
id: path.id
method: generated
generated: '2026-11-20'
- target: $.paths['/api/v3/supplierInvoices/{id}/files/{fileId}'].patch
update:
x-apievangelist-phrasing:
intent: Update a file on a supplier invoice
effect: write
questions:
- How do I rename the title of an attached file on a supplier invoice?
- Can I change the keyword or sort order of a supplier invoice file?
instructions:
- text: Rename file {fileId} on supplier invoice {id} to {title}.
slots:
fileId: path.fileId
id: path.id
title: requestBody.title
- text: Set the keyword of file {fileId} on supplier invoice {id} to {keyword}.
slots:
fileId: path.fileId
id: path.id
keyword: requestBody.keyword
method: generated
generated: '2026-11-20'
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.