Skip to main content
POST
Upload an invoice PDF and publish the invoice

Autorizaciones

X-API-KEY
string
header
requerido
OW-KEY
string
header
requerido

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Parámetros de ruta

invoiceId
integer<int64>
requerido

Invoice id

Cuerpo

multipart/form-data
file
file
requerido

The invoice PDF

Respuesta

Successful response

type
string
requerido

Entity type label, e.g. "Invoice". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.

data
object
requerido

Invoice in its external-API projection (InvoiceExternalAPI = full Invoice fields with buyerSupplierRelationship replaced by an external projection). Abridged - the full model carries approval-hierarchy, dispute and hydrated relation fields. For third-party suppliers responses are masked.

status
enum<string>
requerido

"ok" on success

Opciones disponibles:
ok