POST /api/v1/invoices, authenticated with a workspace API key.
A pushed document is ingested exactly like a manual upload or an email attachment — it
becomes a job and flows through your
pipelines like everything else.
This is for feeding your dashboard pipelines programmatically. If you want
synchronous, structured extract-and-match results returned to your code, use the
agent API instead — see
agents vs pipelines for choosing between them.
Push an invoice
Supply the file as a base64 string or a URL equate can fetch:
A successful push returns
202 Accepted with the created job:
processed tells you whether a pipeline picked the document up immediately
(as-they-arrive handling) or it’s waiting for a scheduled or manual run —
see pipeline handling.
Wiring it into a pipeline
In the pipeline builder, choose REST API as the input. Anything you push lands on that pipeline’s queue and is matched, reviewed and delivered per its configuration. UsesourceId only when you run several API-fed pipelines and need to address one
specifically.
Errors to handle
The full request/response schema lives in the
API reference.
Next: create an API key
Workspace admins create keys under Settings → API keys; the secret is shown once.