Job
ResponseA long-running operation. Every asynchronous action answers 202 Accepted with a job and a Location header pointing at it; poll it or wait for the matching webhook event.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
9What the job does. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) export, bank_statement_import, document_digitize
Current state. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) queued, running, succeeded, failed
When the job last changed state as its source records it: completed_at once it is final, created_at before that. Poll status, not this.
Outcome, present once succeeded. Its shape depends on type; it always names the resource(s) the job produced.
Why the job failed, present once failed.