App Logo
app.hubspot.com

List HubSpot invoices

List the billing invoices on a HubSpot account, taken from Account & Billing → Transactions: each invoice's number, date, amount, status, and a link to its PDF. The PDF link is tied to the signed-in session, so it only opens while that session is still active. Sign in to HubSpot in the browser this runs against before using it — signed out, the script says so rather than returning an empty list. Pass portalId to target a specific portal when the account has more than one.

Input

portalId optional

HubSpot portal/hub id (e.g. 147691106). Omit to auto-detect from the logged-in session.

Output

count required
invoices required
portalId required

Start building not clicking