Ask, reply and learn. Join the community of Akaunting.
Postman updated, add requests for creating and update Bills and Invoices, it's a bit complex because need more information to make it but hope that will be useful :)
(https://drive.google.com/file/d/1ykZ-GNYpQPh7CcI8B3dAZCEXwadWzdT2/view?usp=sharing)
Thanks..those are useful...but I do not see any sample on how to upload an attachment...Am I wrong?
@Luca where you like to add attachment?
@Stojan in the attachment section of the the Invoice
I am not sure is that possible to send an attachment... you can try with your code with the additional parameter "attachment".
it will not work,I already tried ....must be a way passing contentType multipart/formdata and passing the file...I tried for hours..but this is something that normally is documented
I just tried passing the file to the attachment argument in base64...doesn't work either, it gives me a "414 Request-URI Too Large"
it really needs to be a file, like from with "multipart/form-data form". In which cases you need to add files into invoices, to me it's not clear :) Maybe because I do not have much experience with invoicing :)
I was trying with invoices because they are like bills...there is an attachment property...the goal for me is to automatically attach a document to bills. But aside from the goal...I still no find a proper way to do it. Is there any reason to no document that?...is there another way other that post request to programmatically add an attachment in my akaunting database?
If you use your own version of akaunting at your hosting, you can make that part using adding your own code which uses the response for this API response to add atachments.
Showing 31 to 40 of 62 discussions