📄 Document Resource

Document and statement management with secure file handling

Document management system for files, statements, and compliance documents. Handle file uploads, downloads, metadata management, and automated statement generation.

8
Endpoints
File+Meta
Management
Statements
Generation
Secure
Storage
📄

File Management

File upload, download, and management with secure storage, virus scanning, and file type validation for compliance documents.

📋

Document Types & Metadata

Support for statements, compliance docs, and custom files with metadata tracking, version control, and entity associations.

📊

Statement Generation

Financial statement generation with configurable date ranges, entity filtering, and multi-format output for regulatory compliance.

Available Endpoints

Document Operations

POST Create Document Register document with virus scanning and type validation
GET Get Documents Retrieve documents with entity associations and metadata
PUT Update Document Update document metadata with validation and audit trail
DELETE Delete Document Remove document (secure deletion with audit trail)

File Operations

POST Upload File Upload files with automatic validation and secure storage
GET Download File Download files with access control and audit logging
PUT Update File Replace file content with version control and validation

Statement Generation

POST Generate Statement Generate statements with date ranges and entity filtering

Common Use Cases

📋

Compliance Document Management

Store and manage KYC/AML documents, ID verification files, and regulatory compliance records with automated validation, audit trails, and retention policy enforcement for AUSTRAC and ASIC requirements.

💼

Investor Statement Generation

Automatically generate periodic portfolio statements, transaction summaries, and tax reports for investors with configurable date ranges, multi-format export (PDF/Excel/CSV), and automated distribution tracking.

🔒

Audit Trail & Document Versioning

Maintain complete document lifecycle history with version control, access logging, and modification tracking for compliance audits, regulatory reviews, and internal governance requirements.

🔗

Integration with Report Resource

Seamlessly integrate with Report resource for async report generation, storing generated reports as Document records with proper metadata linkage for retrieval, distribution, and compliance reporting.

Core Data Transfer Objects

DocumentDTO POST, PUT, GET Document endpoints Document metadata structure (16 properties) including type classification, file metadata, entity associations (BizEntity, Organisation), security settings, portal visibility flags, and public access controls
StatementDTO Statement generation endpoint Statement generation parameters (14 properties) with statement type, entity filters (Product, Investment, CorporateAction, BizEntity, Organisation), date ranges, and code identification

Business Rules & Constraints

File Management & Validation

  • File type validation: Supported formats include PDF, DOCX, XLSX, CSV, PNG, JPG with MIME type verification
  • Size limits: Maximum file size configurable per document type (10MB images, 25MB documents, 50MB spreadsheets)
  • Virus scanning: All uploaded files scanned for malware before storage acceptance
  • Version control: Document updates create new versions with rollback capabilities and version history

Statement Generation

  • Date range validation: Statement generation requires valid startDate and endDate parameters
  • Entity filtering: Supports BizEntity, Account, and Investment-level statement scoping with multi-entity consolidation
  • Multi-format export: PDF, Excel, and CSV formats with template-based customization
  • Regulatory compliance: Statement templates follow ASIC, AUSTRAC, and ATO reporting format requirements

Security & Access Control

  • Access control: Document retrieval restricted to authorized users with entity-level permissions
  • Audit logging: All operations (upload, download, update, delete) logged with timestamp and user attribution
  • Document classification: Type-based classification (Compliance, Statement, Contract, ID) enforces retention policies
  • Portal visibility: Documents flagged for investor portal access with separate permissions and expiration dates
  • Deletion restrictions: Documents linked to active compliance records cannot be deleted

Integration & Cross-Resource Dependencies

  • BizEntity linkage: Documents associated with BizEntity records for investor-specific document management
  • Report integration: Generated reports from Report resource automatically stored as Document records
  • Transaction references: Documents can reference BizTransaction, Distribution, or Investment records
  • External system integration: ExternalDocumentId supports external DMS synchronization and idempotency

Document Management Workflows

Document resource integrates with the broader 7G ecosystem, providing secure file storage, automated statement generation, and compliance documentation management across all investor operations.

📊

Report Integration

Generated reports from Report resource automatically stored as Document records with proper metadata linkage. Async report generation creates Document entries for retrieval, distribution tracking, and compliance archival.

🏢

BizEntity Document Association

Documents link to BizEntity records for investor-specific file management. KYC documents, compliance records, and investor communications stored with entity associations enabling portal visibility and compliance workflows.

💰

Transaction & Distribution Documentation

Documents reference BizTransaction and Distribution records for contextual associations. Transaction confirmations, distribution statements, and allotment notices stored with proper linkage for audit trails and investor communications.