RAINBOW LORIKEET
total_invoiceTotal a multi-line invoice in integer cents, handling GST-free lines and both ATO rounding methods (per-line and total-based), and report the exact discrepancy between them — an invoice must not mix them. A malformed line throws.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Invoice lines. | |
| rounding | No | Round GST per line, or once over the total. Defaults to line. | |
| taxInclusive | No | Whether unitPrice values already include GST. |