Hi,
I just tried your code 1st time with IBKR 2022 report, but after report was generated and uploaded to parser nothing happened. It was not able to parse csv file.
Maybe the reason is that there is new mandatory parameter called Delivery confugurations in the Reporting section compared to the screenshot you had.
