Skip to content

Invoice Generator

Adds a Download invoice button to the single-order screen for buyers, vendors and administrators. Invoices are print-perfect documents — the browser's own print dialog doubles as Save as PDF — served over secure, permission-scoped links.

Setup

  1. Go to Voxel Toolkit → Functions and enable Invoice Generator
  2. Configure the seller identity, numbering and content below

Seller identity

Who the invoice is from depends on how your marketplace works:

OptionUse when
Platform detailsYou are the merchant of record
Vendor detailsVendors sell in their own name
Vendor with "Sold via" lineVendors sell in their own name, with the platform named underneath

Vendor details are pulled from their profile through dynamic tags, so each vendor's own business name and address appear without them filling in anything extra.

Invoice numbering

Numbers are built from a prefix plus format tokens, with a sequential counter.

Numbers are issued once and never change

An invoice number is assigned the first time an invoice is generated for an order and stored against it. Regenerating the invoice — or changing the numbering format later — never renumbers an existing invoice, which is what accounting practice requires.

Content

SettingDescription
LogoSite logo, or a custom upload
Extra invoice linesAdditional rows powered by dynamic tags
Footer noteTerms, tax registration numbers, payment instructions
Payment methodShow or hide how the order was paid
Transaction IDShow or hide the gateway reference

Extra lines accept dynamic tags from the site, the vendor, the customer, and the purchased listing — so a booking invoice can carry the dates, or a listing-plan invoice the plan name.

Access

The download link is permission-scoped. A buyer can retrieve their own invoice, a vendor invoices for their own sales, and an administrator any invoice. The link can't be guessed or shared to reach another customer's order.

Notes

  • Invoices are generated on demand rather than stored, so a change to the logo or footer applies to future downloads immediately — while the invoice number stays fixed.
  • The layout is designed for A4 and Letter without configuration.

Built by Code Wattz.