List invoices
status (open, paid, void, or uncollectible), totals in integer cents, and a hosted_invoice_url where it can be viewed and paid.
- Add
status=opento see what is still due. - When
has_moreistrue, passnext_cursorasstarting_afterto get the next page. limitaccepts 1–100 and defaults to 25.
Download a PDF
application/pdf. Content-Disposition names the file after the invoice number, and -OJ saves it under that name. If pdf_available is false, the request returns 409 not_available. Retry later or use hosted_invoice_url.