Invoice Phases
Invoice Phases define the workflow stages for Invoices. Use this endpoint to query the available phases and their IDs, which are needed to update the phase of a invoice.
Use the Datastore_Phase_ActivityInvoice endpoint to query phases for this activity type.
Endpoints
List Invoice Phases
GET
/v1/odata/Datastore_Phase_ActivityInvoiceSingle Phase
GET
/v1/odata/Datastore_Phase_ActivityInvoice({id})Fields
Inherited Fields (from Phase)
See Phase Fields for all inherited fields including Name, Code, Icon, ActionName, IsAssignable, and IsTerminal.
Relationships
| Relationship | Target Entity | Cardinality | Description |
|---|---|---|---|
| Invoice | Activity_Invoice | 1:N | Invoice |
Expanding Relationships
GET
/v1/odata/Datastore_Phase_ActivityInvoice({id})?$expand=InvoiceNavigating Relationships
GET
/v1/odata/Datastore_Phase_ActivityInvoice({id})/InvoiceUsage
Query Available Phases
GET
/v1/odata/Datastore_Phase_ActivityInvoice?$select=Name,Code,IsTerminalUpdate Phase on Invoice
POST
/v1/odata/Activity_InvoiceFiltering Examples
GET
/v1/odata/Datastore_Phase_ActivityInvoice?$filter=Name eq '{Name}'&$top={top}GET
/v1/odata/Datastore_Phase_ActivityInvoice?$filter=Code eq '{Code}'&$top={top}GET
/v1/odata/Datastore_Phase_ActivityInvoice?$filter=IsTerminal eq {IsTerminal}&$top={top}GET
/v1/odata/Datastore_Phase_ActivityInvoice?$filter=IsAssignable eq {IsAssignable}&$top={top}GET
/v1/odata/Datastore_Phase_ActivityInvoice?$filter=IsDefault eq {IsDefault}&$top={top}Custom Query
Build your own OData query against Datastore_Phase_ActivityInvoice. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.
GET
/v1/odata/Datastore_Phase_ActivityInvoice?$top=10