title: How to get a banktransaction record from the Xero API using xere-node
body: <p>You would think this is simple - but I can't get a simple bank transaction using XERO-API</p>
  <p>To get the bank transaction in Xero itself I would go to:</p>
  <p><a href="https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=a6e0efbb-328f-4dd2-b50a-d4aa9f1c1993" rel="nofollow noreferrer">https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=a6e0efbb-328f-4dd2-b50a-d4aa9f1c1993</a></p>
  <p>I have tried the following:
  ( after creating the Xero client in nodejs which works fine for other API endpoints )</p>
  <p>This one just hangs and does nothing.  No timeout - no error - just hangs</p>
  <pre><code>const banktransaction = await xero.accountingApi.getBankTransaction(xero.tenants[0].tenantId, 'a6e0efbb-328f-4dd2-b50a-d4aa9f1c1993')
  </code></pre>
  <p>This one gives me no records back.  I have tried various forms of the next type - strings with single quotes , double-quotes.  All with errors. I am stumped.</p>
  <pre><code>const banktransaction = await xero.accountingApi.getBankTransactions(xero.tenants[0].tenantId, undefined, 'bankTransactionID=GUID(&quot;a6e0efbb-328f-4dd2-b50a-d4aa9f1c1993&quot;)')
  </code></pre>