This article shares some possible use cases you could support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your implementation.
You can enable Wix users to customize the details of generated receipts with the Receipt Presets API.