paymentTerms resource type (v1.0)

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents a payment term in Business Central.

Note


For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET paymentTermspaymentTermsGet a payment terms object.
POST paymentTermspaymentTermsCreate a payment terms object.
PATCH paymentTermspaymentTermsUpdate a payment terms object.
DELETE paymentTermsnoneDelete a payment terms object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the paymentTerms. Non-editable.
codestringSpecifies the payment term code.
displayNamestringSpecifies the payment term display name.
dueDateCalculationstringSpecifies the formula that is used to calculate the date that a payment must be made.
discountDateCalculationstringSpecifies the formula that is used to calculate the date that a payment must be made in order to obtain a discount.
discountPercentdecimalSpecifies the discount percentage that is applied for early payment of an invoice amount.
calculateDiscountOnCreditMemosbooleanSpecifies if the discount should be applied to credit memos. True indicates a discount will be given, false indicates a discount will not be given.
lastModifiedDateTimedatetimeThe 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"
}

Get Payment Terms
Create Payment Terms
Update Payment Terms
Delete Payment Terms