Upload documents
Uploads receipts, purchase invoices, contracts, or bank statements for ingestion into the books. Multipart form; repeat the files part for multiple files (the singular part name file is also accepted). Limits: 20 files and 25 MB per request. Requires a write-scoped key.
Authorizations
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Body
The file parts. Repeat the files part per file.
Target company. Optional for API keys.
Free-text note for the accounting agent.
Client-chosen id grouping the files into one submission.
What kind of documents these are.
receipt, invoice, contract Upload source label.
Response
Upload result.
Result of a document upload, including per-file outcomes.