Ormuz Credit ManagementHelperStable

Add credit limit (Ormuz Credit Management)

Adds a dated and sourced credit limit for a company, active or inactive, without deleting other existing limits.

Overview

Adds a dated and sourced credit limit for a company, active or inactive, without deleting other existing limits.

Example

Record a EUR 50,000 limit granted by a credit insurer, valid until the next review date.

Parameters 10

companyRequiredCompany
Buyer company whose credit limit or exposure is read or modified.
basisRequiredenum
Calculation basis for limit and exposure: amounts excluding or including tax. Compared values must use the same basis.
amountRequiredamount
Limit amount in minor monetary units of the selected currency.
currencyRequiredcurrency code
ISO 4217 currency of the relevant limit or exposure.
sourceRequiredenum
Business origin of the limit: merchant, credit insurer, or BNPL provider. This origin participates in effective-limit resolution.
activeOptionalboolean
Whether this limit should become a candidate for effective-limit resolution as soon as it is created.
valid_fromOptionaldate
Optional start of the period during which this limit may be considered applicable.
valid_untilOptionaldate
Optional end of the period during which this limit may be considered applicable.
source_referenceOptionalstring
Stable reference of the system that produced the limit, useful for business correlation.
metadataOptionalmetadata
Free-form metadata associated with the limit or movement according to the common.metadata contract.

Outputs 1

credit_limitCredit limit
Canonical credit limit created with its source, validity period, and active/inactive status.

Behavior

The limit becomes an independent canonical resource. Multiple limits from different sources may coexist; the actually available limit is resolved separately by an explicit strategy.

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

  • Creating a limit neither consumes nor by itself authorizes exposure.
  • An inactive or out-of-period limit must not contribute to the effective limit.
  • The source describes who owns the limit decision; it must not be used as a free-form tag.