Billing

Get invoice PDF URL

Changed on

Returns a Stripe-hosted PDF URL for the invoice. The URL is short-lived; fetch fresh when you need to hand it to a user.

Requesting an invoice that does not belong to the caller's organization returns 404 (not 403), so a foreign invoice ID cannot be confirmed to exist.

get/payment/v1/invoices/{invoiceId}/pdf

Request

  • Base URL
    https://api.smallest.ai
  • URL
    https://api.smallest.ai/payment/v1/invoices/{invoiceId}/pdf
  • Auth
    HTTP bearer

Path parameters

invoiceIdstring required

Stripe invoice ID (e.g. in_1THiCSRwh8g1U6dfOcUtTdq9).

Response

Stripe-hosted PDF URL for the invoice.

successboolean required

Example response

{
  "success": true
}

Changes