debt-position-changedv0.0.1
The debt position for a client has changed
Context
Events on a Supervision client in Sirius can cause the money owed to change and invoices be created. Automated processes in the Supervision Finance service need to be made aware of these changes to the debt position.
Trigger
An invoice is created in Sirius.
Effect
Supervision Finance attempts to reapply any excess credit on account for the client whose debt position changed.
Consumer / Producer Diagram
Examples
1{
2 "clientId": 1
3}
4
debt-position-changed Schema (json)
{
"$id": "https://opg.service.justice.gov.uk/opg.supervision.sirius/debt-position-changed.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "opg.supervision.sirius/debt-position-changed",
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"description": "The client ID whose debt position changed"
}
},
"required": ["clientId"]
}
Edit this pageLast updated on 2024/11/22