Skip to main content

Spend Audit Overview

Build a spend audit from a spend list and a document list, close vendor to-dos with a document or a reason, and publish it behind a password, via /v1/spend-audit.

The Spend Audit app checks every vendor on a spend list against the documents a workspace holds and lists what is still missing per vendor. It is for finance teams preparing an audit for a client.

Preparing the audit and publishing it are separate steps. The lists, options, assumptions and to-dos change the audit inside the workspace. Only POST /v1/spend-audit/share makes it reachable outside: it answers a new link and password, and the previous link stops working. DELETE /v1/spend-audit/share revokes it.

Replacing the lists, the logo, options, assumptions and the share link need apps:spend-audit:write and the workspace permission, as on the screen. Closing and reopening a to-do and filing a document need apps:spend-audit:write and the upload permission. Reading the current share password needs the workspace permission too. The routes answer 404 in a workspace that has not added the app (catalog slug spend-audit).

cURL: replace the spend list, then publish

curl -X POST "https://api.talonic.com/v1/spend-audit/spend" \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -F "file=@spend.xlsx"

curl -X POST "https://api.talonic.com/v1/spend-audit/share" \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Endpoints

GET/v1/spend-audit
POST/v1/spend-audit/spend

Multipart body

file*fileThe file.
POST/v1/spend-audit/documents

Multipart body

file*fileThe file.
POST/v1/spend-audit/logo

Multipart body

filefileThe file.
PUT/v1/spend-audit/options

Body

show_price_confirmedbooleanShow vendors whose prices are confirmed.
PUT/v1/spend-audit/assumptions

Body

text*stringThe text.
POST/v1/spend-audit/todos/{key}/explain

Parameters

key*stringPath. The vendor key from the audit.

Body

reason*stringWhy no document is needed (at most 1,000 characters).
DELETE/v1/spend-audit/todos/{key}/explain

Parameters

key*stringPath. The vendor key.
POST/v1/spend-audit/todos/{key}/documents

Parameters

key*stringPath. The vendor key.

Multipart body

file*fileThe file.
type*stringThe kind of document.
POST/v1/spend-audit/share
GET/v1/spend-audit/share
DELETE/v1/spend-audit/share

Frequently asked questions

What happens to the old link when I share again?+
It stops working. Each share answers a new link and password.