POST
/
quickbooks-desktop
/
date-driven-terms

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Body

application/json
dueDayOfMonth
number
required

The day of the month when full payment is due without discount.

name
string
required

The case-insensitive unique name of this date-driven term, unique across all date-driven terms.

NOTE: Date-driven terms do not have a fullName field because they are not hierarchical objects, which is why name is unique for them but not for objects that have parents.

Maximum length: 31 characters.

Maximum length: 31
discountDayOfMonth
number

The day of the month within which payment must be received to qualify for the discount specified by discountPercentage.

discountPercentage
string

The discount percentage applied to the payment if received on or before the specified discountDayOfMonth. The value is between 0 and 100.

gracePeriodDays
number

The number of days before dueDayOfMonth when an invoice or bill issued within this threshold is considered due the following month. For example, with dueDayOfMonth set to 15 and gracePeriodDays set to 2, an invoice issued on the 13th would be due on the 15th of the next month, while an invoice issued on the 12th would be due on the 15th of the current month.

isActive
boolean
default:
true

Indicates whether this date-driven term is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to true.

Response

200 - application/json
createdAt
string
required

The date and time when this date-driven term was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.

discountDayOfMonth
number | null
required

The day of the month within which payment must be received to qualify for the discount specified by discountPercentage.

discountPercentage
string | null
required

The discount percentage applied to the payment if received on or before the specified discountDayOfMonth. The value is between 0 and 100.

dueDayOfMonth
number
required

The day of the month when full payment is due without discount.

gracePeriodDays
number | null
required

The number of days before dueDayOfMonth when an invoice or bill issued within this threshold is considered due the following month. For example, with dueDayOfMonth set to 15 and gracePeriodDays set to 2, an invoice issued on the 13th would be due on the 15th of the next month, while an invoice issued on the 12th would be due on the 15th of the current month.

id
string
required

The unique identifier assigned by QuickBooks to this date-driven term. This ID is unique across all date-driven terms but not across different QuickBooks object types.

isActive
boolean
required

Indicates whether this date-driven term is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to true.

name
string
required

The case-insensitive unique name of this date-driven term, unique across all date-driven terms.

NOTE: Date-driven terms do not have a fullName field because they are not hierarchical objects, which is why name is unique for them but not for objects that have parents.

objectType
string
required

The type of object. This value is always "qbd_date_driven_term".

Allowed value: "qbd_date_driven_term"
revisionNumber
string
required

The current QuickBooks-assigned revision number of this date-driven term object, which changes each time the object is modified. When updating this object, you must provide the most recent revisionNumber to ensure you're working with the latest data; otherwise, the update will return an error.

updatedAt
string
required

The date and time when this date-driven term was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.