Easy Labs
APIBillingInvoices

Download invoice PDF (public)

Public endpoint to download a generated invoice PDF. Returns a redirect to a signed URL.

GET
/v1/auth/invoices/{id}/pdf/download

Authorization

bearerAuth
AuthorizationBearer <token>

Supabase JWT bearer token for dashboard / user-scoped endpoints. Role-derived scopes: ROOT/ADMIN → full admin; USER → read-only treasury.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://loading/v1/auth/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08/pdf/download"
null
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}