The Export Job Events imply the current status of the Export Job through the export lifecycle. Send a request to this endpoint to update the status of the export job. If an export job has failed, mention the failure reason and the reason type.
JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>
| Value | Description |
|---|---|
| started | The integration has started processing the job. |
| failed | The job has failed due to a connection error, authentication failure, or similar issue. |
| completed | The job has been successfully processed. |
| completed_with_errors | The job has been completed, but only some accounting entries were exported successfully. |
started, failed, completed, completed_with_errors Identifier of the job the event is to be processed for.
Reason why the job failed in the case of a failure. Include this only when the export job event has a failed status.
| Value | Description |
|---|---|
| invalid_configuration | This would define a failure reason pertaining to invalid configuration needed to complete the export job or interact with the accounting system. |
| missing_configuration | This would define a failure reason pertaining to incomplete configuration needed to complete the export job or interact with the accounting system. |
| authentication_failure | Pleo API failed to authenticate with the integration service when sending off a WebHook API call. |
| accounting_system_authentication_failure | Integration service could not authenticate with the accounting system. |
| pleo_rate_limit | Irrecoverable rate limit issue with Pleo API. |
| accounting_system_rate_limit | Irrecoverable rate limit issue with the accounting system. |
| service_unreachable | Integration service unreachable. |
| accounting_system_unreachable | Integration service unable to reach accounting system. |
| validation_failure | Irrecoverable validation error making the job unprocessable. |
| authorization_failure | Authorisation revoked or user no longer has access in the accounting system. |
| integration_unusable | Integration service blocked or unusable for the customer. |
| job_expired | Job not updated within expiry time limit. |
| service_timeout | Irrecoverable timeout communicating with integration service. |
| accounting_system_timeout | Irrecoverable timeout communicating with accounting system. |
| canceled_by_user | Job was canceled by user. |
invalid_configuration, missing_configuration, authentication_failure, accounting_system_authentication_failure, pleo_rate_limit, accounting_system_rate_limit, service_unreachable, accounting_system_unreachable, validation_failure, authorization_failure, integration_unusable, job_expired, service_timeout, accounting_system_timeout, canceled_by_user Export Job Event created successfully.