Skip to main content
Version: 🚧 Next

Basylic document assessment

Basylic scans documents on being fraudulent or not. First the document needs to be uploaded to them, secondly they assess the documents. The amount of time this assessment can take is described in an SLA with Basylic for each customer.

In order to implement the basylic document assessment three actions needs to be taken:

  • Update the module DOSSIER_DOCUMENTS, with:
...
"assessment": {
"enabled": true,
"defaultValue": "DEFAULT",
"providerIdentifier": "Basylic - Upload"
},
...
  • Create the basylic upload document assessment provider
  • Create the basylic scheduled document assessment provider

Make sure to add a resultMapping in the upload provider, with the OK result matching to the pendingState in the scheduled provider otherwise the documents will be ignored in the scheduled provider. BasylicUploadDocumentAssessmentProvider:

{
...
"resultMapping": {
"OK": "PendingStatus",
...
}
}

BasylicScheduledDocumentAssessmentProvider:

{
...
"pendingState": "PendingStatus"
}

Basylic Upload Document Assessment Provider

🎯 Functional documentation​

This provider is responsible for uploading documents to the Basylic external service for fraud assessment. When a document is processed by this provider, it is sent to a specific folder within Basylic. The assessment itself is not done immediately; this provider only handles the upload. The actual result is retrieved later by the BasylicScheduledDocumentAssessmentProvider.

⚙️ Configuration​

Implementation class​

  • eu.myharmoney.app.providers.documents.assessment.basylic.BasylicUploadDocumentAssessmentProvider

Settings Configuration

Examples