Documents

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.

post/uploads

Request

Request body multipart/form-data

filesstring[] required

The file parts. Repeat the files part per file.

customer_idstring

Target company. Optional for API keys.

messagestring

Free-text note for the accounting agent.

submission_idstring

Client-chosen id grouping the files into one submission.

dump_kind'receipt' | 'invoice' | 'contract'

What kind of documents these are.

sourcestring

Upload source label.

Response

Upload result.

PortalUploadResponse required

Result of a document upload, including per-file outcomes.

Changes

No recorded changes to this operation across all 1 revision of this API.