Repository
InvoiceRepositoryInterface
Magento\Sales\Api\InvoiceRepositoryInterface
What it does
This repository interface provides methods for managing invoice entities in Magento 2.
Developers use it to retrieve, create, save, and delete invoices, which are records of payment receipt for orders.
It supports both individual invoice operations and bulk retrieval using search criteria for filtering and pagination.
Public Methods
- getList()
- create()
- get()
- delete()
- save()