---
title: "CashApplication"
description: "The highest-value screen in AR. Every case is a first-class path."
canonical: "https://lopifi.com/components/cash-application"
---

# CashApplication

> The highest-value screen in AR. Every case is a first-class path.

Source: https://lopifi.com/components/cash-application
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** Receivables (AR) — 
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/receivables

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/cash-application
```

## Specification

> The highest-value screen in AR, and the hardest to get right.

Left: unapplied payments. Right: open invoices for that customer. As invoices are selected, a running sum against the payment shows when the selection is exact.

**Every case is a first-class path:** exact, partial, overpayment, lump-sum-to-many, short pay, no-invoice, duplicate, bank fee deducted in transit, FX settlement difference.

**Rules:** unapplied cash is never revenue; it is shown separately within AR, and a customer's net credit balance is flagged for reclassification to a liability · a remaining difference always requires a disposition (write-off with reason and account, leave unapplied, or dispute) · write-off thresholds enforce approval · applying is reversible and audited.

The match uses the [reconciliation animation](https://lopifi.com/md/docs/motion/catalog), one of the four sanctioned moments.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
