Events are published on the window object level and can be subscribed via the regular .addEventListener() function.

window.addEventListener('taxamo-tax-calculated', console.debug);
EventDescription
taxamo-tax-calculatedPublished when the tax calculation completes.
Event includes detail field with tax calculation result.
taxamo-field-updatedPublished when a field value has been updated.
Event includes a detail map with name and value keys.
taxamo-field-updated-{field-name}Published when the specified field value has been updated.
Event includes a detail map with name and value keys.
taxamo-loading-startPublished when Taxamo Drop-In UI starts
to perform XHR request.
taxamo-loading-stopPublished when Taxamo Drop-In UI finishes a XHR request.
taxamo-loading-errorPublished when Taxamo Drop-In UI XHR request.
Includes detail field with tax calculation result.
taxamo-captcha-loading-startPublished when Taxamo Drop-In UI starts
to perform XHR request for captcha retrieval.
taxamo-captcha-loading-finishedPublished when Taxamo Drop-In UI finishes
XHR request for captcha retrieval.
taxamo-captcha-submit-startPublished when Taxamo Drop-In UI starts
to perform XHR request with the CAPTCHA solution.
taxamo-captcha-submit-finishedPublished when Taxamo Drop-In UI finishes
an XHR request with the CAPTCHA solution.
taxamo-missing-tax-required-fieldsPublished when the tax calculation fails with
missing tax required fields.
Event includes detail field with error object with tax calculation result.