Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

GetBankTransactionsAsync - never returns LineItems

Started by Kevin Yarbrough -   in API Endpoints

I'm using GetBankTransactionsAsync

Xero.NetStandard.OAuth2.Model.Accounting

I get all the information you'd expect,
* BankAccount.name
* BankAccount.id
* BankTransactionID
* Contact.name
...

but this is always empty
List<LineItem> LineItems

For example, I have a transaction that has two line items, but the LineItems count is zero

BankTransactionID: c910d102-6cff-4f95-b534-d8a8a8a28805
Contact Test2