curl --request GET \
--url https://us.api.flexprice.io/v1/invoices/{id}/pdf \
--header 'x-api-key: <api-key>'"<string>"Use when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary. Use force_generate=true to regenerate and re-upload the PDF even if one already exists in S3.
curl --request GET \
--url https://us.api.flexprice.io/v1/invoices/{id}/pdf \
--header 'x-api-key: <api-key>'"<string>"Enter your API key in the format x-api-key <api-key>*
Invoice ID
Return presigned URL from s3 instead of PDF
Force regeneration of the PDF even if one already exists in S3 (default: false). Note: force_generate has no effect if invoice_pdf_url is already set on the invoice.
OK
The response is of type file.