POST /api/public/v1/billing/listInvoices

Changed on

The next page of the business's issued invoices, newest first, after cursor: the nextCursor billing.getPaymentDetails or an earlier page returned. Drafts are left out and zero-total invoices are listed, as for billing.getPaymentDetails; nextCursor is null on the last page. Empty for a business with no billing account. Refused with BAD_REQUEST when cursor is not one of the business's invoices, and with PRECONDITION_FAILED as billingNotConfigured when billing is not configured. For a classified test organization's Stripe Sandbox records: refused with FORBIDDEN as sandboxNotAllowed unless the caller is a verified Fortune OS employee, and with PRECONDITION_FAILED as billingNotConfigured while the Sandbox is not configured; the experiment is not asked.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required
cursor, string required

Response

OK

object required
invoices, object[] required
nextCursor, string nullable required

Changes