I need to add docx/excel reports into following solution

Question
Where does my document generation fit?
Solution description
- Presentation references Application
- Application references Domain
- Infrastructure isn't referenced directly from above projects
- The numbering doesn't match dependency direction! E.g. every project referenced Infrastructure.CrossCutting, but none (except DI) references DataAccess.
Reports often query data across bounded contexts, might include some business logic and have framework dependencies (docx manipulation library), but on the other side queries must be performance optimized (sometimes direct data access instead of using repositories)
Tricky part is to find a right balance between separating architecture concerns and maintenance costs, since having reports scattered across 4 layers is not ideal either.
Generating reports (actual documents in your case) means you can start by defining a repository object for that purpose exactly:
Assuming data for report is aggregated by fetching multiple component from different bounded contexts, you may stick to the repository pattern and define repository objects for the different components:
Use-case implementation:
IReportDataProvider can either be implemented as an API call or as direct data access for better performance. It really depends on how you perceive this reports API.
If reports API functions as an orchestrator, you should set providers to call external APIs (in which case, external APIs do their own logics while Process method applies aggregation logic only).
But, if this API is more like a whole processor, then each provider may directly fetch data (in which case, Process method applies full business logic: logics for data1 and data2, plus aggregation logic).