This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Generates temporary information for downloading a tax document's file.
The returned downloadInfo.url is a temporary link to a PDF. It expires 10 seconds after it's generated, so follow it immediately, and don't store it as a static link. Call this method again to get a fresh URL.
The tax document must have a file available, meaning its downloadable field is true.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.