---
title: "IntercompanyMatrix"
description: "Must net to zero. Break types named."
canonical: "https://lopifi.com/components/intercompany-matrix"
---

# IntercompanyMatrix

> Must net to zero. Break types named.

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

---

- **Family:** Close, controls & consolidation — **See also:** `#69 TrialBalance` and `#70 CloseChecklist` in [statements](statements.md). Conceptually they're the same family.
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/close-controls-consolidation

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/intercompany-matrix
```

## Specification

Entity × entity balances. **Every cell must have an equal and opposite counterpart; non-zero cells are the exception queue.** They're the most common reason a consolidation doesn't tie. Break types are **named**, not shown as a bare difference: timing, FX, or one-sided.

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