Differentiate Bank and Credit Card Account
The very well managed Xero API just made us surprised that there is no concrete way to differentiate a Credit Card and a bank account. They both are under account type Asset. Based on number of digits in the account number could not be an ideal way to differentiate these two. Requesting to provide a flag so that API users can credit or debit the amount to create Balance sheet.
I’m pleased to announce that the Accounts endpoint now returns a element that allows you to differentiate between credit card, Paypal and regular bank accounts.
The update was release on September 1st http://developer.xero.com/documentation/api/v2-release-notes/#2.142
Cheers,
Adam
-
Anonymous commented
Several of our customers have run into this problem here too:
https://community.xero.com/business/discussion/3914613/
For our integration to work properly, we need the ability to distinguish bank accounts (that is, assets) from credit cards (that is, liabilities). I don't understand why they would be lumped together. Making assumptions based on the string length of the account number may work but is really brittle.
Related though less important, the interface in Xero where the user is expected to click Add Bank Account to find the Add Credit Card option seems pretty unintuitive as well. I would expect users to think of bank accounts and credit cards as different things, rather than the latter being a subset of the former.