Skip to content

Report for Profit and Loss only returns monthly report and not yearly or quarterly #167

@CaptureKervin

Description

@CaptureKervin

Good day Xero,

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

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

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.
image

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

Cheers!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions