Is there any way of marking an invoice im creating through the API as sent and paid using one API call. At the moment, I am:
-Creating the Invoice
-Marking it as Sent
-The creating a payment
which is using 3 calls.
When I use the CSV import to bring invoice/sales in I can set the paid date on import, but I want to achieve this through the API.