nuxt-x-app-admin
Stripe Invoices Detail
Stripe invoice detail with line items, download/refund/reminder modals, and overdue indicator.
Stripe Invoices Detail
Stripe invoice detail with line items, download/refund/reminder modals, and overdue indicator.
Components
<XAdminStripeInvoicesDetail />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Stripe/Invoices/Detail.vue in @xenterprises/nuxt-x-app-admin.
<XAdminStripeInvoicesDetail />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
invoice | Object | null | Pre-fetched invoice object. If provided, invoiceId is ignored for the fetch. |
invoiceId | String | '' | ID used to fetch the invoice when invoice is not provided. |
endpoint | String | 'admin/stripe/invoices' | API endpoint for the invoice fetch. |
showDownload | Boolean | true | Show 'Download' action. |
showRefund | Boolean | true | Show 'Refund' action. |
showSendReminder | Boolean | true | Show 'Send reminder' action. |
Emits
| Event | Payload | Description |
|---|---|---|
download | varies | Fired when 'Download' is clicked (Invoice). |
refund | varies | Fired when a refund is processed / confirmed. |
send-reminder | varies | Fired when 'Send reminder' is confirmed. |
view-customer | varies | Fired when 'View customer' is requested. |
view-subscription | varies | Fired when 'View subscription' is requested. |
AI Context
component: XAdminStripeInvoicesDetail
package: "@xenterprises/nuxt-x-app-admin"
category: Stripe
source: app/components/XAdmin/Stripe/Invoices/Detail.vue
use-when: Stripe invoice detail with line items, download/refund/reminder modals, and overdue indicator.
