Attaching a file to an Invoice via the API using PHP

Attaching a file to an Invoice via the API using PHP

Hi, 

Do you have any examples of how to attach files to an invoice using the API in PHP?

Regards