Skip to main content

Create Payment Term

POST 

/api/payment-terms

Creates a new payment term.

Authentication: Requires Bearer token.

Fields:

  • name (required, string, max:255, unique)
  • net_days (required, integer, 0-365)
  • discount_percentage (optional, numeric, 0-100)
  • discount_days (optional, integer >= 0; must be less than net_days for types: from_invoice_date, end_of_month, day_of_month)
  • due_date_type (required): immediate | from_invoice_date | end_of_month | end_of_next_month | day_of_month
  • description (optional, string, max:500)
  • is_default (optional, boolean)

Request

Responses

Successful response