cork_get_invoice_line_items
List billed line items for an invoice, including discounts as negative amounts. Get top-level charges only; sub-items are excluded.
Instructions
List billed, top-level line items for an invoice (obtained via cork_get_invoices). Only items with a nonzero total billed are returned; discount line items are included and carry a negative total_billed. Sub-items billed as part of a parent line item (e.g. individual licenses within a bundle) are nested under that item's children field, and always carry a total_billed of 0 since their amount is rolled into the parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). Defaults to 1. | |
| page_size | No | Items per page (max 100). Defaults to 10. | |
| invoice_uuid | Yes | Invoice UUID, from cork_get_invoices. |