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
| 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"
}
Related information
Get Payment Terms
Create Payment Terms
Update Payment Terms
Delete Payment Terms