post
https://{subdomain}.ingenious.build/api/v2/pub/non-contracted-invoices/from-file
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad Request
401Unauthorized
403Access Denied
404File not found in workspace
422OCR extraction failed, vendor could not be resolved, or domain rules rejected the invoice
429Rate 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).