I have a big problem. I previously convinced my company to use this software and the biggest letdown was that the (customer statements transactions) report didn’t show everything in detail, which they wanted. Then it was solved for me with a custom report after that I migrated all our the data to this software. then I found out that the report only works with base currency (where the customer’s currency is the base currency), and where there aren’t any Journal entries involved.
Our customers are very primitive and want literally each and every invoice details in the statement report.
What are my options? I really don’t want to use another software.
Now my question:
I’m a programmer, can the API help me? does the API allow me to get all the information needed to construct the (customer statements transactions) report?
Thank you that kind of solves the foreign currency but i actually need (TransactionAmountMultipliedByNegativeOne) and (TransactionAmountMultipliedByNegativeOne) which doesn’t exist
And use this method until a proper solution is implemented.
But on customer statement only Sales invoices and credit notes are not shown on line level. Other than that it shows every transaction line. So why not just give them transaction detailed report along with regular statement. If they want to see details of an invoice they can look at the detail report.
I didn’t know the Summary tab had Advanced Queries that is useful … but I’m currently experimenting with the API and it looks very promising… but it’s quite slow … takes afew seconds per request, not sure why.
This is too open a statement for anyone to comment but just sympathise. It is for you to figure out why you experience slowness. It depends on lots of factors and mostly related to your hardware and operating system, available bandwidth (& internet speed), how you retrieve the records, etc. We do not experience slowness with both API and API2 but decided to stop using them because of security risks (mainly API because API2 already uses tokens and not login) as posted elsewhere.
Except when we will be forced like quite a number of countries now do to use an e-invoicing system then we will use API2 to figure it out or change away from Manager when not feasible because there maybe better local solutions. As we operate in multiple countries we would be reluctant to change but complying with authorities is paramount given the types of investments and loans most of the youth businesses get. Financial discipline and auditable records are essential in our circumstances.
How to get the contents of a journal entry using the API? “api2/journal-entries” this gives me the key… And I can see the content in “api2/transactions?term=Journal%20Entry” but that doens’t contain anything that refers to which journal entry it’s coming from
In case my comment was confusing.
when I GET journal entries, I get (key, debit, credit) and some other stuff.
when i GET transactions, i get (date, transaction=Journal Entry, reference=null, account, debit, credit).
But using those information I cant relate them to each other. If the transaction’s reference was the journal’s key then everything would be good
@hunar1997 rather than talking about API endpoints, what specific screen in Manager you would like to access programatically. Is it the screen when you click on “View” button within “Journal Entries” screen?
That would be useful, can you show me some code to do that?
Ideally I want to do the equivalent of (click customers, search and find customer, click the money, loop though and click “view” on all of them)
I’m currently doing things like this in python (I’m showing it here because I think you guys aren’t doing it this way and hopefully redirect me to some code)
response = requests.get(f"http://localhost:55667/api2/sales-invoice-lines?term={name}", headers=headers)
r=response.json()
for l in r['salesInvoiceLines']:
print( l['item'],l['qty'],l['amount']['value'],l['amount']['currency'] )
I did this for receipts too, but I also want journal entries to get all the data i need for constructing the report.
Can you add the affected account/customer/etc… of a journal entry to the result of api2 call? that would solve my problem
currently when showing a journal entry All you get is this