Skip to main content

Transport Folders

What it does

A transport folder is one scanned packet: every paper a driver hands in for one transport. Transport Folders splits it into its documents, matches each document to the load it belongs to, and judges each load: required documents on file, delivery confirmed, quantities agree. Documents that fit no single load go to a person. It is for logistics back offices that invoice loads from driver paperwork.

Add the app first. Transport Folders is a standard app (slug transport-folders). A workspace owner adds it in Apps: choose Create an App, then Add a standard app, then Add on its tile (or POST /v1/apps with slug transport-folders). Until it is added, its /v1 routes answer 404 and its agent tools do not appear. A switched-off app still answers reads and settings, but calls that start work answer 409; switch it on from the card menu in Apps or with POST /v1/apps/{id}/enable.

What you give it

  • Scanned transport folders, read by a configured run.
  • A reference table of loads per transport, with the document types each load requires. Set these in the app's settings.

What you get

  • One row per folder with its loads by result and how many documents were matched or wait for review.
  • A worklist: incomplete loads (missing document types, no delivery confirmation, quantity difference) and unassigned documents with the load the evidence points to most.
  • A customer document set per confirmed load, merged into one PDF with the index values an archive needs.

Run it in the app

  1. Open Apps → Transport Folders. An owner sets the run and reference table in settings.
  2. Open a folder: each load with its documents, and each document with its page range and captured values highlighted on the page.
  3. Assign unmatched documents to a load, then confirm the load to hand it over.

Run it with the API

Routes: GET /v1/transport-folders, GET /v1/transport-folders/{folderId}, GET /v1/transport-folders/worklist, POST/DELETE /v1/transport-folders/{folderId}/documents/{documentId}/assign (body load_key, null for no load), POST/DELETE /v1/transport-folders/{folderId}/loads/{loadKey}/confirm, GET /v1/transport-folders/{folderId}/loads/{loadKey}/handover, GET/PUT /v1/transport-folders/settings. To show where each value sits on the page: GET /v1/transport-folders/{folderId}/documents/{documentId}/boxes, and POST …/locate per document or POST /v1/transport-folders/{folderId}/locate per folder.

Worklist, assign, confirm
curl "https://api.talonic.com/v1/transport-folders/worklist" \
  -H "Authorization: Bearer $TALONIC_API_KEY"

curl -X POST "https://api.talonic.com/v1/transport-folders/$FOLDER_ID/documents/$DOCUMENT_ID/assign" \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"load_key": "'$LOAD_KEY'"}'

curl -X POST "https://api.talonic.com/v1/transport-folders/$FOLDER_ID/loads/$LOAD_KEY/confirm" \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Node: download the customer set of a load
import { writeFile } from 'node:fs/promises';

const url = `https://api.talonic.com/v1/transport-folders/${process.env.FOLDER_ID}/loads/${process.env.LOAD_KEY}/handover`;
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.TALONIC_API_KEY}` } });
const { pdf_base64, index } = await res.json();
await writeFile('load-set.pdf', Buffer.from(pdf_base64, 'base64'));
console.log(index);

Full reference: Transport Folders endpoints.

Run it with an agent

Tools: talonic_transport_folders_list, talonic_transport_folders_get, talonic_transport_folders_worklist, talonic_transport_folders_assign, talonic_transport_folders_unassign, talonic_transport_folders_confirm_load, talonic_transport_folders_unconfirm_load, talonic_transport_folders_handover, talonic_transport_folders_boxes, talonic_transport_folders_locate_document, talonic_transport_folders_locate_folder, talonic_transport_folders_settings and talonic_transport_folders_save_settings. Example ask: "Which loads from yesterday's folders are missing a delivery confirmation?"

Limits and costs

Changing settings needs an owner-level key. Confirming a load is idempotent. A person's assignment always wins over the evidence. Work an app does for you draws on the same credit balance as the rest of the platform; no separate per-app price is published. See Billing, credits and usage and rate limits.

Errors

Status codes

ParameterTypeDescription
401authMissing or invalid API key. Send `Authorization: Bearer $TALONIC_API_KEY`.
403authThe key lacks the scope (`read` for reads, `write` for writes), or the person behind it is below member for a write.
404not foundThe workspace has not added the app (the message names slug `transport-folders`), or the id does not exist in this workspace. Add the app, then retry.
409conflictThe app is switched off, so it starts no work. Switch it on in Apps or with `POST /v1/apps/{id}/enable`.

Next

Frequently asked questions

What makes a load complete?+
Every required document type is on file, the delivery is confirmed, and the quantities agree. A load that misses any of these appears on the worklist with the reason.
What if a document fits more than one load?+
It goes to a person, with the load the evidence points to most as a suggestion. Assign it, or mark it as belonging to no load.
What does the handover contain?+
One document per required type, merged into one PDF, with index values per document: transport, order, consignee, document type and pages.