get_invoice
Fetch full details for any invoice or bill, including line items with quantities, prices, and totals, using the human-readable ID.
Instructions
Get full details for an invoice or bill, including line items.
Works for both customer invoices and vendor bills. Returns all entries with quantities, prices, and totals.
Args: id: Invoice or bill ID (e.g., "000001"). This is the human-readable ID, not the internal GUID. owner_type: Filter by type: "customer" for invoices, "vendor" for bills. Useful when an invoice and bill share the same ID (independent counters).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| owner_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |