academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Financial-documents → Download a cancellation document by database ID

AI-generated

Summary

Downloads the cancellation document for the supplied database ID from the academyFIVE API and returns it as binary data.

Inputs

  • cancellationId (required) — Unique database ID of the cancellation record. Used in the request path /api/v1/financial-documents/cancellation/id/{cancellationId}.

Output shape

One n8n item containing binary data under data and JSON metadata.

The JSON metadata includes mimeType, fileName, response headers, and statusCode. The filename is taken from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback.

Links

Discussion