Invoice Preview
Edited
There are two new listeners that can be used when calls are made to the InvoicePreview for tax calculation purposes:
previewStarted (no parameters)
previewEnded (1 boolean parameter - whether a blocking result was returned)
The following example disables the "Next" button while waiting on the InvoicePreview. It is re-enabled unless there was a blocking error in the call: