List invoice milestones
Operation ID: invoiceMilestones
Group: Accounting › Invoice Milestones
Open in the interactive reference
GET /accounting/invoice-milestones
Read-only: Reads and returns; changes nothing.
Lists invoice milestones. Filter by salesOrderId to read one order's milestones, or by status to find the milestones waiting to be released ('open') or to be invoiced ('released'). The list doesn't include the product lines of each milestone; read them with GET accounting/invoice-milestones/:id.
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
id— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likesalesOrderId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeorderSequence— filter by eq, ne, gt, gte, lt, lte, in, notIn, betweenprojectedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, betweencurrency— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeamount— filter by eq, ne, gt, gte, lt, lte, in, notIn, betweenstatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeinvoiceDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, betweeninvoiceNumber— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between- Orderable: id, salesOrderId, orderSequence, projectedDate, currency, amount, status, invoiceDate, invoiceNumber, lastModifiedDate
- Selectable: id, salesOrderId, description, orderSequence, percentage, projectedDate, currency, amount, status, invoiceDate, invoiceNumber, lastModifiedDate
page[size]— Page sizepage[cursor]— Opaque continuation cursor
Response
200 Success
Under data, an array of invoiceMilestonesRow:
| 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 invoice milestone. |
salesOrderId |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The sales order whose product lines the milestone bills. |
description |
string | null | no | no | no | What the milestone stands for, as it appears on the invoice line. |
orderSequence |
number | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | The milestone's position among the sales order's milestones. |
percentage |
decimal | null | no | no | no | The share of the sales order the milestone bills, in percent. A number, not an amount. |
projectedDate |
date | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | When the milestone is expected to be reached. Format YYYY-MM-DD. |
currency |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The currency of amount, as a 3-letter ISO 4217 code. |
amount |
decimal | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | The amount the milestone bills, in the milestone currency (see currency). |
status |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | Where the milestone is in invoicing. One of: "open" (Not released for invoicing. The milestone can be changed.), "released" (Released for invoicing on invoiceDate; the invoice is not created yet.), "invoiced" (Invoiced.). |
invoiceDate |
date | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | The planned invoice date of a released milestone, or the invoice date of an invoiced one. Absent while the milestone is open. Format YYYY-MM-DD. |
invoiceNumber |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The number of the invoice that billed the milestone. Absent until it is invoiced. |
lastModifiedDate |
date-time | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | The date and time the milestone last changed, in UTC. ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). |
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"salesOrderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "<description>",
"orderSequence": 0,
"percentage": "19.99",
"projectedDate": "2026-01-15",
"currency": "<currency>",
"amount": "19.99",
"status": "open",
"invoiceDate": "2026-01-15",
"invoiceNumber": "<invoiceNumber>",
"lastModifiedDate": "2026-01-15T09:30:00.000Z"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "<nextCursor>"
}
}
Statuses
400— Invalid request or business failure401— The request carries no valid access token.403— Not authorized404— Not found429— Too many requests from this client address. The response has no body and noRetry-Afterheader.500— Internal server error