xero-node icon indicating copy to clipboard operation
xero-node copied to clipboard

`accountingApi.getReportBankSummary` can't take Date parameters.

Open DindoLeonard opened this issue 2 years ago • 1 comments

SDK you're using (please complete the following information): -"xero-node": "^4.17.0"

Describe the bug accountingApi.getReportBankSummary can't take Date parameters.

To Reproduce Steps to reproduce the behavior:

  1. use xero.accountingApi.getReportBankSummary() function
  2. Follow this documentation. https://xeroapi.github.io/xero-node/accounting/index.html#api-Accounting-getReportBankSummary
  3. Try adding a date as second parameter with a type Date, it won't take it and will give an error.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Capture

DindoLeonard avatar Nov 26 '21 07:11 DindoLeonard

Confirmed the API and SDK expect a string date param, the bug sits within the code generator template and will be fixed upstream so the generated language specific docs are correct on next release. Apologies for the inconvenience!

RettBehrens avatar Mar 02 '22 00:03 RettBehrens