> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Billing: Invoice Generate

> This reference explains the Billing: Invoice Generate task.

This reference explains the Billing: Invoice Generate task.

The invoice generate task generates an invoice for a specified account. If Invoice Settlement is enabled, credit memos can be generated as well.

This task is equivalent to the single account mode of the bill run task.

You need to have an upstream task to retrieve the accounts that you want to generate billing document for. If you need to generate billing document for multiple accounts, you need to add an iterate task and place the generate invoice task after the For Each condition.