Can you please demonstrate, or point me to documentation for the addition of Cash Transactions programmatically?
Accounting is currently appending credit card fees to their ledger by manually (UI) adding a Cash Transaction (CA304000) at the end of the period for the sum of all fees collected.
I have been asked to create this same transaction through the api. Usually, between the screens, and the api documentation, I can come up with the end points, but so far I have been unable to figure out what these are.
I have noticed that JournalTransactions can be created directly from the api, but only in the GL module. When accounting releases these existing Cash Transactions, they result in CA module JournalTransactions. These can not be added through JournalTransactions, but it’s the only way I have found to affect the transactions directly at all.
Solved
How to add Cash Transactions (CA304000) with the API
Best answer by Dmitrii Naumov
The cash transaction is not a part of the default endpoint.
However, are you sure you need to do it through the cash transactions screen? If you do a direct GL record with proper cashaccounts specified, it reflects in Cash Account balances automatically. So, maybe you can go this way. Or are there other requirements that I’m missing?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.