paywise icon

paywise

Submit and track debt collection cases with the paywise API v2

Actions37

Statement → Download

AI-generated

Summary

Download a specified statement file from Paywise by providing the Statement ID and selecting the desired file type, and save the binary file under a specified output field.

Inputs

  • Statement ID (required) — The unique identifier of the statement to download.
  • File (required) — The type of statement file to download. Options include Statement (PDF), Third-Party Money (XLSX), Cost Burden (XLSX), or Closing (XLSX). Defaults to Statement (PDF).
  • Put Output File in Field (required) — The name of the binary output field where the downloaded file will be stored.

Output shape

a single binary file stored under the specified output binary field for each input item

The operation returns the downloaded file as binary data assigned to the binary field named by 'Put Output File in Field'. The file format depends on the selected File option. Errors may occur if the Statement ID is invalid or the file is unavailable.

Links

Discussion