Invoiced
Magento\Sales\Model\ResourceModel\Report\Invoiced
What it does
This resource model aggregates invoice-related sales data for reporting purposes in Magento 2.
Developers use this class to generate statistical reports about invoiced orders, including metrics like total invoiced amounts, captured payments, and order counts, grouped by time periods and store views.
The aggregate() method is typically called by scheduled cron jobs to keep invoice reports up-to-date for the admin dashboard.
Public Methods
- aggregate()