<Invoice />
A component for viewing and paying invoices.


className
invoiceQuoteViewComponent
Last updated
Was this helpful?
A component for viewing and paying invoices.


Last updated
Was this helpful?
Was this helpful?
<Invoice
id={invoiceId}
invoiceQuoteViewComponent={<div>Display custom invoice here</div>}
onBackButtonClick={() => console.log("Clicked back button!")}
backButtonName="Custom back button name"
onInvoiceDownloadError={() => console.log("Handle invoice download error here")}
onPaymentSuccess={(savePaymentMethod: boolean) => console.log("payment method saved: ", savePaymentMethod)}
shadow="shadow-md"
className={undefined}
hideDownloadButton={false}
onInvoiceLoaded={(invoice: FormattedInvoice) => console.log(invoice)}
onQuoteLoaded={(quote: FormattedQuote) => console.log(quote)}
/>