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
/v1/spend-audit/v1/spend-audit/spendMultipart body
/v1/spend-audit/documentsMultipart body
/v1/spend-audit/logoMultipart body
/v1/spend-audit/optionsBody
/v1/spend-audit/assumptionsBody
/v1/spend-audit/todos/{key}/explainParameters
Body
/v1/spend-audit/todos/{key}/explainParameters
/v1/spend-audit/todos/{key}/documentsParameters
Multipart body
/v1/spend-audit/share/v1/spend-audit/share/v1/spend-audit/share