Skip to main content

Module treasury

Module treasury 

Source
Expand description

Treasury and cash management generators.

This module provides generators for:

  • Daily cash positions aggregated from payment flows
  • Cash forecasts with probability-weighted items
  • Cash pool sweeps (zero-balancing, physical, notional)
  • Hedging instruments and hedge relationship designations
  • Debt instruments with amortization schedules and covenants
  • Bank guarantees and letters of credit
  • Intercompany netting runs

Structs§

AccountBalance
End-of-day balance for a bank account, used as input for sweep generation.
ApAgingItem
A payable item from AP aging for forecast input.
ArAgingItem
A receivable item from AR aging for forecast input.
BankGuaranteeGenerator
Generates bank guarantees and letters of credit.
CashFlow
An individual cash flow event to be aggregated into positions.
CashForecastGenerator
Generates cash forecasts with probability-weighted items.
CashPoolGenerator
Generates cash pool structures and daily sweep transactions.
CashPositionGenerator
Generates daily cash positions by aggregating cash flows per bank account.
CovenantEvaluationResult
Result returned by CovenantEvaluator::evaluate_covenants.
CovenantEvaluator
Stateless evaluator that updates covenant records from actual ratio data.
DebtGenerator
Generates debt instruments with amortization schedules and covenants.
FxExposure
An FX exposure from outstanding AP/AR balances.
HedgingGenerator
Generates hedging instruments and hedge relationship designations.
NettingRunGenerator
Generates intercompany netting runs from IC transaction amounts.
ScheduledDisbursement
A scheduled disbursement (payroll, tax, debt service).
TreasuryAccounting
Generates journal entries for treasury instruments.
TreasuryAnomalyInjector
Injects treasury anomalies into generated data.
TreasuryAnomalyLabel
A labeled treasury anomaly for ground truth.

Enums§

CashFlowDirection
Direction of a cash flow.
TreasuryAnomalySeverity
Severity of the anomaly.
TreasuryAnomalyType
Types of treasury anomalies that can be injected.