Sales Module

Back

Overview

The Sales module is responsible for managing all sales-related data, including orders, order lines, time tracking, categorisation and status workflows. It defines how sales are created, processed, and tracked within the system.

Sales is a foundational module and is required for:

All operations are tenant-aware and scoped to the current tenant.


Services

The Sales module consists of the following services:


Models

This module exposes and consumes the following models:


Cart Model

Represents a shopping cart that can be created anonymously and later converted to a document (sales order).

Fields:

Validation:


Cart Item Post DTO

Used when upserting items via POST /api/v1/Cart/items.

Fields:


Document Type Model

Represents the type/classification of a document (Sales Order, Credit Note, Quote, etc.).

Fields:

Validation:


Document Category Model

Represents a grouping or classification label for documents.

Fields:

Validation:

Notes:


Document Action Status Model

Represents a configurable action status that can be applied to a document (e.g., Pending Review, Approved, On Hold).

Fields:

Validation:


Document Action Status Map Model

Represents a status assignment on a specific document — acts as a status history log.

Fields:

Validation:

Notes:


Document Time Task Type Model

Represents a category of work that can be time-tracked against a document (e.g., Design, Development, Support).

Fields:

Validation:


Document Time Entry Model

Represents a block of time logged by a user against a document.

Fields:

Validation: