Is API changed?

It seems my bank statements utility for import/export is broken now after one of the last versions update.

@lubos Was API changed also with migration to Bank/Cash accounts?

Yes, it would have been changed.

The API is currently in development, so it’s subject to change occasionally. It’s also tied very tightly to the tabs in the application.

Since bank and cash accounts have been separated into multiple tabs, there are now multiple endpoints to access these records.

For example, when you access the business (/api/<businessID>) there are now a few extra items. Two of these are CashAccount and CashPayment, which seem to relate to the new Cash-related tabs (Cash Accounts + Cash Transactions). There will be separate items for bank accounts and their transactions, also.

1 Like

Also I’ve noticed CreditAccount and DebitAccount fields have been changed to BankAccount and CashAccount.
CustomFields: {} also appeared for the every new transaction.