Regulation S-X lists the two sides in different places: interest on securities is a component of non-operating income under Rule 5-03.7, while interest and amortization of debt discount is its own caption under Rule 5-03.8. Many companies nonetheless combine them into a single line on the face of the income statement and show the gross amounts in the notes. The combined figure is tagged in XBRL as InterestIncomeExpenseNonoperatingNet, with the components usually tagged InterestExpense and InvestmentIncomeInterest.
Watch the sign convention. The XBRL element is framed as income net of expense, so a company with more expense than income reports a negative value there. This field is labeled as an expense, so a net cost is shown as a positive number. Confirm the direction before adding the figure to or subtracting it from another measure. Some companies also fold dividend income or other finance items into the net line.
Net interest pairs naturally with net debt, which subtracts cash from total borrowings. Analysts who value a company on an enterprise basis often treat net interest as the cost of the net debt position. Gross interest expense is still the stricter input for coverage tests, because interest income on cash may not be available to lenders if the cash is committed elsewhere or held abroad. For banks, net interest income, the spread between interest earned on loans and paid on deposits, is the main source of revenue, and this non-operating definition does not apply.