PAYTERM: Payment term
The PAYTERM entity represents a payment term defining the number of days allowed for invoice settlement, used on purchase orders and invoices.
Default definition. This article describes the default
PAYTERM definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches PAYTERM.Entity properties
| Property | Value |
|---|---|
| Entity code | PAYTERM |
| Display name | Payment term |
| Plural | Payment terms |
| Level | 250 |
Use cases
PAYTERM is a simple lookup entity at level 250. Uses a flat definition array with three fields: name, days (number of days for payment), code, and a readonly Dynamics ID for ERP sync. Grid-only view.
Fields
General
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name. |
days | number | Days. | |
code | text | Code. | |
_dynamics_id | text | Dynamics ID. Read-only. |
Relationships
- No declared relationships in the default definition.
Creating a Payment term via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "PAYTERM",
"level": 250,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"days": 100,
"code": "EX-001"
}
Listing PAYTERM records
# All payment terms in your tenant
GET /v1/entities/PAYTERM/SUB