Accounting Metrics

The AggregateMetric Object

Rutter performs various computations over your commerce data. The results of these computations are called aggregate metrics.

You can find the metrics we support, their corresponding metric name, and the formula used to compute them here.

Properties

start_datestring

The starting date from which we start aggregating activity (revenue, expenses, etc).

end_datestring

The date at which we stop aggregating activity (revenue, expenses, etc).

currencystring

If applicable, the currency used for the value returned.

valuestring

The value of the requested metric for the time range described by the start and end date.

Endpoints
GET
/accounting/metrics/:metricName

Fetch a Metric

GEThttps://production.rutterapi.com/versioned/accounting/metrics/:metricName

The object returned will use a key matching the value of the parameter "Metric Name". It will also have a connection and checkpoint key. All other keys will be undefined.

For example, if you send a request to '/versioned/accounting/metrics/ebitda', you will receive an object with values for the keys "ebitda", "connection", and "checkpoint", nothing else.

Request Parameters

    metricNameenumpathRequired

    The path of the accounting metric.

    One ofebitdaebitda_marginnet_operating_incomedepreciation_expenseinterest_expenseamortization_expensegross_profit_margintotal_incomecost_of_goods_soldcurrent_ratioworking_capitalcurrent_liabilitiescurrent_assetsquick_ratioinventoryunearned_revenuesprepaid_expensesenterprise_free_cash_flowchange_in_working_capitalcapital_expenditureenterprise_free_cash_flow_formula_twodebt_service_coverage_ratiodebt_service_from_income_statementdebt_service_from_principal_paidprincipal_paiddebt_servicerental_expensetotal_revenuetotal_expensesnet_incomenet_profit_margindebt_to_income_ratio, or cash_flow_to_debt_ratio.
    access_tokenstringqueryRequired

    The access token of the connection.

    force_fetchenumqueryOptional

    Used to force a response even if the underlying connection has not finished its initial sync.

    One oftrue or false.

Response Body

Support by integration
  • QuickBooks
    QuickBooks
  • Xero
    Xero
  • QuickBooks Desktop
    QuickBooks Desktop
  • NetSuite
    NetSuite

Accounting Metrics Formula

Rutter supports the ability to fetch accounting metrics from an accounting connection. This can be used to compute metrics such as EBITDA without additional engineering work.

If you need a metric that is not currently supported, please contact us directly. We're happy to build new metrics as needed.

The metrics supported are listed below, along with the formula used to compute them:

Accounting MetricMetric Name (Used as Param)Formula
EBITDAebitdaNet Income + D & A + Interest
EBITDA Marginebitda_marginEBITDA / Total Income
Net Operating Incomenet_operating_incomeLifted from Income Statement
Depreciation Expensedepreciation_expenseSum of accounts with “depreciation” in name
Amortization Expenseamortization_expenseSum of accounts with “Amortization” in name
Interest Expenseinterest_expenseSum of accounts with “interest” in name
Gross Profit Margingross_profit_margin(Total Income - Total Cost of Goods Sold) / (Total Income)
Total Incometotal_incomeLifted from income statement
Cost of Goods Soldcost_of_goods_soldLifted from income statement
Net Incomenet_incomeLifted from income statement
Current Ratiocurrent_ratioCurrent Assets / Current Liabilities
Working Capitalworking_capitalCurrent Assets - Current Liabilities
Current Liabilitiescurrent_liabilitiesLifted from Balance Sheet
Current Assetscurrent_assetsLifted from Balance Sheets
Quick Ratioquick_ratio(Current Assets - Total Inventory - Total Prepaid Expenses) / (Current Liabilities - Total Unearned Revenue)
InventoryinventorySum of asset accounts with “Inventory” in name
Unearned Revenuesunearned_revenuesSum of Liability Accounts with “Unearned Revenue” in name
Prepaid Expensesprepaid_expensesSum of asset accounts with “Prepaid” in name
Enterprise Free Cash Flowenterprise_free_cash_flowNet Income + Change in working Capital + Capex + interest expense * (1 - tax rate) + D&A
Change in working Capitalchange_in_working_capitalWorking capital of current period - working capital of prior period
Capexcapital_expenditureTotal Investing Activity from Cash flow Statement
Debt Service Coverage Ratiodebt_service_coverage_ratioEnterprise Free Cash Flow / Total Debt Service
Debt Servicedebt_serviceInterest Paid from income statement + Rental Expense + Principal Paid

Have questions?

Contact support for personalized guidance.

Contact support