Skip to content

Reporting Rail

Regulatory and operational reporting endpoints.

The Reporting rail provides:

  • Regulatory reports
  • Compliance reports
  • Operational dashboards
  • Custom report generation
POST /v1/reports
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:

{
"id": "rpt_abc",
"type": "AAOIFI_FAS_28",
"status": "generating",
"createdAt": "2024-01-15T10:30:00Z"
}
GET /v1/reports/:id
const report = await iof.reports.get("rpt_abc");
GET /v1/reports/:id/download
const file = await iof.reports.download("rpt_abc");
GET /v1/reports
const reports = await iof.reports.list({
type: "AAOIFI_FAS_28",
status: "completed",
limit: 20,
});
POST /v1/reports/schedules
const schedule = await iof.reports.createSchedule({
type: "monthly_summary",
frequency: "monthly",
dayOfMonth: 1,
recipients: ["finance@bank.com"],
});
TypeDescriptionStandard
AAOIFI_FAS_28Murabaha disclosureAAOIFI
AAOIFI_FAS_32Ijarah disclosureAAOIFI
BNM_FORM_1BNM regulatoryMalaysia
CBUAE_PRUDENTIALPrudential reportUAE
TypeDescription
monthly_summaryMonthly overview
transaction_logTransaction details
audit_trailAudit log
risk_exposureRisk analysis
StatusDescription
pendingQueued for generation
generatingIn progress
completedReady for download
failedGeneration failed
FormatDescription
pdfPDF document
xlsxExcel spreadsheet
csvCSV data
jsonJSON data
EventDescription
report.completedReport ready
report.failedGeneration failed