Generally you create a pdf report. Do you have a central server that will generate the invoice, or does the browser need to produce the invoice?
Server side there are plenty of reporting packages and pdf generators.
Client-side there are plenty of packages, for example
https://github.com/tuanpham-dev/react-invoice-generator
Little for blazor WASM, but the blazor tool vendor may have something. I think the most common right now is JavaScript interop to a js library
https://openbase.com/categories/js/best-javascript-pdf-generator-libraries