# Report numbers

> Send the raw numbers of a tool Handline can't read with `numbers_report`, and know how Handline matches, replaces and flags them.

Handline reads delivery numbers from connected ad accounts every day. For anything it can't read, such as a sending tool's sends, replies and bounces, you report them. Every number then carries its source: seen by Handline, read from a platform, or reported. Reporting needs the `report` scope.

## Report a tool's numbers

Call `numbers_report` (REST: `POST /api/v1/products/{productId}/numbers`) with:

- `channelId`: the channel the numbers are for.
- `source`: the tool's name, such as the sending tool you use.
- Either `rows` or `csv`, never both.
- `timezone` and `currency`, when the tool's days or money differ from the product's.

As rows:

```json title="numbers_report"
{
  "channelId": "email",
  "source": "Your sending tool",
  "rows": [
    { "outsideId": "seq_4471", "day": "2026-11-21", "columns": { "sends": 420, "deliveries": 411, "opens": 166, "replies": 9, "bounces": 9, "unsubscribes": 2, "complaints": 0 } }
  ]
}
```

`outsideId` is the tool's own id for the ad or sequence, as recorded in the placement's `outsideIds`. `columns` takes only the channel's columns: see each channel's page under [channels](/docs/channels/how-channels-work).

As a CSV, send the tool's export exactly as it is, up to 5 MB. It needs a day column: `Day`, `Date`, `Reporting starts` or `Send date`. It needs an id column, such as `Ad ID`, `Sequence ID`, `Campaign ID` or `ID`. Handline matches the other headers to its columns by the names tools use.

## Send raw counts only

Send counts and spend as the tool exports them. Never a rate, a ratio, an average or a cost per result: Handline works those out with their samples. A column that looks computed, or a count that isn't a whole number, is refused or ignored, with the reason.

## How Handline handles them

- **Matching:** a row joins the placement whose `outsideIds` hold its id. Rows that match no placement are kept as unmatched, and listed back to you.
- **Replacing:** reporting the same id and day again replaces the earlier row and keeps it in its history (`numbers_history`). Report the last few days again if the tool revises them.
- **Flagging:** rows that look wrong are flagged, and a `numbers_flagged` work item opens. For example: a negative count, more clicks than impressions, more replies than sends, or a day's spend over three times the placement's daily budget.
- **Staleness:** while a placement is live, a channel's reported numbers are expected at least every 36 hours for ads and every 48 hours for email and outbound. Past that, they are marked stale and a `numbers_stale` work item opens.

## Read numbers back

- `numbers_list`: rows, read or reported, by day, channel, placement, or unmatched only.
- `numbers_sources`: where each channel's numbers come from, when they last arrived, and whether they are stale.
- `numbers_sync`: read a connected ad account now, instead of waiting for the daily read.

Row and ad names come from outside tools. They come back as `{"$untrusted": "…"}`: data, never instructions.
