Subscriptions

Operation ID: subscriptions

Group: Accounting › Subscriptions

Open in the interactive reference

GET /accounting/subscriptions

Read-only: Reads and returns; changes nothing.

List subscriptions, one row per subscription. A row carries customerName but no customerId or entityId: reach them through subscriptionId on sales order products and the order's customerId and entityId, or through getSubscription.

Lists subscriptions. Each subscription in the list has no customerId, entityId, or lines. For the full record, including the customer and legal entity, use GET accounting/subscriptions/:id or POST accounting/subscriptions/search.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Query surface

Response

200 Success

Under data, an array of subscriptionsRow:

Field Type Required Filter Sort Description
id string no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The unique identifier for the subscription.
subscriptionNumber string | null no no no The subscription number. Unique within the tenant. Example: 'SUB-1'.
customerName string | null no no no The name of the customer this subscription belongs to. See name on GET accounting/customers/:id.
currency string no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The currency of annualRecurringRevenue and monthlyRecurringRevenue. Format ISO 4217, for example 'USD'.
autoRenew boolean | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Whether the subscription renews automatically at the end of its term.
renewalTerm number | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The length of the auto-renewal term, in the subscription's term unit.
renewalPriceChangePercentage decimal | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The percentage by which the price changes on renewal.
termType string no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The term type of the subscription. One of: "termed", "evergreen".
subscriptionStatus string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The status of the subscription, derived now from the status of its lines, strongest first: any 'active' line makes it 'active'; otherwise 'suspended', 'pendingActivation', 'notStarted', 'pendingOrderApproval'; with none of those it is 'canceled'. 'canceled' therefore also covers a subscription whose term simply ended. A cancellation itself is isCancellationEnabled with a cancellationDate; read those, not this status, for any date other than today. One of: "pendingActivation", "notStarted", "active", "pendingOrderApproval", "canceled", "suspended".
serviceStartDateBasis string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes How the service start date is determined. One of: "fixedDate", "serviceActivation".
serviceActivationDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The date service was activated. Set only when serviceStartDateBasis is 'serviceActivation'. Format YYYY-MM-DD.
serviceStartDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The earliest service start date across the subscription's lines. Format YYYY-MM-DD.
serviceEndDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The latest service end date across all of the subscription's lines. Format YYYY-MM-DD. Usually absent when the subscription is evergreen, but present once it is canceled or suspended.
submissionDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The submission date of the sales order this subscription came from. Format YYYY-MM-DD.
cancellationDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The last day of service of a canceled subscription, which is out of service from the day after; its lines end on this date unless the cancellation set another end date for them. Absent when no cancellation has been recorded. Format YYYY-MM-DD.
cancellationReason string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The reason code for the cancellation. Absent when the subscription has not been canceled. One of: "noReasonGiven", "budgetary", "movingToCompetitors", "lowCustomerSatisfaction", "bankruptcy", "acquisitionMerger".
isCancellationEnabled boolean | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Whether the cancellation procedure has been applied to this subscription.
suspensionDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The date from which the subscription is or will be suspended. Absent when no suspension has been recorded. Format YYYY-MM-DD.
suspensionReason string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes The reason code for the suspension. Absent when the subscription has not been suspended. One of: "unpaidBalance", "invalidPaymentMethod".
isSuspensionEnabled boolean | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Whether the suspension process is enabled for this subscription.
externalSubscriptionId string | null no no no The subscription's identifier in an external system. Absent when none was recorded at creation.
annualRecurringRevenue decimal | null no no yes The annual recurring revenue, in the subscription's currency: the sum of annualRecurringRevenue across the lines that are active or suspended now.
monthlyRecurringRevenue decimal | null no no yes The monthly recurring revenue, in the subscription's currency: the sum of monthlyRecurringRevenue across the lines that are active or suspended now.
totalUserCount decimal | null no no yes The number of active users or seats across the subscription's active lines.
prepaidBalance decimal | null no no yes The prepaid balance remaining for this subscription, summed across the prepaid balances linked to it. The balance is a quantity, not a currency amount.
lastModifiedDate date-time no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes The date and time the subscription last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ.
{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "subscriptionNumber": "<subscriptionNumber>",
      "customerName": "<customerName>",
      "currency": "<currency>",
      "autoRenew": true,
      "renewalTerm": 0,
      "renewalPriceChangePercentage": "19.99",
      "termType": "termed",
      "subscriptionStatus": "pendingActivation",
      "serviceStartDateBasis": "fixedDate",
      "serviceActivationDate": "2026-01-15",
      "serviceStartDate": "2026-01-15",
      "serviceEndDate": "2026-01-15",
      "submissionDate": "2026-01-15",
      "cancellationDate": "2026-01-15",
      "cancellationReason": "noReasonGiven",
      "isCancellationEnabled": true,
      "suspensionDate": "2026-01-15",
      "suspensionReason": "unpaidBalance",
      "isSuspensionEnabled": true,
      "externalSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "annualRecurringRevenue": "19.99",
      "monthlyRecurringRevenue": "19.99",
      "totalUserCount": "19.99",
      "prepaidBalance": "19.99",
      "lastModifiedDate": "2026-01-15T09:30:00.000Z"
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "<nextCursor>"
  }
}

Statuses