> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoice Management

> Dodo Payments generates a branded invoice for every successful payment. Set the name and logo it shows, see what it contains, and download it.

<Frame>
  <img src="https://mintcdn.com/dodopayments/mOQO5ej_lx0yH9p-/images/cover-images/Invoice%20Generation.webp?fit=max&auto=format&n=mOQO5ej_lx0yH9p-&q=85&s=d51414d96f53014f6374ddcce586559d" alt="Invoice Generation Cover Image" style={{ maxHeight: '500px', width: 'auto' }} width="1200" height="630" data-path="images/cover-images/Invoice Generation.webp" />
</Frame>

## Overview

Dodo Payments generates an invoice for every successful transaction, so you never create invoices by hand and every sale is documented the same way. After each payment, your customer receives a payment confirmation email with the receipt details and a link to the payment in the Customer Portal. The invoice isn't attached to the email.

<Info>
  Invoices are generated for both one-time purchases and recurring subscription payments.
</Info>

## Key Features

<CardGroup cols={2}>
  <Card title="Automatic Generation" icon="wand-magic-sparkles">
    Dodo Payments creates the invoice when a payment succeeds, with no manual work.
  </Card>

  <Card title="Custom Branding" icon="palette">
    Each invoice shows your brand's name and logo, so it matches your other customer touchpoints.
  </Card>

  <Card title="Email Delivery" icon="envelope">
    Customers receive a payment confirmation email after each payment.
  </Card>

  <Card title="Dashboard Management" icon="table-columns">
    Download the invoice for any payment from its details page in the dashboard.
  </Card>
</CardGroup>

## Setting Up Invoice Branding

An invoice shows the name and logo of the brand the payment belongs to. For a business with one brand, that is your primary brand. With several brands, set the name and logo on each brand. See [Multi-Brand Setup](/features/multi-brands).

<Steps>
  <Step title="Navigate to Business Settings">
    Open the Dodo Payments dashboard and go to **Settings** → **Business**.
  </Step>

  <Step title="Configure Branding">
    In the **Brands Under \[Your Business]** panel, open the brand's `...` menu and select **Edit**. Upload the **Brand Logo** and enter the **Brand Name**. Invoices for the brand's payments show these details.

    <Tip>
      Use a high-resolution logo (minimum 300x300px) in PNG format for the best print quality.
    </Tip>

    <Info>
      **Accepted logo formats:** PNG, JPEG, GIF, WebP, ICO, and SVG. Any other format, AVIF included, is rejected at upload with a `422` error. WebP and ICO files are converted to PNG when the invoice is rendered, so they print correctly. Keep each side under 4096 pixels. If the invoice can't render the logo, it is generated without one.
    </Info>
  </Step>

  <Step title="Save Configuration">
    Click **Save Changes** to apply your branding. Invoices generated from then on use these details.

    <Check>
      Your invoice branding is configured and applies to all new invoices.
    </Check>
  </Step>
</Steps>

## What's Included in Invoices

Every generated invoice contains these transaction details:

* **Business Information**: Your brand's name and logo, with the Dodo Payments entity that sells to your customer as the Merchant of Record
* **Customer Details**: Customer name and billing address. For a business purchase with a tax ID, the customer's business name.
* **Invoice Number**: A unique invoice ID for tracking and reference
* **Transaction Date**: When the payment was processed, with the payment ID
* **Payment Details**: Amount paid and currency
* **Product/Service Description**: Itemized list of purchased products or subscriptions, with quantity, unit price, and tax for each line, plus any discount
* **Tax Information**: Applicable taxes and tax identification numbers
* **Payment Status**: **Paid** for a successful payment

<Note>
  Dodo Payments generates the invoice ID automatically. It is unique to each invoice.
</Note>

## How Invoice Generation Works

<Tabs>
  <Tab title="One-Time Purchases">
    When a customer completes a one-time purchase:

    1. The payment is processed successfully.
    2. Dodo Payments generates an invoice with the transaction details.
    3. The customer receives a payment confirmation email.
    4. The invoice is available on the payment's details page under **Transactions → Payments**.

    One-time purchase invoices include product details, pricing, and payment confirmation.
  </Tab>

  <Tab title="Subscription Renewals">
    For recurring subscription payments:

    1. The subscription renewal payment is processed automatically.
    2. Dodo Payments generates an invoice for the billing period.
    3. The customer receives a payment confirmation email.
    4. The invoice is stored with the renewal payment in your dashboard for your records.

    Subscription invoices list the subscription plan as a line item. They don't show the billing period or the next renewal date.
  </Tab>
</Tabs>

## Managing Invoices

### Accessing Your Invoices

Invoices are attached to payments. To find one, go to **Transactions → Payments** in your Dodo Payments dashboard and open the payment. From there you can:

* **View Invoice Details**: See the complete transaction information on the payment's details page.
* **Download PDF**: Click **Invoice** in the top-right corner to download the invoice as a PDF. For a refund, open it under **Transactions → Refunds** and click **Download Refund Invoice**.
* **Resend to Customer**: To send the customer's payment email again, use **Resend** on the customer's **Sent Emails** tab. See [Email Logs](/features/email-logs).
* **Filter and Search**: Filter payments by date, status, or currency to find the invoices you need.

To download an invoice in code, call [Get Invoice](/api-reference/payments/get-invoice) with the payment ID. The response is the PDF.

<Tip>
  Filter payments by date to collect the invoices for an accounting period or a customer support request.
</Tip>

## Invoice Template Preview

A branded invoice looks like this:

<Frame caption="Example of a generated invoice with custom branding">
  <img src="https://mintcdn.com/dodopayments/OWlOkbdK5mDdUO5r/images/invoice-generation/image.png?fit=max&auto=format&n=OWlOkbdK5mDdUO5r&q=85&s=8fc207d1dd2f0cce16c315c5bf0d2a18" alt="Invoice template showing business branding, transaction details, and professional layout" style={{ maxHeight: '500px', width: 'auto' }} width="575" height="813" data-path="images/invoice-generation/image.png" />
</Frame>

## Related Features

<CardGroup cols={2}>
  <Card title="Subscription Management" icon="calendar-days" href="/features/subscription">
    Learn how subscriptions work with automatic recurring invoices.
  </Card>

  <Card title="Multi-Brand Support" icon="layer-group" href="/features/multi-brands">
    Manage multiple brands with separate invoice branding for each.
  </Card>

  <Card title="Customer Portal" icon="user" href="/features/customer-portal">
    Let customers view and download their invoices in the Customer Portal.
  </Card>

  <Card title="Tax Configuration" icon="percent" href="/features/tax-inclusive-pricing">
    Configure tax settings so invoices display the correct tax information.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.