---
title: "[ms-invoice]"
source: "https://docs.nexcess.com/software/learndash/memberdash/ms-invoice/"
description: "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…"
vertical: "Software"
area: "MemberDash"
topics: ["Billing and Payments", "MemberDash", "Shortcodes"]
date: "2024-03-13"
last_modified: "2026-06-29"
---

# [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.
