academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Financial-documents → Download a refund document by document number

AI-generated

Summary

Downloads a refund document using its document number and returns it as binary data.

Inputs

  • refundNumber (required) — Document number (Belegnummer) printed on the refund document; used in the request path /api/v1/financial-documents/refund/number/{refundNumber}.

Output shape

One item containing binary data in binary.data and JSON metadata.

The JSON metadata includes mimeType, fileName, response headers, and statusCode. The file name is taken from the response's Content-Disposition header when available, otherwise from the request URL, with data as a fallback. With Continue On Fail enabled, a failed item returns a JSON error instead.

Links

Discussion