---
title: "Amplia Reg command: **fill-registration-agent-report-transactions**"
description: "Amplia Reg command that fills in the registration agent report transactions for agents that existed before version 8.0.0."
canonical: "https://docs.lacunasoftware.com/en-us/articles/amplia-reg/on-premises/tool/fill-registration-agent-report-transactions"
locale: "en"
product: "Amplia Reg"
last_updated: "2026-10-12"
---

# Amplia Reg command: **fill-registration-agent-report-transactions**

## Name

`fill-registration-agent-report-transactions` - Fills in the report transaction history of older registration agents

## Syntax

```sh
dotnet Lacuna.AmpliaRegNg.Site.dll [settings] -- fill-registration-agent-report-transactions [options]
```

Or, on Docker:

```sh
docker run -i lacunasoftware/ampliareg:x.y.z [settings] -- fill-registration-agent-report-transactions [options]
```

> **Info**
>
> Replace `x.y.z` above with the desired version

The `settings` arguments are additional settings to overwrite settings from configuration files and environment variables,
for instance `--Section1:Name1=value1 --Section2:Name2=value2`.

Options:

* `--batchsize <batch-size>`: number of registration agents to process per batch. Default: 100
* `--logfrequency <log-frequency>`: how often, in number of processed agents, progress is written to the log. A value less than or equal to zero turns this log off. Default: 5
* `--certificate-changed-only`: processes only the agent certificate change events (`RegistrationAgentCertificateUpdated`), ignoring the other event types (approval, disabling and registration data update)

## Description

The `fill-registration-agent-report-transactions` command rebuilds, from each registration agent's event trail, the transactions of
the registration agent report (introduced in version [8.0.0](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/changelog#8.0.0)) for agents that already existed before that
report started recording transactions in real time.

For each registration agent, the command looks for historical approval, disabling, registration data update and certificate change
events that don't have a matching transaction yet, and creates the missing transactions with the original date of the event.

> **Warning**
>
> If you already ran this command on a version older than [8.0.5](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/changelog#8.0.5), run it again with the
> `--certificate-changed-only` option after updating to version 8.0.5 or later. That version fixed how certificate change transactions
> are filled in (see [ARNG-980](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/changelog#8.0.6)), and the option makes sure that only certificate change events are
> reprocessed, without duplicating the other transactions already filled in.

> **Info**
>
> This command is optional: registration agents created, or with new events, from version 8.0.0 on already have their report transactions
> recorded automatically. Run this command only if you want the report to also reflect the history of registration agents older than
> that version.

Before processing, the command shows the number of agents found and asks for confirmation (`Y`) before going ahead, since the action cannot be undone.

## See also

* [Amplia Reg command-line tool](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/on-premises/tool)
