POST v1/bunits/{bunitId}/paymentterms

Add a payment terms to a business unit.


If the payment terms already exists on another business unit, it will be moved. Otherwise the payment terms will be created.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The ID of the business unit to whom the payment terms will belong. integer

Required

Body Parameters

The payment terms object

PaymentTerms
NameDescriptionTypeAdditional information
Name A descriptive name.
string

None.

Code The ERP identifier.
string

None.

BusinessUnit The business unit the payment terms are related to
BusinessUnit

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

The payment terms object with the information created

PaymentTerms
NameDescriptionTypeAdditional information
Name A descriptive name.
string

None.

Code The ERP identifier.
string

None.

BusinessUnit The business unit the payment terms are related to
BusinessUnit

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.