getPurchaseDocAggregatedData
GET/purchase-docs/headers/:headerId/aggregated-data
Returns the aggregated data for the purchase document specified in the path. The aggregation is based on the grouping strategy provided as a query parameter. The response will contain the aggregated data according to the selected strategy.