_invoiceGet
Retrieve an Appointment's invoice. If an invoice does not already exist for that Appointment, then one will be created and then returned.
Parameters
id
The ID of the Appointment.
Example
Result
On Success
The ID returned here is the database ID of the invoice row.
Note the Status, which starts as '-1', meaning 'Draft'. Common Status values are:
-1: Draft
0: Quoted
1: Invoiced
2: Paid
3: Cancelled
Last updated