Submits a document to Nectar for processing and creates a job to track its progress. The company must be active to submit a job. Each document submission is tracked as a job with an id that can be used to check processing status. This endpoint returns the jobId immediately while processing continues asynchronously. Note that since this endpoint requires a file upload, the request body must be form-data. The size limit for the utility bill is 25MB, and the page limit for a submitted PDF file is 150. You can also pass in the id of a site configured for your company in Nectar.
ID of the company for which to submit the job.
Serializer for the response of job status endpoint.
The ID of the job.
255The current status of the job, one of: PENDING, COMPLETED, TERMINATED, FAILED.If the job status is FAILED, please contact our support team.
PENDING - PendingCOMPLETED - CompletedFAILED - FailedPENDING, COMPLETED, FAILED List of document IDs that were processed successfully by the job. This is only populated if the job is completed.
Number of duplicate files detected by the job. This is only populated if the job is completed.
List of document IDs that were identified as duplicates by the job. This is only populated if the job is completed.
List of document IDs that were identified as non-utility documents by the job. This is only populated if the job is completed.
The reason the job was terminated. This is only populated if the job is terminated.