Generating an invoice API


I am looking to see if there is a way to create an API from Free Agent to sit in my website so that when a button is clicked in the website, it generates an invoice automatically.

Is this something that can be done, and is someone able to guide me through the process as I don’t posess web developing skills?