Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

pols invoices

List your org's invoices, or download one as a PDF

Without an invoice ID, list your org’s invoices, newest first: one for each paid top-up and subscription month. Drafts (DRAFT-… numbers, for test payments) are not valid invoices.

With an invoice ID (inv_…), save its PDF, the invoice itself, as pols-invoice-NUMBER.pdf in the current directory, or to --output (“-” for stdout). The PDF is checked against the SHA-256 the invoice records. Owners and admins only.

Usage

pols invoices [INVOICE] [flags]

Examples

pols invoices
pols invoices inv_8f2k4m9q1x7c
pols invoices inv_8f2k4m9q1x7c -o invoice.pdf

Flags

-h, --help            help for invoices
-o, --output string   where to save the PDF; "-" for stdout (default pols-invoice-NUMBER.pdf)

The global flags work with this command too.