Get invoice PDF
Changed onUse 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.
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/invoices/{id}/pdf
- AuthAPI key in header x-api-key
Path parameters
Invoice ID
Query parameters
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.
Response
OK
Changes
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
too_many_requestsenum value to theresponse property for the response status - warning
added the new
too_many_requestsenum value to theresponse property for the response status - warning
added the new
too_many_requestsenum value to theresponse property for the response status
- warning