This exposes the feature via a REST API endpoint.
import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDate; import java.util.List;
if (report.isEmpty()) return ResponseEntity.noContent().build();
This defines the structure of the report data being generated.