Add support for invoice attachments in Procountor app (HTTP multipart)
Morris Matsuuke
The Procountor API supports uploading invoice attachments via the /api/attachments endpoint using multipart/form-data. However, the current Procountor app in Make does not support this functionality. For reference, here is the official API documentation (specifically the Attachments section):
At the moment:
- The “Make an API call” module does not support multipart requests with binary data.
- The HTTP module allows multipart requests, but does not allow setting per-part headers (such as Content-Type: application/json for the meta field), which causes the Procountor API to return a '415 Unsupported Media Type' error.
This makes it impossible to attach files to invoices, even though the API fully supports it.
It would be really helpful if the Procountor app supported invoice attachments, either by:
- Adding a “Upload attachment” module to the Procountor app that correctly handles:
- meta as application/json
- file as binary
Or
- Extending the existing “Create invoice” module with an optional Attachments field that uploads files immediately after invoice creation.
This would be a general improvement that benefits all Procountor users using Make.
Log In