Read a price PDF locally and preview information for sharing
const url = 'https://api.invogi.com/v1/workflow-assistance/price-document';const form = new FormData();form.append('file', 'file');form.append('supplierId', '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0');form.append('companyId', '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/workflow-assistance/price-document \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file=@file \ --form supplierId=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --form companyId=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Signed-in dashboard Analyst, Admin or Owner only; API keys are refused. No AI output makes a financial decision. Multipart readable-text PDF up to 2 MB, ten pages and 24,000 text characters. No AI call or OCR. At most twenty upload previews per workspace per hour. Returns PRICE_SCHEDULE input with an owned sourceId and page locators. Supplier/company scope is chosen explicitly; omitted companyId means all companies. Binary stored privately in R2; unapplied source expires after one day.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Responses
Section titled “Responses”Canonical result
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "version": "invogi.workflow-assistance.v1", "input": { "task": "SUPPLIER_REPLY" }, "content": { "filters": { "status": "open", "severity": [ "INFO" ], "disposition": [ "OPEN" ], "assignee": "all", "sla": "overdue", "view": "recovery_candidates" } }, "status": "FAILED"}Invalid request
Missing or invalid API key
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state
Request-rate or customer-usage limit exceeded; inspect the stable error code