We officially support PDF downloads of sales invoices and estimates through a new API endpoint called “download_pdf”. The users that are currently using an unofficial workaround should migrate to the new endpoints by the end of this year.