Ormuz Credit ManagementHelperStable

Fetch effective credit limit (Ormuz Credit Management)

Resolves a company's effective credit limit at a given date by combining only applicable limits according to the selected strategy.

Vue d’ensemble

Resolves a company's effective credit limit at a given date by combining only applicable limits according to the selected strategy.

Exemple

Before an order, combine merchant and insurer limits by taking the highest, lowest, or cumulative amount according to credit policy.

Parameters 6

companyRequisCompany
Buyer company whose credit limit or exposure is read or modified.
currencyRequiscurrency code
ISO 4217 currency of the relevant limit or exposure.
basisRequisenum
Calculation basis for limit and exposure: amounts excluding or including tax. Compared values must use the same basis.
strategyRequisenum
Strategy for combining applicable limits: maximum keeps the highest, minimum the lowest, cumulative adds them.
sourcesOptionnelstring
Optional filter on limit origins to include in effective resolution.
atOptionneldate
Optional date at which to evaluate limit applicability; without a value, resolution uses the current date.

Outputs 1

effective_credit_limitEffective credit limit
Projection resulting from active/applicable limits after currency, basis, source, date, and combination-strategy filters.

Behavior

Ormuz filters active, in-period limits for the selected currency, basis, and sources; maximum/minimum retain one candidate limit while cumulative adds all candidates.

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 effective projection is not a new credit authorization and modifies no limit.
  • Always compare exposure calculated in the same currency and tax basis.
  • The strategy must reflect your policy; adding two limits is legitimate only when they are truly cumulative.