Module "invoice_item"
Description
Invoice Item Module
This module allows you to retrieve all items in an invoice based
on its number or on its ID. This is only textual information, if
you need more details concerning the specific products on an
invoice, you need to consult the order information linked to the
invoice.
Available methods
- array get_by_id
- array get_by_invoice
Details
array get_by_id
Retrieve all invoice item information by supplying its ID
Parameters
- int $id The invoice item ID
Returns
- array $info Array containing all the invoice item information
array get_by_invoice
Retrieve all invoice item information by supplying the invoice
ID on which it appears. The retruned array contains all the
information returned by the single invoice item calls.
Parameters
- int $invoice_id The invoice ID to get the invoice items for
Returns
- array $info Array containing all the invoice item information for this invoice