Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

ocrJobRetry

mutation

Retry a failed OCR job

Only allowed when the job is in the failedstate. Resumes polling the existing provider transaction and consumes a new scan / RollOver unit (a retry is billed as a fresh scan). Jobs that never reached the provider cannot be retried — upload the document again instead.

mutation {
  ocrJobRetry(companyId: Int!, ocrJobId: String!): OcrJob!
}

Returns: OcrJob!

Arguments

NameTypeDescription
companyIdInt!
ocrJobIdString!

© 2026 Moloni ON

Tax Authority Certificate No. 3075