I was wondering if it was possible to attach a PDF file to an invoice through the API. I see that there is a documents POST request in the API documentation but I cannot seem to get it working. Every time I try I get an error 500 (Internal Server Error). My goal is for this PDF to be attached to the email sent from invoice ninja. If it is possible, any examples would be greatly appreciated.