Record a print job
Any signed in user. Records a receipt, invoice, credit note, label, or report as printed. A named printer must share the branch, and the legacy printed status reads back as completed.
POST
/api/v1/printing/print-jobsAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsonbranch_idstringprinter_idstring | nulldocument_typestringreference_idstringrequiredcopiesnumberstatusstringreasonstringResponses
201
Print job recorded
idstringrequiredbranch_idstringrequiredprinter_idstring | nullrequireddocument_typestringrequiredreference_idstringrequiredcopiesintegerrequiredmin -9007199254740991 · max 9007199254740991
statusstringrequiredreasonstringrequiredcreated_bystringrequiredcreated_atstringrequired400
reference_id is empty, the document type or status is invalid, copies is not an integer between 1 and 20, or the printer belongs to another branch
detailstringrequired401
Not authenticated
detailstringrequired403
Branch is outside your ownership
detailstringrequired404
Printer not found
detailstringrequired