Skip to main content

Overview

Learn to generate a simple invoice and send it as an email attachment using Resend.

Prerequisites

  1. Publish the invoice template to htmldocs.
  2. Install the required dependencies:
  1. Set up your Resend API key in your environment:

Implementation

For more information about document generation, see our API Reference.