paymentTerms resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a payment term in Dynamics 365 Business Central.

Methods

Method Return Type Description
Get paymentTerms paymentTerms Get a payment terms object.
Post paymentTerms paymentTerms Create a payment terms object.
Patch paymentTerms paymentTerms Update a payment terms object.
Delete paymentTerms none Delete a payment terms object.

Properties

Property Type Description
calculateDiscountOnCreditMemos Boolean Specifies whether the discount should be applied to credit memos. True indicates a discount is given; false* indicates a discount won't be given.
code string Specifies the payment term code.
discountDateCalculation string Specifies the formula that is used to calculate the date that a payment must be made in order to obtain a discount.
discountPercent decimal Specifies the discount percentage that is applied for early payment of an invoice amount.
displayName string Specifies the payment term display name.
dueDateCalculation string Specifies the formula that is used to calculate the date that a payment must be made.
id GUID The unique identifier for the paymentTerms. Non-editable.
lastModifiedDateTime datetime The date and time when the paymentTerms were last modified. Read-Only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "calculateDiscountOnCreditMemos": "boolean",
  "code": "string",
  "discountDateCalculation": "string",
  "discountPercent": "decimal",
  "displayName": "string",
  "dueDateCalculation": "string",
  "id": "GUID", 
  "lastModifiedDateTime": "datetime"
}