Ask, reply and learn. Join the community of Akaunting.
How can i get the api for double entry module? I already purchased this app.
Double entry is not part of the main application. I do not have it so do not know is there any API support for it.
Using Postman v9 and Akaunting v2.1.33
Stojan: Thank you! your API listings in Google Drive are excellent, I imported this into Postman.
But I had to make some changes to get these working, primarily to create entries
ITEMS:
tax_id must be array - changed to [tax_ids][0] = (blank)
Catalogs - cannot be blank.. set akaunting_category_id = 3 (sales = category_id 3)
CATEGORIES: working
CUSTOMERS: working (contacts)
INVOICES:
error User does not have any of the necessary access rights -> add search = type:invoice
error "message": "Trying to get property 'type' of non-object",
"status_code": 500
null fields! in this case had two: items[0][tax_ids][0] - set value for these to something relevant (or remove them sometimes works)
FYI the two errors above are generic across all the routes. Use the GET first to see what fields are used.
requires key "amount"
USERS: in progress, working on deciphering the roles[] array that is required
Hint: put txt data in a number field e.g amount = "24". Laravel will return an error and show the SQL query
Hope that helps
Thank you Geoffrey. Can you contact me on chat to talk more?
https://chat.akaunting.com/public/messages/@stojan
Thanks to Geoffrey Mills, I just updated the Postman collection so you get a new version of it on same link:
https://drive.google.com/file/d/1ykZ-GNYpQPh7CcI8B3dAZCEXwadWzdT2/view?usp=sharing
@Stojan
How to create companie with api?
Exampling in file Collection for Postman
MARIVALDO , There is no option for it.
@Stojan
Yes, exists.
Go to print: https://prnt.sc/t2nPv1EBWiRO
It's list of exists companies but I didn't find that option in API, if you find it please share it.
It's this option right there, just change it to the POST verb.
Showing 51 to 60 of 62 discussions