Sales discounts

A sales discount that applies by itself or when its code is entered.
  • API name: salesdiscounts
  • Domain: Sales
  • Modules: Sales

Fields

The API name is what the API and MCP use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYesAssigned when the rule is created. Quotes and orders that use the rule point at it.
NamelabelTextYesShown on the document when this rule applies.
CodecodeTextEmpty: applies by itself. With a code: applies when the code is entered.
Valid fromdateFromDateYesFirst day the discount is valid.
Valid todateToDateYesLast day the discount is valid.
CatalogcatalogConstantEmpty: applies to the whole quote.
Product itemproductitemIdReferenceTarget when the catalog value is product items. Empty for every other catalog.
ProductproductIdReferenceCopied from the product item when an item is set. With no item, choose the product. Empty applies to all.
Product familyproductgroupIdReferenceEmpty applies to all.
Service itemserviceitemIdReferenceTarget when the catalog value is service items. Empty for every other catalog.
ServiceserviceIdReferenceCopied from the service item when an item is set. With no item, choose the service. Empty applies to all.
Service familyservicegroupIdReferenceEmpty applies to all.
Custom itemcustomitemIdReferenceTarget when the catalog value is custom items. Empty for every other catalog.
Custom item familycustomitemgroupIdReferenceEmpty applies to all.
MaterialmaterialIdReferenceTarget when the catalog value is materials. Empty for every other catalog.
Material familymaterialgroupIdReferenceEmpty applies to all.
CustomercustomerIdReferenceEmpty applies to all.
Customer groupcustomergroupIdReferenceEmpty applies to all.
TypekindConstantYesPercent of the base, or a fixed amount.
PercentpercentPercentFraction from 0 to 1.
CurrencycurrencyConstantCurrency of the fixed amount.
AmountamountCurrencyFixed amount in the currency.
TagstagIdsTagsOptional classifiers for lists and filters.
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Published bypublishedByUser
Published atpublishedAtDate and Time
Disabled bydisabledByUser
Disabled atdisabledAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

FieldPoints toKind
Product productIdProductsreference
Product family productgroupIdProduct familiesreference
Service serviceIdServicesreference
Service family servicegroupIdService familiesreference
Custom item family customitemgroupIdCustom item familiesreference
Material family materialgroupIdMaterial familiesreference
Customer customerIdCustomersreference
Customer group customergroupIdCustomer groupsreference
Tags tagIdsTagsreference

States

How a record moves from state to state. Archive and block can happen in any state.

PublishCreatedPublished

© 2026 Netzo