Back to Platform

Riptide Fee Management

Overview

Riptide Fee Management is an enterprise-grade fee calculation and distribution service for government and regulated organizations. It provides centralized fee structure management, dynamic calculation engines, multi-party distribution logic, and comprehensive audit trails—enabling agencies to maintain accurate, compliant, and transparent fee processing across their service portfolio.

Purpose

Traditional fee management embeds calculation logic directly into application code, creating maintenance nightmares when fee structures change, regulations evolve, or new services launch. Riptide Fee Management solves this by:

  1. Centralizing all fee structures in a single, version-controlled repository
  2. Supporting historical fee lookups for retroactive calculations and compliance audits
  3. Enabling formula-based calculations that reference other fees and business context
  4. Automating multi-party distributions with configurable accounting codes
  5. Providing workflow integration for seamless fee calculation within business processes
  6. Generating comprehensive audit trails for regulatory reporting and reconciliation

Key Capabilities

  • Dynamic Fee Calculation: Execute fee calculations using fixed amounts, formulas, tiered structures, or percentages
  • Historical Fee Support: Calculate fees using structures effective on any past date for retroactive processing
  • Multi-Party Distributions: Automatically split fees across multiple accounting codes with percentage or fixed-amount rules
  • Tenant Isolation: Complete data separation for multi-tenant government platforms
  • Workflow Integration: Native integration with Riptide Platform workflow engine for automated fee processing
  • Formula Engine: Support complex calculations referencing other fees, context variables, and conditional logic
  • Comprehensive Audit Trail: Track every calculation with full context for compliance and reconciliation
  • Performance Optimized: Designed for ≥2000 calculations per minute with sub-500ms P95 latency

Fee Calculation System

Riptide Fee Management supports multiple calculation methods to accommodate diverse business requirements:

  • Fixed Amount: Simple flat fees ($100.00)
  • Formula-Based: Dynamic calculations (base_amount + (expedited ? expedited_fee : 0))
  • Tiered Structures: Range-based fees (e.g., entity value tiers)
  • Percentage Calculations: Proportional fees based on transaction amounts
  • Historical Calculations: Use fee structures effective on specific dates
  • Distribution Rules: Automatic splitting across accounting codes with priority ordering

Integration Points

  • REST API: Calculate fees and manage structures from any application via HTTP endpoints
  • Workflow Engine Integration: Automated fee calculation steps within Riptide Platform workflows
  • Platform SDK Foundation: Built on Riptide Platform SDK components (Logging, Configuration, Monitoring, Tenant Isolation)
  • Caching Layer: High-performance in-memory caching for frequently accessed fee structures
  • Configurable Persistence: Entity Framework Core with pluggable database providers (SQL Server, PostgreSQL, others)
  • Observability: OpenTelemetry distributed tracing via Platform Monitoring SDK

Common Use Cases

  • Document Filing Fees: Calculate fees for business entity filings, amendments, and renewals with historical accuracy
  • Multi-Party Collections: Split filing fees across state agencies, processing entities, and fund accounts
  • Service Request Fees: Dynamic fee calculation for expedited processing, research requests, and premium services
  • Compliance Fee Structures: Maintain historical fee structures for audit compliance and retroactive calculations
  • Fee Reconciliation: Generate detailed breakdowns for financial reconciliation and reporting
  • Regulatory Fee Changes: Deploy new fee structures with effective dates without code changes or downtime

Technical Specifications

  • Platform: .NET 8.0 with ASP.NET Core
  • Data Storage: Entity Framework Core with configurable database providers (SQL Server, PostgreSQL, etc.)
  • Caching: In-memory caching with configurable TTL
  • Authentication: OAuth2/JWT via Riptide Platform Identity
  • Deployment: Docker containers with Kubernetes orchestration
  • API Documentation: OpenAPI/Swagger with RFC 7807 error responses
  • Monitoring: OpenTelemetry distributed tracing and metrics
  • Performance: ≥2000 calculations/minute, ≤500ms P95 latency, 99.5% availability

Why Riptide Fee Management

  • Regulatory Compliance: Maintain accurate historical fee records for audits and legal requirements
  • Operational Efficiency: Centralize fee management across all services
  • Financial Accuracy: Eliminate calculation errors with tested, version-controlled fee structures
  • Rapid Deployment: Launch new services without custom fee calculation code
  • Transparency: Complete audit trails for every fee calculation and distribution
  • Scalability: Handle high-volume transaction processing with horizontal scaling
  • Integration Ready: Native workflow integration and SDK support for seamless adoption
  • Multi-Tenant: Complete tenant isolation for shared platform deployments