Sales order header discounts

A discount applied at header level on a sales order and spread across its line items.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
OrdersalesorderIdReferenceYes
OrdersequenceWhole NumberYesWhole number without fractional part.
LabellabelText
KindkindConstantYesFixed option from the allowed set for this field.
PercentpercentPercentPercent value from 0 to 100.
AmountamountCurrencyMonetary amount in the applicable currency for this record.
Amount appliedamountAppliedCurrencyYesAmount in the document or line currency.
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Approved byapprovedByUser
Approved atapprovedAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

Sales order headerdiscountsSales orders
FieldPoints toKind
Order salesorderIdSales ordersowned by

Actions

What you can do with a record. Every action also sends the webhook event salesorderdiscounts.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new header discount.App · WebMCP · API · MCP · CLI
EditupdateSave changes to this header discount.App · API · MCP · CLI
DeletedeleteDelete this header discount and the data that belongs with it. This cannot be undone.App · WebMCP · API · MCP · CLI