# XWUIOrderInvoicePanel

An itemized, printable order invoice/receipt: invoice number, order date, customer name and billing address, an itemized line-item table, and a subtotal / shipping / tax / total summary. The "Print" button only fires `onPrint` - a host page decides whether that means `window.print()`, a PDF export, or something else. The print button hides itself under `@media print`.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-order-invoice-panel:print` | `onPrint` | `onPrint(handler)` | — |

## Usage

```ts
import { XWUIOrderInvoicePanel } from '@exonware/xwui/industry';

const invoice = new XWUIOrderInvoicePanel(host, {
  invoiceNumber: 'INV-10482',
  orderDate: '2026-08-14',
  items: [{ name: 'Espresso Machine', quantity: 1, unitPrice: 249 }],
});

invoice.onPrint(() => window.print());
```

```api
```
