Difference between revisions of "Xero Accounting Endpoint: ProfitAndLossByMonth"

no edit summary
Line 89: Line 89:
== Known Issue ==  
== Known Issue ==  


There is a known bug in the Xero API which incorrectly calculates values if your financial year ends in a month without 31 days.
There is a known bug in the Xero API which incorrectly calculates values if your financial year ends in a month without 31 days (e.g. Australian Businesses). To work around this issue, OdataLink will call the endpoint twice for affected businesses. This does not apply to all regions. For instance, New Zealand data files are mostly unaffected as their financial year already ends on a month with 31 days.
 
To work around this issue, OdataLink will choose a different end-month when producing values.
 
This means for most Australian business that run July to June, the endpoint will actually calculate values from June to May instead. As such, it may actually need to be called twice to create the correct complete set of values.
 
This does not apply to all regions. For instance, New Zealand data files are mostly unaffected as their financial year already ends on a month with 31 days.
 


== Xero API ==
== Xero API ==
3,298

edits