List Invoices

​

Liost all invoices that are generated so far.

Responses

  • application/json
  • application/json
  • application/json
Request Example for get/mixed/billing/invoice/history
import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const billing = await client.billing.listInvoices();

console.log(billing);
{
  "unpaid_invoices": true,
  "stripe_invoices": [
    {
      "id": "string",
      "status": "draft",
      "created": 1,
      "amount_due": 1,
      "hosted_invoice_url": "string",
      "invoice_pdf": "string"
    }
  ]
}