> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lead.bank/llms.txt
> Use this file to discover all available pages before exploring further.

# Executing vs. reporting

> Know which Lead APIs move money and which record what's on your books, and why it matters

Lead's APIs split into two kinds. Executing: you're asking Lead to move money, and Lead records the result on its own books. Reporting: you're telling Lead what's on your books. Knowing the kind tells you whether an API's status is a fact or your report, whether Lead sends you events for it, and what a mistake costs.

## Executing: you're asking Lead to move money

Payments, internal transfers, and fundings are executing APIs. You create the request, and Lead owns what happens next. Lead checks the instruction, sends it to the payment network or posts it on Lead's books, and sets every status. You can cancel some payments before Lead processes them. After that, a final status stays final: a `rejected` ACH transfer stays `rejected`.

Moving money leaves records on Lead's books. A posted payment creates a [core transaction](https://docs.lead.bank/products/core-transaction/overview.md) on one of your [core balances](https://docs.lead.bank/products/core-balance/overview.md). After a funding posts, Lead creates a [receivable](https://docs.lead.bank/v2/products/receivables/overview.md) (Lead's claim on the loan) and posts a `funding` user credit transaction on the borrower's [user credit balance](https://docs.lead.bank/v2/products/user-credit-balance/overview.md) for you. The API returns receivables for loans originated to sell; see [Receivables](https://docs.lead.bank/v2/products/receivables/overview.md) for on-sheet loans. If your [program](https://docs.lead.bank/v2/core-concepts/platform/programs-and-partners.md) buys its loans, Lead groups every receivable that has reached its sale date into that business day's [receivable sale](https://docs.lead.bank/v2/products/receivable-sales/overview.md). The sale debits your [operating account](https://docs.lead.bank/products/core-account/overview.md). You don't call anything to start it.

### Lead's books

Two ID prefixes name a side of the books. `core_` objects (core accounts, core balances, core transactions) are Lead's books, and `user_` objects (user accounts and the balances and transactions under them) are your reports. Lead opens your core accounts during onboarding, and core transactions are what money movement produces on them. You read all three. Receivables and receivable sales are Lead's books too, under their own prefixes.

[Account numbers](https://docs.lead.bank/v2/products/account-number/overview.md) and [originators](https://docs.lead.bank/v2/products/originators/overview.md) are on Lead's books too, but they move no money. They're the addresses and identities Lead checks a payment against. You request them and Lead provisions them. After that you activate, deactivate, and cancel them yourself, and those changes return their result in the response. Lead keeps a hand in: a new originator waits for Lead's review before it can send, and Lead can suspend an originator or deactivate an account number. See [Originator statuses](https://docs.lead.bank/v2/products/originators/statuses.md) and [Account number statuses](https://docs.lead.bank/v2/products/account-number/statuses.md). Lead sets up your first originator at onboarding. If your program sends ACH under more than one company ID, you create the others with the Originators API once Lead gives you access.

## Reporting: you're telling Lead what's on your books

Entities, applications, user accounts, user credit balances, user credit transactions, and files are reporting APIs. For your customers' products, your system is the system of record. Lead is your partner bank and checks that activity for compliance, so it keeps a copy and you report to it. A reporting status is what you told Lead. If it's wrong, you fix it by reporting again. To correct an amount, for example, reverse the user credit transaction and post a new one. Don't edit the old one.

Reporting never moves money. A user credit balance is Lead's copy of what your ledger shows, so its amounts are figures you report. The money itself moves on your [core accounts](https://docs.lead.bank/products/core-account/overview.md), like your FBO and operating accounts. When you trace where money went, payment objects and core transactions show the movement. User credit transactions show which customer's loan it belongs to.

You post a user credit transaction when your ledger records it, and there's nothing to send on days without activity. You keep reporting on a user credit balance until you close it or stop reporting on it. [User credit balance statuses](https://docs.lead.bank/v2/products/user-credit-balance/statuses.md) has the two statuses.

## Where each object sits

The table places each v2 object that has an overview by whether it moves money and whose books it's on, and links that overview.

| Whose books | Moves money (executing) | Moves no money |
| - | - | - |
| Lead's books | [ACH](https://docs.lead.bank/v2/products/ach/overview.md), [wires](https://docs.lead.bank/v2/products/wire/overview.md), [instant payments](https://docs.lead.bank/products/instant-payments/overview.md) (v1 page), [internal transfers](https://docs.lead.bank/v2/products/internal-transfer/overview.md), [blockchain payments](https://docs.lead.bank/v2/products/blockchain-payments/overview.md), [fundings](https://docs.lead.bank/v2/products/fundings/overview.md), and [receivable sales](https://docs.lead.bank/v2/products/receivable-sales/overview.md), which Lead starts | Read only: [core accounts](https://docs.lead.bank/products/core-account/overview.md), [core balances](https://docs.lead.bank/products/core-balance/overview.md), [core transactions](https://docs.lead.bank/products/core-transaction/overview.md), and [receivables](https://docs.lead.bank/v2/products/receivables/overview.md) (returned for loans originated to sell). Your settings, which Lead enforces: [account numbers](https://docs.lead.bank/v2/products/account-number/overview.md) and [originators](https://docs.lead.bank/v2/products/originators/overview.md). |
| Your books (reporting) | Nothing | [Entities](https://docs.lead.bank/v2/products/entity/overview.md), [applications](https://docs.lead.bank/v2/products/applications/overview.md), [user accounts](https://docs.lead.bank/v2/products/user-accounts/overview.md), [user credit balances](https://docs.lead.bank/v2/products/user-credit-balance/overview.md), [user credit transactions](https://docs.lead.bank/v2/products/user-credit-transaction/overview.md), and [files](https://docs.lead.bank/v2/products/files/overview.md) |

## Where the two sides meet

The table lists each place where something you do leads Lead to change a record, or where Lead acts on what you report.

| What you do | What Lead does |
| - | - |
| Report an entity | Computes its eligibility every time you read it, and rejects the request if it fails the `intended_eligibility` you set. Lead also creates the entities for itself and for your company, which you read but don't change. |
| Create an account number | Generates the number, unless you register one you generated. Lead creates the account numbers on balances it holds, and sends `account_number.created` for those. |

## Why they behave differently

These differences follow from which side holds the fact:

* Lead sends events when it knows something you don't. A payment changes at Lead or in a payment network, so you get events like `ach.posted` and `funding.posted`. A reporting object changes because your system changed it, so there's nothing to tell you. That holds even for the `funding` user credit transaction Lead posts for you: it has no event. For core objects and receivables, you poll. See [Webhooks & Events](https://docs.lead.bank/api-reference/using-the-api/webhooks-v2.md).
* Mistakes cost different things. A duplicate executing call can move money twice. That's why write endpoints need an `Idempotency-Key` header. A wrong report moves no money, but your compliance reporting is wrong until you fix it.

## How it shows up in the API

Where the difference shows in a response or a header:

| Where | What you'll see | Reference |
| - | - | - |
| An object's `status` | A fact on executing objects and Lead's books. Your report on reporting objects. | The statuses page for each product |
| An object's ID prefix | `core_` for Lead's books, `user_` for your reports. Other objects have their own prefixes. | [Object model](https://docs.lead.bank/v2/core-concepts/platform/object-model.md) |
| Webhook events | Events for payments, internal transfers, fundings, receivable sales, and account numbers Lead creates. None for originators, core objects, receivables, or reporting objects. | [Webhooks & Events](https://docs.lead.bank/api-reference/using-the-api/webhooks-v2.md) |
| The `Idempotency-Key` header | Required on write endpoints | [Idempotency](https://docs.lead.bank/api-reference/using-the-api/idempotency-v2.md) |

> [!NOTE]
>
> Several APIs on this page are in preview, and each overview gives its status. Core objects don't send webhooks, and a set of core transaction webhooks is planned. See [Core transactions](https://docs.lead.bank/products/core-transaction/overview.md). Lead announces changes in [Upcoming Changes](https://docs.lead.bank/upcoming-changes.md). This page covers v2. The v1 APIs are on [Executing vs. reporting (v1)](https://docs.lead.bank/core-concepts/platform/executing-vs-reporting.md). For how v1 and v2 fit together, see [Platform evolution](https://docs.lead.bank/core-concepts/platform/platform-evolution.md).

## Related

* [Object model](https://docs.lead.bank/v2/core-concepts/platform/object-model.md): the objects in the API, which ones hold your program's money, and how they connect
* [Programs and partners](https://docs.lead.bank/v2/core-concepts/platform/programs-and-partners.md): why credentials, reports, and go-live are set per program
* [Webhooks & Events](https://docs.lead.bank/api-reference/using-the-api/webhooks-v2.md): signature checks, retries, and which v2 objects have events
