paymentTerms resource type

Represents a payment term in Dynamics 365 Business Central.

Note

For information about enabling APIs for Dynamics NAV see Enabling the APIs for 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
id GUID The unique ID of the paymentTerms. Non-editable.
code string Specifies the payment term code.
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.
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.
calculateDiscountOnCreditMemos boolean Specifies if the discount should be applied to credit memos. True indicates a discount will be given, false indicates a discount will not be given.
lastModifiedDateTime datetime The last datetime the paymentTerms was modified. Read-Only.

Relationships

None

JSON representation

Here is a JSON representation of the paymentTerms.

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

See also

Graph Reference
Working with Dynamics 365 Business Central in Microsoft Graph
Enabling the APIs for Dynamics 365 Business Central
Endpoints for the APIs
Error Codes
Get Payment Terms
Create Payment Terms
Update Payment Terms
Delete Payment Terms