XeroAPI / Xero-NetStandard

A wrapper of the Xero API in the .NetStandard 2.0 framework. Supports Accounting, Payroll AU/US, and Files
MIT License
118 stars 119 forks source link

Get cash flow statement #491

Closed tqrecords closed 7 months ago

tqrecords commented 7 months ago

I'm trying to get the Cashflow statement via the api. For some strange reason, this report is not contained within the AccountingApi. It's in the FinanceApi, but this one doesn't like like it's available from the SDK. I also tried running the following method using "Cashflow" as the report id, but with no luck as I assume it's because it's not listed in the AccountingApi in the first place.

 public async Task<ReportWithRows> GetReportFromIdAsync(string accessToken, string xeroTenantId, string reportID)
 {
     return (await GetReportFromIdAsyncWithHttpInfo(accessToken, xeroTenantId, reportID)).Data;
 }

Does anyone know how we can grab the Cashflow report?

github-actions[bot] commented 7 months ago

PETOSS-367

github-actions[bot] commented 7 months ago

Thanks for raising an issue, a ticket has been created to track your request

tqrecords commented 7 months ago

Nvm, I see the finance api is included in the latest version!