Good day Xero,
I was trying to get the Profit and Loss report values in a yearly basis. See image below.

but the return I received was just a report for the whole month. See image below:

I checked the API documentation on https://xeroapi.github.io/xero-ruby/accounting/index.html#api-Accounting-getReportProfitAndLoss and changed "timeframe" into "time_frame", but same thing was still returned.
I made the timeframe into "QUARTER", but the same output was received. Also changing it into "time_frame" didn't do the trick.

Am I missing some params, or is it the API at fault?
Cheers!