Medusa Invoices Plugin

Medusa Invoices Plugin
Ante PrimoracAnte Primorac
July 29, 2026
2 min read

We are shipping the Medusa Invoices Plugin, an open-source plugin that adds invoice PDF generation inside Medusa Admin. It keeps invoice management where the orders already live, so generating, tracking, and reissuing invoices does not need a separate workflow.

What it includes

The plugin adds an invoice settings page in Medusa Admin.

Medusa Invoices Plugin full settings page in Medusa Admin

From the settings page, admins can configure company and banking information, add header and footer content, use a text or image logo, and choose when invoices generate automatically.

Invoice templates

The first version ships with three templates: clean, classic, and compact.

Invoice PDF templates preview showing all three template styles

It does not try to cover every possible layout from day one. The goal is a clear starting point that can be adjusted to the store’s brand and operations. Templates are previewed inline before saving, so admins can see exactly what customers will receive.

Generation and status tracking

Invoices can be set to generate automatically when an order is completed, payment is captured, or fulfillment is created. Admins can also generate invoices manually.

From the order details page, the invoice status is visible at a glance: queued, generating, completed, or failed.

Medusa Admin order view showing invoice status and download option

A full invoices modal gives a list of all generated invoices with status, date, and quick actions.

Invoices modal listing all generated invoices with status and actions

Getting started

Install from npm, add your company details in the settings page, and invoices start generating on order completion. Zero external services. Zero configuration files. MIT licensed.

Get the plugin on GitHub
Ante Primorac

Ante Primorac
Tech Lead

I develop headless commerce solutions that adapt as brands expand. At Agilo, I directly handle architecture and implementation, guiding teams to make practical technical choices without increasing complexity. My emphasis is on creating durable commerce platforms where performance, maintainability, and clear system design are prioritized from the beginning.