Spendesk Payables API

Payables — invoices, credit notes, card purchases and expense claims — with their attachments. Retrieve them in bulk through snapshots, search them, read one by ID; experimental endpoints let accounting integrations update accounting fields, mark payables ready and write their bookkeeping status back. Part of: [Retrieving Spend Data](/reference/retrieving-snapshots-of-payables), [Building an accounting integration](/reference/building-an-accounting-integration).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Accounts Payable Management BC-200.20

Operations 9

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

PUT /v1/payables/bookkeeping-status Update the bookkeeping status of payables · Update Payables bookkeeping status #
Ask an LLM
“How do I set the accounting status of several payables at once?”
“Can I change the bookkeeping status of payables in a company I'm not the controller of?”
Tell an agent
Set the bookkeeping status of payables {payables} to {status}.
Update the accounting status of payables {payables} in company {company}.
POST /v1/payables/search Search payables · Search Payables #
Ask an LLM
“Which payables match a supplier or date range?”
“Can I filter payables by status and page through the results?”
Tell an agent
Search payables matching {filters}.
Find payables in company {company} with status {status} and page size {limit}.
GET /v1/payables/{id} Get a payable · Get Payable by ID #
Ask an LLM
“What are the details of one payable?”
“Can I look up a payable by its ID?”
Tell an agent
Get payable {id}.
Show the details of payable {id} in company {company}.
PATCH /v1/payables/{id} Update a payable's accounting fields · Update Payable accounting fields #
Ask an LLM
“How do I set the accounting date or account payable on a payable?”
“Can I change a payable's line items with optimistic locking?”
Tell an agent
Set the accounting date of payable {id} to {date}.
Update payable {id} to account payable {account} with version {version}.
POST /v1/payables/{id}/mark-as-ready Mark a payable as ready for export · Mark Payable as ready #
Ask an LLM
“How do I validate a payable so it can be exported?”
“Can I mark a payable as ready for accounting export?”
Tell an agent
Mark payable {id} as ready for accounting export.
Validate payable {id} for export with version {version}.
GET /v1/payables/{payableId}/attachments Get a payable's attachments · Get Payable Attachments #
Ask an LLM
“Where are the receipts attached to a payable?”
“Can I get short-lived URLs for a payable's attachments?”
Tell an agent
Get the attachments of payable {payableId}.
List attachment URLs for payable {payableId} in company {company}.
POST /v1/payables/{payableId}/attachments Start a receipt upload for a payable · Create Payable Attachment Upload #
Ask an LLM
“How do I attach a receipt to a card transaction payable?”
“Can I upload a receipt for a payable after creating it?”
Tell an agent
Create an upload for a receipt on payable {payableId}.
Prepare a {mimeType} upload for {payableId} with size {contentLength}.
POST /v1/snapshots/payables Request a snapshot of payables · Create a snapshot of payables #
Ask an LLM
“Can I export a batch of payables as an extract?”
“How do I get a snapshot of payables for a date range?”
Tell an agent
Request a snapshot of payables {ids}.
Create a payable snapshot for payables {ids} in company {company}.
GET /v1/snapshots/payables/{key} Get a payable snapshot · Get a snapshot of payables #
Ask an LLM
“Has my payable snapshot finished processing?”
“Where do I read the payables from a snapshot?”
Tell an agent
Get payable snapshot {key}.
Read page {page} of snapshot {key}.

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/spendesk:spendesk-payables-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

spendesk-payables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spendesk Public Payables API
  description: Spendesk Public API
  version: '1.0'
  summary: Spendesk Public API
  contact:
    email: support-public-api@spendesk.com
    url: https://developer.spendesk.com/
    name: Spendesk for Developers
  termsOfService: https://www.spendesk.com/en/legals/terms/api-agreement
servers:
- url: https://public-api.spendesk.com
  description: Production
- url: https://public-api.demo.spendesk.com
  description: Sandbox
tags:


# --- truncated at 32 KB (138 KB total) ---
# Full source: https://artifacts.apis.io/spendesk/openapi/spendesk-payables-api-openapi.yml