Shopify: list invoices
Automatically list invoices on admin.shopify.com. List a Shopify store's billing invoices — number, date, type, status, amount and invoiceUrl — for the store the signed-in account lands on. Metadata only: feed a row's invoiceUrl to admin.shopify.com/download_invoice to fetch that invoice's PDF. A store that has never been invoiced returns an empty list. Deactivated stores still return their full invoice list, even when their PDFs are unavailable.
Input
None
Output
store requiredinvoices requiredFAQ
Shopify store admin login (Google SSO)
Log into a Shopify store admin via Google SSO — clicks 'Continue with Google' on accounts.shopify.com, picks the account, skips the passkey-enrollment prompt if shown, then opens admin.shopify.com/store/<store>. Pass the store handle.
Download a Shopify invoice PDF
Download one Shopify store invoice PDF, given the invoiceUrl (or number) that admin.shopify.com/list_invoices returns. Exports the invoice as PDF from its billing page and saves the file under Shopify's own filename, returning where the browser saved it (or a link to it on a managed browser). Fails with a clear message when the invoice has no export or Shopify issues no PDF for it.
List Shopify store orders
Lists orders from the signed-in Shopify admin, with the order number, customer, total, payment and fulfilment status and date.
