Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Subscription Invoice → Get

AI-generated

Summary

Fetches a subscription invoice by its ID from the Lemon Squeezy API and returns the invoice data, optionally simplified from JSON:API format.

Inputs

  • Subscription Invoice ID (required) — The subscription invoice ID to retrieve.
  • Simplify — Defaults to true. When enabled, flattens JSON:API attributes to the top level; disable it to return the raw JSON:API structure.
  • Retry Options — Configures retries for failed API requests. Max Retries defaults to 3 (0–10); Initial Delay defaults to 1000 ms (100–30000), doubling on each retry.

Output shape

A single invoice record.

The record is simplified by default; with Simplify disabled, the raw JSON:API format is returned.

Links

Discussion