This example script demonstrates how to create an invoice in FreshBooks.