THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    Report corrections for a previously invoiced billing period

    FOCUS Versions

    v1.3 v1.4

    Context

    When service providers issue corrections that adjust historical invoices, practitioners must reconcile those adjustments against prior records.

    FOCUS SQL Query

    SELECT
      ServiceProviderName,
      BillingAccountId,
      ChargeCategory,
      ServiceCategory,
      ServiceName,
      SUM(BilledCost) AS TotalBilledCost
    FROM focus_data_table
    WHERE BillingPeriodStart >= ? AND BillingPeriodEnd < ?
      AND ChargeClass = 'Correction'
    GROUP BY
      ServiceProviderName,
      BillingAccountId,
      ChargeCategory,
      ServiceCategory,
      ServiceName

    FOCUS Datasets

    FOCUS Columns