Skip to content

Reporting Rail

Regulatory and operational reporting endpoints.

Overview

The Reporting rail provides:

  • Regulatory reports
  • Compliance reports
  • Operational dashboards
  • Custom report generation

Endpoints

Generate Report

http
POST /v1/reports
typescript
const report = await iof.reports.generate({
  type: "AAOIFI_FAS_28",
  period: {
    start: "2024-01-01",
    end: "2024-12-31",
  },
  format: "pdf",
  parameters: {
    jurisdiction: "MY",
  },
});

Response:

json
{
  "id": "rpt_abc",
  "type": "AAOIFI_FAS_28",
  "status": "generating",
  "createdAt": "2024-01-15T10:30:00Z"
}

Get Report

http
GET /v1/reports/:id
typescript
const report = await iof.reports.get("rpt_abc");

Download Report

http
GET /v1/reports/:id/download
typescript
const file = await iof.reports.download("rpt_abc");

List Reports

http
GET /v1/reports
typescript
const reports = await iof.reports.list({
  type: "AAOIFI_FAS_28",
  status: "completed",
  limit: 20,
});

Schedule Report

http
POST /v1/reports/schedules
typescript
const schedule = await iof.reports.createSchedule({
  type: "monthly_summary",
  frequency: "monthly",
  dayOfMonth: 1,
  recipients: ["finance@bank.com"],
});

Report Types

Regulatory Reports

TypeDescriptionStandard
AAOIFI_FAS_28Murabaha disclosureAAOIFI
AAOIFI_FAS_32Ijarah disclosureAAOIFI
BNM_FORM_1BNM regulatoryMalaysia
CBUAE_PRUDENTIALPrudential reportUAE

Operational Reports

TypeDescription
monthly_summaryMonthly overview
transaction_logTransaction details
audit_trailAudit log
risk_exposureRisk analysis

Report Status

StatusDescription
pendingQueued for generation
generatingIn progress
completedReady for download
failedGeneration failed

Output Formats

FormatDescription
pdfPDF document
xlsxExcel spreadsheet
csvCSV data
jsonJSON data

Webhooks

EventDescription
report.completedReport ready
report.failedGeneration failed

Next Steps

Licensed under the Apache License 2.0