Submit Job via Single Document Upload
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 800. You can also pin the document to a specific site or utility account by passing the corresponding siteId and/or accountId. When provided, the parsed bill is allocated to that site/account instead of relying on best-effort auto-matching — recommended for compliance-sensitive uploads to prevent bills from landing on the wrong site. Free-text notes are shared with document processing as background context.
Authorizations
Path Parameters
ID of the company for which to submit the job.
Body
Serializer for form fields during job submission.
File object representing the document to be processed by the job.
UUID of the site to pin the document to. When provided, the parsed bill is allocated to this site instead of relying on best-effort auto-matching.
UUID of the utility account to pin the document to. When provided, the parsed bill is associated with this account (and its parent utility connection) instead of relying on best-effort auto-matching.
Optional free-text notes about the submitted document (for example, what it contains or which site it belongs to). Shared with document processing as background context.
Response
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- Failed
PENDING, 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.