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

Auktoriseringar

X-API-KEY
string
header
obligatorisk
OW-KEY
string
header
obligatorisk

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

Sökvägsparametrar

invoiceId
integer<int64>
obligatorisk

Invoice id

Kropp

multipart/form-data
file
file
obligatorisk

The invoice PDF

Svar

Successful response

type
string
obligatorisk

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
obligatorisk

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>
obligatorisk

"ok" on success

Tillgängliga alternativ:
ok