Skip to main content

Invoice Phases

Entity›Datastore›Datastore.Phase›Datastore.Phase.ActivityInvoice

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_ActivityInvoice

Single 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​

RelationshipTarget EntityCardinalityDescription
InvoiceActivity_Invoice1:NInvoice

Expanding Relationships​

GET/v1/odata/Datastore_Phase_ActivityInvoice({id})?$expand=Invoice
GET/v1/odata/Datastore_Phase_ActivityInvoice({id})/Invoice

Usage​

Query Available Phases​

GET/v1/odata/Datastore_Phase_ActivityInvoice?$select=Name,Code,IsTerminal

Update Phase on Invoice​

POST/v1/odata/Activity_Invoice

Filtering 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