Xero API - Bank transactions missing

依然范特西╮ 提交于 2020-01-06 05:56:52

问题


The Xero API doesn't seem to return all bank transactions through the bank transactions endpoint. At least some transactions that are attached to payments and transfers don't seem to be returned. Is there a way around this?


回答1:


I had the same problem and here is what I got from Xero support:

There are some differences between the BankTransactions API endpoint and the Bank >Transactions screen in the UI.

Most importantly the endpoint does not return payments applied to invoices, expense >claims or transfers between bank accounts. Most of these can be retrieved using other >endpoints.

So it seems that you should use Payments API instead.

The workaround I did was to download both Bank transactions and invoices and union all transactions (I only needed references anyway), but it might make more sense to use Payments API.



来源:https://stackoverflow.com/questions/50007691/xero-api-bank-transactions-missing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!