accounting
paymentterm

Create a paymentterm

post/accounting/{connection_id}/paymentterm

Request

  • Base URL: http://api.unified.to
  • URL: http://api.unified.to/accounting/{connection_id}/paymentterm
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring

term label, e.g. "Net 30"

descriptionstring
type'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
category'STANDARD' | 'DATE_DRIVEN' | 'OTHER'

STANDARD (days-based) or DATE_DRIVEN (month-based)

is_activeboolean
due_daysnumber

(standard) days until payment is due

discount_daysnumber

(standard) days within which an early-pay discount applies

discount_percentnumber

(standard) early-pay discount rate

day_of_month_duenumber

(date-driven) day of month payment is due (1–31)

discount_day_of_monthnumber

(date-driven) pay before this day of month for the discount

due_next_month_daysnumber

(date-driven) if invoiced within N days of month-end, due next month

organization_idstring
rawunknown

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring

term label, e.g. "Net 30"

descriptionstring
type'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
category'STANDARD' | 'DATE_DRIVEN' | 'OTHER'

STANDARD (days-based) or DATE_DRIVEN (month-based)

is_activeboolean
due_daysnumber

(standard) days until payment is due

discount_daysnumber

(standard) days within which an early-pay discount applies

discount_percentnumber

(standard) early-pay discount rate

day_of_month_duenumber

(date-driven) day of month payment is due (1–31)

discount_day_of_monthnumber

(date-driven) pay before this day of month for the discount

due_next_month_daysnumber

(date-driven) if invoiced within N days of month-end, due next month

organization_idstring
rawunknown

Changes

No recorded changes to this operation across all 1 revision of this API.