Skip to content

Preview invoice PDF inline

GET
/portal/invoices/{invoice_id}/pdf_preview

Preview a PDF for a finalized or paid invoice (inline in browser).

invoice_id
required
Invoice Id
string format: uuid
token
required
Token
string

Successful Response

Invoice must be finalized or paid to generate PDF

Invalid or expired portal token

Invoice not found

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object