X-08 · Archive filing
SOP:
SOP_XBRL_Filing.md§6 / Step 8.0 (FILED → ARCHIVED)Actors: XBRL Reviewer or Platform Admin —MANAGE_XBRL_FILING. Pre-state: Filing atFILED. Post-state: Filing atARCHIVED— terminal state, read-only. Retention policy applies.
0. Prerequisites
- Filing at
FILED(see X-07).
1. Steps
http
POST /ops/xbrl/filings/<filingId>/archive
Authorization: Bearer <xbrl-reviewer-jwt>(Or click Archive on the filing detail page.)
The handler:
- Asserts
MANAGE_XBRL_FILING. - Asserts filing is at
FILED. - Transitions filing
FILED → ARCHIVED. - Emits
AuditEventxbrl.filing.archived.
2. Verification
Database
sql
SELECT status FROM xbrl_filings WHERE id = '<filingId>';
-- expect 'ARCHIVED'Audit log
| Event type | Notes |
|---|---|
xbrl.filing.archived | actor + timestamp |
3. Negative & edge cases
- Archive from
EXPORTED— refused; mark filed first. The platform deliberately requires a regulator reference before an archive can seal the filing. - Re-open an archived filing — not supported in code; the FSM has no transition out of
ARCHIVED. If the client genuinely needs to amend, create a new filing for the same period with a differenttaxonomyVersion(if applicable) or as a re-filing with a documented reason in the activity log. - Retention purge — out of scope for this flow. The retention job purges bytes after the configured window; audit metadata is retained.
Next
End of the XBRL filing lifecycle. For the upstream engagement, see the Financial Statements userflows.