Model
Config
Magento\Sales\Model\Order\Invoice\Config
What it does
This class manages the configuration for invoice total collectors in Magento 2.
It extends the base total configuration to handle how various totals (subtotal, tax, shipping, discounts, etc.) are calculated and displayed on invoices.
Developers would use this when customizing invoice total calculation order or adding custom total collectors to invoices.