Grant credit (Ormuz Credit Management)
Records a `credit_granted` movement that increases authorized exposure after a credit decision.
Vue d’ensemble
Records a credit_granted movement that increases authorized exposure after a credit decision.
Exemple
After an approved checkout check, record the EUR 5,000 authorization that will serve as a reference for later credit mutations.
Parameters 7
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.
metadata
Free-form metadata associated with the limit or movement according to the
common.metadata contract.credit_availability_check
Result of a capacity check already performed. When supplied to
grant_credit, it links the authorization to that decision.Outputs 2
credit_exposure
Current credit exposure after reading or applying the requested movement.
authorization_movement
credit_granted movement created by the operation. Its cem_* ID can be explicitly linked to subsequent mutations.Behavior
The node creates or updates exposure and adds a durable authorization movement. It exposes that movement so consume/release/settle/cancel can explicitly link to it when desired.
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
- The node records an authorization; it creates neither payment nor invoice.
- The link to a
credit_availability_checkprovides traceability: the authorization must still reflect the decision actually made by the process. - Amounts excluding/including tax must match the economic basis tracked by your process.