Fix a mapping and restate the history.
After a match is approved, restate a past month so its unmatched lines land in the right territory. The original source data is never rewritten.
POST /v1/sales/reproject
{
"distributorId": "DIST-NYC-01",
"period": "2026-09",
"territoryId": "TERR-NYC-01",
"normalizedNameKey": "al shifa med store"
} 201 Created
{
"distributorId": "DIST-NYC-01",
"period": "2026-09",
"territoryId": "TERR-NYC-01",
"reprojected": 214,
"chunks": 3
} Running it again restates nothing new: the lines are already stamped, so the result is reprojected 0.
POST /v1/sales/reproject
{
"distributorId": "DIST-NYC-01",
"period": "2026-07",
"territoryId": "TERR-NYC-01",
"normalizedNameKey": "al shifa med store"
} 409 Conflict
{
"error": "period is closed",
"detail": {
"period": "2026-07",
"hint": "reopen the period to restate it"
}
} A manager or admin restates a period through the API.
Forward by default, history on purpose.
A match queue decision fixes every file that arrives after it. Lines that came in before it keep their missing territory, so last month's figures do not move under anyone's feet.
When you do want history corrected, restatement takes one distributor, one month and one outlet name, and stamps the approved territory onto the lines that were unmatched. Territory rollups for that month then include them.
The source stays as it arrived.
Restatement changes how lines roll up, not the record of what the distributor sent. The cleaned copy of every file is never rewritten, so you can always see what came in and what was changed later.
Every restatement is written to the audit trail, and a closed period cannot be restated until it is reopened.
Within your own territories.
A manager can restate only onto a territory in their own part of the team; admins can restate any. Each restatement names one month, so its effect is always clear.
Questions people ask.
Who can restate a period?
Does restatement change closed months?
What if we run it twice?
Works well with.
Match queue
A two-pane review queue for outlet names that did not match on ingest. Approve a candidate, override the territory, or reject, from the keyboard.
Read moreNet sales rollups
Secondary sales net of returns, per distributor and territory, with a SKU breakdown. Figures still landing are marked provisional, never shown short.
Read moreSee it on your own team.
Tell us your fleet and we will size a proposal. Complete roll-out may take up to 4 months, counted from signed requirements and first payment.