Create a purchase invoice

Creates a new purchase invoice in the specified company.