v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
payment-terms

Create a payment term

Create a new payment term for the organization. Use payment terms to set the number of days the customer has to pay a vendor. You can set paymentTermId in bills and invoices.

post/v3/organizations/{organizationId}/payment-terms

Path parameters

organizationIdstring required

BILL-generated ID of the organization. The value begins with 008.

Example:{{organization_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring required

Payment term name. Examples include Net 30 and Due upon receipt.

daysDueinteger required

Number of days until payment is due

Example request

{
  "name": "Net 30",
  "daysDue": 30
}

Response

Create a payment term response

idstring

BILL-generated ID of the payment term. The value begins with 00p.

namestring

Payment term name

daysDueinteger

Number of days until payment is due

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time