Create Non-Contracted Invoice from OCR

Creates a Non-Contracted Invoice from a PDF via AI OCR. Reads the document, extracts vendor, category, line items and dates, then persists the invoice in the requested terminal status (draft, fully-approved, or paid). Returns 422 when extraction fails, currency mismatches the project, or the AI cannot resolve a known vendor. The PDF must first be uploaded via POST /v2/pub/files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required
string
enum
Defaults to draft
Allowed:
string | null
Defaults to null
string | null
Defaults to null
string | null
Defaults to null
Responses

400

Bad Request

401

Unauthorized

403

Access Denied

404

File not found in workspace

422

OCR extraction failed, vendor could not be resolved, or domain rules rejected the invoice

429

Rate limit exceeded. Response includes a Retry-After header (seconds until the next request is permitted) and an X-RateLimit-Reset header (Unix timestamp of bucket reset).

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json