List Workspace Invoices

List invoices for a specific order. Please refer to the API documentation for more information about the different types of invoices and payment processors.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Query Params
string

ID of item after which the collection should be returned. More examples and info about pagination in our guides.

string

Sort order of a list response. Use 'desc' to reverse the default 'asc' (ascending) sort order. Examples in our guides.

string

Sort property of a list response. The default is id and thus the created_at order.
If you sort by other properties, we additionally sort by id implicitly as a secondary sort property, so that you can rely on the sort order to be deterministic even if the main sort property ends up with the same values.

filter
object

Filter by available properties in query params, like this: api/v2/resources?filter[id]=value&filter[another_property]=value1,value2. Check our Filtering guide for examples and all about filtering here.

Responses

Response body
array of objects
object
integer
required

Invoice ID

string | null

Invoice public ID

integer
required

Order ID

string
required

The billing status reflects the status of the invoice's payment.
Billing status can be one of the following for Payments AI orders: draft, paid, unpaid, partially-refunded, refunded, voided, disputed, past-due.

External invoice statuses of external one-time orders can be one of the following: unpaid, paid, voided and refunded, disputed, past-due.
A change in status will update the billing_status of the parent order. If the status of a one-time order is changed to paid, the order's service_status will also be flipped to completed.

string | null

Due Amount

string | null

Total Amt

string | null

Subtotal Amount

string | null

Tax Amount

string | null

Invoiced shipping amount. Cannot be negative.

string | null

Discount Amount

string | null

Currency

date-time | null

The date the invoice was issued.

date-time | null

The date the invoice is due.

date-time | null

The date the invoice was paid.

string | null

Invoice Type

initial renewal interim cancellation one_time refund charge one_time_sale

string
required

The number of the invoice. Usually, this is a sequential number in a certain format to be used for bookkeeping purposes.

string | null

The fulfillment status of the invoice.
This can be one of:

  • not_applicable - the invoice is not eligible for fulfillment
  • unfulfilled - the entire invoice needs to be fulfilled
  • partial - some items have been fulfilled, but some are pending or restocked
  • complete - all items are fulfilled
date-time | null

Added

date-time | null

Updated

string
required

External ID

string | null

The payment processor of the invoice's order. Currently, it can be one of payments_ai and external.

boolean | null

Invoice has been paid so is eligible for fulfillment (does not indicate if the invoice has any fulfillable items)

array of objects | null

Invoice Line Items

line_items
object
integer
required

Line item ID

string | null

ClickFunnels line item public ID

integer
required

Invoice ID

string
required

External

string | null

Payment Type

string | null

Description

integer
required

Quantity

string | null

Represents the current fulfillment status of the line item.
This can be one of the following:

  • unfulfilled - the line item has not been fully fulfilled (fulfilled quantity is 0)
  • partially_fulfilled - the line item is partially fulfilled (fulfilled quantity is less than line item quantity)
  • complete - the line item is completely fulfilled (fulfilled quantity is equal to line item quantity)
  • ignored - the line item is marked as ignored for fulfillment

unfulfilled partially_fulfilled complete ignored

string | null

External Product

number | null

Discount Amount

number | null

State Tax Amount

number | null

County Tax Amount

number | null

City Tax Amount

number | null

District Tax Amount

number | null

State Tax Rate

number | null

County Tax Rate

number | null

City Tax Rate

number | null

District Tax Rate

string | null

Country Tax Jurisdiction

string | null

State Tax Jurisdiction

string | null

County Tax Jurisdiction

string | null

City Tax Jurisdiction

string | null

Period Start At

string | null

Period End At

string | null

Period Number

string | null

Added

string | null

Updated

string
required

Amount

products_price
object
required

Product Price

object | null

Product Variant

order
object
required

Orders

Headers
object
string

ID of the last item in the current response after which more records exist. You can use it in an after query parameter for cursor-based pagination to get to the next page.

string

Language
Credentials
URL