Trigger (or poll) the digital hub historical invoice retrieval job
POST/legal-entities/:legalEntity/digital-hub/historical-retrieval
Starts a historical invoice retrieval job for the given date range if none exists yet for it, otherwise returns the progress/result of the already started job. Only one new or in progress job per subject type is allowed for a legal entity at a time.
Request
Responses
- 200
- 201
- 400
- 403
- 404
- 409
- 422
Digital hub historical retrieval job status
LegalEntity resource created
Invalid input
Missing permission or feature disabled for this legal entity
Resource not Found
Downloading past invoices is disabled, input is invalid, or another job for this subject type is already new or in progress
An error occurred