What is the Invoice System?
AffZero’s invoice system lets you create professional PDF invoices with live affiliate data filled in automatically. Invoices are generated from templates — either HTML designs you build in AffZero or Google Docs you already manage. The typical flow:- Design an invoice template (HTML or Google Doc)
- Add a Create Invoice step to an automation
- The step substitutes your stats variables into the template and produces a PDF
- A following Send Email step attaches and delivers the PDF to the affiliate
Two Template Types
HTML Templates
Design your invoice layout in HTML/CSS with full control over fonts, colors, and structure. Best for custom branded invoices.
Google Doc Templates
Use a Google Doc as your template. AffZero replaces variable placeholders and exports to PDF. Best for teams already working in Google Workspace.
Invoice Sections
The Invoices menu has two subsections:Invoices → Templates
All your invoice template designs. Create, edit, preview, and delete templates here. Templates are reusable across multiple automations.Invoices → Generated
A history of every PDF invoice that has been generated by an automation. You can view, download, or delete generated invoices. Each entry shows:- The template used
- The automation and run that created it
- The filename and generation timestamp
- A download link for the PDF
Using Variables in Invoices
Invoice templates support the same variable system as email templates. Any variable available at the point in the automation where the Create Invoice step runs can be placed in the template:Common Invoice Workflow
Here’s a complete end-to-end invoice automation:Pull Stats
Fetch the affiliate’s monthly revenue and payout data using a Pull Stats step with “Last Month” date preset.
Generate Invoice Number
Use the Generate Invoice Number step to get the next number in your invoice series (e.g.
INV-2026-048).Create Invoice
Select your HTML or Google Doc template. The payout, affiliate name, invoice number, and other variables are substituted into the template and a PDF is generated.

