Skip to main content
Solved

How to add Cash Transactions (CA304000) with the API

  • April 16, 2025
  • 3 replies
  • 96 views

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.

Best answer by Dmitrii Naumov

@mvines 

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?

 

3 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • April 16, 2025

@mvines 

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?

 


  • Author
  • Freshman II
  • April 16, 2025

@Dmitrii Naumov 

Thank you for the response. Based on your feedback, I was able to create that JournalTransaction in Module: GL, with the proper cash accounts for credit and debit. I was also able to release that JournalTransaction. However, the process did not create anything in the Cash Transaction View.

After some conversation, the back office seems to be content with this solution. I’m the engineer, acceptance is acceptance, but I would like to understand a little better.

Today, when the back office enters these fees, they do so through the Cash Entry View, this results in both that Cash Entry and a Module: CA JournalTransaction and an association of that Cash Entry to the JournalTransaction batch. In our process, this Cash Entry is never created, and the JournalTransaction is Module: GL.

Are these things actually functionally equivalent? What am I actually changing about this process by beginning it as a GL JournalTransaction?


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • April 16, 2025

@mvines yes, from the end result point of view (e.g. the effect on the Account /Cashaccount balances) it’s fully equivalent. 

It should also be visible on the Cash accounts transitions inquiries. 

The existence of the Cash Transactions form is more for usability and UX. Otherwise its pretty much the same as entering via GL directly.