The package exposes small deterministic formulas as well as a controlled complete workflow. Rates are decimals, time is measured in years and money in one call uses one currency.
library(financialinstrumentsaccounting)
discount_factor(0.05,1)
#> [1] 0.952381
effective_interest_rate(1000,list(c(1,1100)))
#> [1] 0.1
component_ecl(0.02,100000,0.40,0.05,1)
#> [1] 761.9048Policy and model inputs remain explicit. The packaged policy has a fixed ID and date rather than a floating “latest” value.
policy <- get_policy()
policy[c("policy_id","reporting_date","past_due_sicr_days")]
#> $policy_id
#> [1] "EU_FINANCIAL_INSTRUMENTS_2026_V1"
#>
#> $reporting_date
#> [1] "2026-12-31"
#>
#> $past_due_sicr_days
#> [1] 30
get_formula("F-ECL-001")
#> $id
#> [1] "F-ECL-001"
#>
#> $version
#> [1] "1.0.0"
#>
#> $name
#> [1] "component_ecl"The synthetic small profile runs entirely offline.
APPROVED_REFERENCE means the package controls passed; it is
not an institutional approval.