Log in
Interface

InvoiceItemCreationInterface

Magento\Sales\Api\Data\InvoiceItemCreationInterface

What it does

This interface defines the data structure for creating individual invoice items when generating invoices programmatically through Magento's API.

Developers use this when they need to specify which order items to include in an invoice and their quantities, typically when creating invoices via web services or custom invoice creation logic.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()