Log in
Model

Tax

Magento\Tax\Model\Sales\Pdf\Tax

What it does

This class handles the display of tax totals in PDF documents (invoices, credit memos) for sales orders in Magento 2.

Developers use this class when customizing how tax information appears on PDF documents, allowing configuration of whether taxes are shown separately or included in the grand total, and whether to display full tax summaries based on store configuration settings.

Public Methods

  • getTotalsForDisplay()