Log in
Model

ItemRepository

Magento\Sales\Model\Order\Invoice\ItemRepository

What it does

This repository class provides CRUD operations for managing individual invoice item records in Magento 2.

Developers use it to retrieve, save, delete, or search for invoice items programmatically using the service contract pattern.

It acts as the primary interface for invoice item data access, abstracting database operations and ensuring proper error handling.

Public Methods

  • getList()
  • get()
  • delete()
  • save()