Is it possible to fire a single api POST-call to create an expense AND to attach a document to this expense at the same time?
In the end, i’m trying to write a IFTTT-script that I can forward a received email to, and the IFTTT-script creates an expense based on this email and also adds the attached PDF to the created invoice.
Judging on the way Invoice Ninja works, I guess this is not possible, but still wondering if I missed something.
Thanks for this pointer! I managed to get your script working. I changed a few settings to create an expense and attach files in one go. Pasted below for future reference:
Sadly enough, I still haven’t figured out a way to get Zapier or IFTTT to attach a received emailattachment to the webrequest.
I’ll keep digging to see if i can find anything and will post here if i manage to get it working. If anybody has an idea, please let me know!