Compliance reports
Generate an evidence inventory report and record a filing receipt.
Routes: /dashboard/platform/compliance-reports and /[id]. Needs canManageComplianceReports.
- Generate:
generateComplianceReport(reportType, jurisdictionId, merchantProfileId, periodStartsAt, periodEndsAt). The report type isevidence_inventoryand the period is 93 days at most. The run storescontentDigest,content, source transaction ids, and policy versions. - Export inventory:
exportComplianceInventory(profileId)snapshots the current evidence and writesevidence.inventory_exported. - Record submission:
recordComplianceReportSubmission(reportId, filingReceiptReference, status)setssubmitted,accepted, orrejectedfromgenerated,reviewed, orsubmitted, with a receipt reference.
An evidence inventory documents your own records; filings to a regulator are made through that regulator's channel, and you record the receipt here.