Skip to main content

Invoice History

Subscribd records every charge as an Invoice. Each invoice carries line items, a status, a total, and a PDF download link.

Livewire component

Drop the Livewire component into any authenticated page for a paginated invoice table with PDF download links:

Blade component

The static Blade component renders a non-paginated list. Use it in contexts where server-side reactivity is not needed:

Accessing invoices programmatically

Invoice properties

Invoice totals

Invoice amounts are returned as Money objects from the moneyphp/money library:

PDF download

The pdf_url column is populated automatically for Stripe-hosted checkout invoices and is also populated when the dompdf driver generates a PDF locally:
Render a download link in Blade:

Invoice line items

Each invoice has one or more line items accessible via the lines relationship:

Next steps

  • One-Off Charges — Charge outside a subscription
  • Tax — Tax configuration and calculation