Skip to content

Compliance

Understanding compliance features in Islamic Open Finance™.

Compliance Layers

Shariah Compliance

Automatic validation of Islamic finance principles:

typescript
const check = await iof.compliance.checkShariah({
  contractId: "contract_123",
});

// {
//   compliant: true,
//   checks: [
//     { rule: "no_riba", passed: true, details: "No interest charges" },
//     { rule: "asset_backed", passed: true, details: "Underlying asset identified" },
//     { rule: "gharar", passed: true, details: "Terms are clear and certain" }
//   ]
// }

Regulatory Compliance

Jurisdiction-specific rules:

typescript
const check = await iof.compliance.checkRegulatory({
  contractId: "contract_123",
  jurisdiction: "MY", // Malaysia
});

// {
//   compliant: true,
//   framework: "BNM_SHARIAH",
//   checks: [
//     { rule: "bnm_murabaha_guidelines", passed: true },
//     { rule: "disclosure_requirements", passed: true }
//   ]
// }

Supported Jurisdictions

CodeJurisdictionFramework
MYMalaysiaBNM Shariah
AEUAECBUAE
SASaudi ArabiaSAMA
BHBahrainCBB
GBUnited KingdomFCA
SGSingaporeMAS

Compliance Reports

Generate regulatory reports:

typescript
const report = await iof.compliance.generateReport({
  type: "AAOIFI_FAS",
  period: { start: "2024-01-01", end: "2024-12-31" },
  format: "pdf",
});

Real-time Monitoring

Set up compliance alerts:

typescript
await iof.compliance.createAlert({
  type: "threshold_breach",
  conditions: {
    metric: "exposure",
    operator: "gt",
    value: 1000000,
  },
  webhook: "https://yourapp.com/alerts",
});

Next Steps

Licensed under the Apache License 2.0