# XWUIAgingReport

Receivables / payables aging-buckets table: rows are customers (or vendors when `direction: "payable"`), columns are the standard "Not yet due / 1-30d / 31-60d / 61-90d / > 90d / Total" buckets. Every row is auto-totaled across buckets and every column auto-totaled across rows, with currency cells rendered through XWUIDisplayMonetary so sign-tone and formatting follow the theme. Reach for it for any CFO-style AR/AP aging report rather than a generic DataGrid, which wouldn't carry the auto-totals or tone semantics.

## Basic Usage

Receivables aging across the default buckets, with row and column totals on.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Receivables aging across the default buckets.
```

## Payables

`direction: "payable"` switches the row header to "Vendor" and flips the default coloring rules for an AP aging view.

```example
file: examples/Payables.ts
html: examples/Payables.html
title: Payables
description: AP aging with direction set to payable.
```

## Quarter-close (compact)

A dense quarterly-close AR aging across a six-customer roster using `density: "compact"`.

```example
file: examples/QuarterCloseCompact.ts
html: examples/QuarterCloseCompact.html
title: Quarter-close (compact)
description: Compact-density AR aging for a quarterly close.
```

## Euro summary

A EUR-denominated AR aging summary with the per-row Total column switched off.

```example
file: examples/EuroSummaryNoRowTotals.ts
html: examples/EuroSummaryNoRowTotals.html
title: Euro summary
description: EUR receivables aging with showRowTotals off.
```

```api
```
