Cancel credit exposure (Ormuz Credit Management)
Records a `credit_cancelled` movement to cancel the remaining part of exposure that should no longer be maintained.
Vue d’ensemble
Records a credit_cancelled movement to cancel the remaining part of exposure that should no longer be maintained.
Exemple
Cancel the remainder of an abandoned authorization after final cancellation of the associated order.
Parameters 6
company
Buyer company whose credit limit or exposure is read or modified.
currency
ISO 4217 currency of the relevant limit or exposure.
source
Business object — invoice, order, or checkout — materializing credit consumption when available.
authorization_movement
Optional
credit_granted movement from the same exposure. This link adds transactional traceability without changing exposure arithmetic.reason
Business reason explaining why this credit movement is recorded.
metadata
Free-form metadata associated with the limit or movement according to the
common.metadata contract.Outputs 1
credit_exposure
Current credit exposure after reading or applying the requested movement.
Behavior
The cancellation movement reduces remaining outstanding exposure while keeping prior facts auditable in the ledger.
Key point The credit ledger retains facts as movements. A correction produces a new explicit movement instead of silently rewriting a historical fact.
Limits and responsibilities
- Cancellation does not correct erroneous consumption; use a reversal for that.
- It neither refunds nor settles a payment: it concerns only the credit-exposure ledger.