Download an invoice PDF by its invoiceId. Optionally control sending via the query parameter.
API Key Authentication.
Override the contract sendInvoice setting. When true, allows downloading even if sendInvoice=false on the contract. Useful for admin operations or customer support scenarios.
PDF binary or null when sendInvoice=false