Skip to navigation

Download an invoice attachment

Streams an attachment’s bytes. Called by the portal front end with the end user’s short-lived session token (not your platform API key or its access token), and authorized against the parent invoice’s visibility.

Authentication

AuthorizationBearer

The end user’s short-lived portal session token (issued by the portal’s GraphQL sign-in). Used only by Download an invoice attachment; the ingestion endpoints use JwtBearer.

Path parameters

idstringRequiredformat: "uuid"
The attachment's unique identifier.

Response

The file bytes.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error