Skip to main content
Upload an invoice

Authorizations

Authorization
string
header
required

Personal API key from Settings → Personal → API keys. Send X-Organization-Id with the target organization. Plaintext is shown once at creation and cannot be recovered. Header: Authorization: Bearer wdg_<token>.

Headers

X-Organization-Id
string

Required for personal API keys. Target one organization you have access to. Migrated keys may omit it to use their original organization. For Clerk sessions, it must match the active organization.

Body

multipart/form-data
primary
file
required

Primary invoice document. Max 50 MB.

attachments
file[]

Optional supporting documents (0–9). Max 25 MB each. Combined body (primary + attachments) max 100 MB.

Response

Invoice created and queued for processing.

invoice_id
string<uuid>
required
status
enum<string>
required
Available options:
queued
documents
object
required
created_at
string<date-time>
required