InvoiceTotal
Magento\SalesGraphQl\Model\Resolver\Invoice\InvoiceTotal
What it does
This resolver class handles GraphQL queries for invoice total information in Magento 2.
It transforms invoice and order data into a structured format containing grand totals, subtotals, taxes, shipping costs, and discounts with proper currency formatting.
Developers use this when implementing or customizing the customer invoice GraphQL API to display detailed invoice totals in headless storefronts or custom integrations.
Public Methods
- resolve()