Get the invoice PDF using the API

in Development
Is it possible to get the PDF file of the invoice through the eCom API?
Or is there a workaround to get the PDF from the invoice?
Hidde Schuurman | Backend & App Developer bij InStijl Media | Gold Partner Lightspeed

Best Answer
-
Adrian Samuel Moderator, Lightspeed Staff Posts: 654 moderator
Hey @Hidde, we don't send documents via the API but you could re-create the invoice using the API using templating and then generate a PDF from there:
https://developers.lightspeedhq.com/ecom/endpoints/invoice/#get-retrieve-an-invoice
Adrian Samuel
Software Developer
Lightspeed HQ