Now that you’ve created an invoice draft, and your user has reviewed it, the time has come to finalize the invoice.Documentation Index
Fetch the complete documentation index at: https://docs.tight.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Finalizing a drafted invoice
You can finalize the invoice by making the following POST call:sendEmail flag can be used to determine whether the invoice should be sent to the client or not. There are times where a user may want to simply create the invoice for internal tracking reasons, but not send the invoice to the client. The invoice can be sent at a later time, using the /sendInvoice endpoint.
The response will contain an htmlReport attribute, which contains an embeddable HTML body of the user’s invoice, including their custom branding that you set up earlier:
htmlReport field and embed that in your product’s UI for your user to review.