Download DayZero-generated invoice PDF
GET
/api/v1/invoices/{invoice_id}/pdf/internalStream a PDF rendered by DayZero (not the Stripe-hosted one), including the business's custom footer text and banking details block. Works for any invoice, including drafts and invoices without Stripe integration.
Authentication
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Parameters
Path
invoice_idstring · uuidrequired
Responses
401Unauthorized - Authentication required
403Forbidden - Insufficient permissions
404Not Found - Resource does not exist
422Validation Error
Schema: HTTPValidationError
detailarray · ValidationErrorValidationError5 fields
locarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject