[ms-invoice]
The [ms-invoice] shortcode displays an invoice to a user. This shortcode is only useful for showing invoices to their recipients — it cannot be used to display invoices for other members.
Parameters
- id (single ID, required)
The unique invoice ID to display - pay_button (
yes|no)
Defines whether the invoice includes a Pay button
Default:yes
Example
Display an invoice with ID 123:
[ms-invoice id="123"]Conclusion
The [ms-invoice] shortcode provides a way to display invoices directly to the recipient, with the option to include a pay button. Since invoices are tied to individual users, this shortcode is limited to personal invoice display scenarios.