---
title: "TransactionDetail"
description: "Full detail sheet with attachments and audit trail."
canonical: "https://lopifi.com/components/transaction-detail"
---

# TransactionDetail

> Full detail sheet with attachments and audit trail.

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

---

- **Family:** Ledger & tables — 
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/ledger-tables

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/transaction-detail
```

## Specification

A sheet on phone, a side panel on desktop. It shows everything: full amounts, FX detail if converted, attachments, the categorization rule that fired, the full audit trail with actor and timestamp. Inline editing for category and memo, with optimistic update and rollback on failure.

## 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.
