Alpino AI

Power generation and self-consumption · Italy

Automated energy declaration to Agenzia Dogane (ADM)

Part of: AI automation

The starting situation

The annual Dichiarazione Energia Elettrica to Agenzia Dogane Monopoli is mandatory for producers, self-consumption plants and large consumers. Consumption data from multiple sources is manually translated into the Tracciato XML, checked by the tax advisor, signed and uploaded through the ADM portal — error-prone, time-consuming and a stress point every year.

How we solve it

We build a lean workflow that translates consumption and generation data from ERP or plant monitoring directly into ADM’s XML schema — including XSD validation, qualified signature and system-to-system submission through ADM web services. Errors become visible before upload, and an audit log documents every step.

What you get

What used to take days runs in minutes — with consistent quality because the schema is validated before submission. The tax advisor gets a clean preview for approval, and the consumption-data path remains traceable for future audits.

Do you recognise a similar process in your company?

If this use case feels close to your daily work, we can assess data availability, effort and a realistic first MVP together.

Why AI projects work →

Starting point

Anyone in Italy who generates electricity, consumes it themselves or purchases it in large quantities must submit a declaration of electricity consumption to the Agenzia delle Dogane e dei Monopoli, the Italian customs and monopolies agency, once a year. This is the Dichiarazione annuale di consumo dell'energia elettrica, the annual electricity consumption declaration. It is transmitted as a file in a prescribed XML format, signed and submitted through the agency's services.

The figures for it are rarely in one place. Meter readings, generation, own consumption and feed-in to the grid come from plant monitoring, from invoices, from the ERP and from spreadsheets. Someone gathers them, transfers them into the agency's format, has them checked by the tax adviser and uploads the file. A wrong field or a shifted unit is often only noticed when the file is rejected. Because the declaration is due only once a year, someone has to get up to speed again every time.

The solution

Alpino AI builds a lean process that prepares the declaration from the existing data:

  • Collect data: consumption and generation values are taken from the ERP, plant monitoring or structured exports and assigned to the correct period and meter.
  • Check: units are standardised, gaps and jumps are flagged, and totals are calculated against the individual values. If a value is missing, it stays open instead of being estimated.
  • Generate the file: from the checked values, the XML file is created in the agency's format and validated against the official schema before it leaves the company.
  • Preview for approval: the tax adviser or the responsible person sees a readable summary with all values and where they come from.
  • Sign and transmit: after approval, the file is signed with a qualified signature and transmitted through the designated web services or prepared for upload in the portal.

Every step is logged: which source, which value, who approved it. This helps with later queries and in the following year.

Process and pilot

A good starting point is the previous year's declaration. It is rebuilt from the original data with the new process and compared with the version submitted at the time. Deviations show where data sources or assignments are not yet right. After that, the next declaration runs in the new process, with the usual check by the tax adviser.

What stays with people

Professional and tax responsibility stays with the company and its tax adviser. The system prepares, checks the format and documents where the figures come from. Approval and signature lie with the responsible people. Alpino AI does not provide tax advice.

Connection to existing systems

The solution reads from the systems where the values already sit today: ERP, plant monitoring, meter data or exports from the grid operator. It does not write anything back to these systems. If you already monitor your plants centrally, as described under PV plant monitoring, you already have the required values in one place.

Transferable to other reports

The pattern suits any recurring report to an authority that draws on several data sources and is submitted in a fixed format: energy and environmental reports, statistical reports, evidence for funding bodies. A related case is described under Prepare EU Declarations of Conformity. An overview of the service is on our AI automation page.

If you would like to simplify recurring reports, book a 30-minute initial conversation.

This use case is based on a real client project. Sector and region are named, the company itself remains anonymous.