Settle credit exposure (Ormuz Credit Management)
Records a `credit_settled` movement when part of exposure is actually settled after payment or reconciliation.
Vue d’ensemble
Records a credit_settled movement when part of exposure is actually settled after payment or reconciliation.
Exemple
After settlement of an invoice financed on credit, settle the corresponding part of exposure.
Parameters 8
company
Buyer company whose credit limit or exposure is read or modified.
currency
ISO 4217 currency of the relevant limit or exposure.
amount_excluding_tax
Amount excluding tax of the credit movement, in minor monetary units.
amount_including_tax
Amount including tax of the credit movement, in minor monetary units.
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
Settlement decreases outstanding exposure according to the observed settlement fact while preserving historical authorization and consumption movements.
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
- Do not use settle simply to make capacity available: it must correspond to a real settlement or payment fact.
- The node performs no payment; it updates the credit ledger accordingly.