Is it possible to download the invoice PDF via the REST (preferred) or SOAP API?
In the interface I can find them here:
If you can call a Restlet (could be the name / internalid of a file), the response could be the content of a pdf in the filecabinet , yes.
Thanks for your answer Nelliott.
We are trying to build a generic integration for multiple clients. This requires us to create a custom script for each of our clients, correct? I assume this is not possible via the default REST API? Maybe via a custom field?
To clarify, if you’re looking to create a RESTlet that returns a PDF from the filecabinet, this could be quite simple.
You would need to pass in something that identifies the file by name if you do not know the internal id of the file in the filecabinet.
The RESTlet would search for the file, load and return the content as base64 encoded content or a suitable message if the file is not found.
You could manage access via access tokens with one RESTlet serving all clients.