> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.modernfi.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.modernfi.com/_mcp/server.

# Balance Fields

Every account in ModernFi returns two balance fields:

|                  |                                                                 |
| ---------------- | --------------------------------------------------------------- |
| **Field&#xA0;**  | **What it reflects&#xA0;**                                      |
| `totalBalance`   | Only **POSTED** transactions. This is the fully settled balance |
| `pendingBalance` | All **POSTED + PENDING** transactions combined                  |

## **What this means in practice**

`totalBalance` reflects confirmed, finalized activity only. `pendingBalance` gives you a forward-looking view that includes transactions still awaiting posting.

Once any transaction has been created on an account, `pendingBalance` will not return \$0 unless the account has been fully cleared. Both values reflect the account state at the time of the API call; no running or intraday balance is available.

## **Which one should I use?**

Use `totalBalance` for reconciliation and reporting. Use `pendingBalance` when you need to account for in-flight transactions. For example, to prevent an overdraft before a credit has posted.