Generate Invoice
Generate and send invoice to task creator
Last updated
Generate and send invoice to task creator
Last updated
TaskID
HTTP request to: /generate-invoice/TASKID
Get all the user data for the assigned person and the task owner.
use the following api to generate a pdf:
Example request:
Save the pdf file in the to the storage (Under: "invoices/TaskId")
Get the URL from the the storage and add it to the task document (InvoiceUrl="")
get task, developer & owner data
add invoiceSend: true to the task data
create invoice with this details (using invoice-generator.com format so it will be easier if decided to use their service later)
save invoice to "invoices/TaskId"