Update Payment Term
Updates a payment term. Fields left out are unchanged. instalments replaces the existing instalments, and an empty array turns the term back into a single due date. Send clear_discount to remove the early-payment discount. Set is_active to false to retire a term.
Documents keep the schedule they were given when the term was applied, so editing or deactivating a term does not change existing invoices or bills.
Requires the can_modify_payment_term permission on the key owner’s role. Available when the Invoices or Bills service is enabled for the workspace.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
identitystring
The identity for the active project.
Path parameters
id
Payment term ID.
Request
This endpoint expects an object.
name
net_days
is_default
is_active
Deactivating a term also removes it as the workspace default.
instalments
Replaces the instalments. Send an empty array to turn the term back into a single due date, or omit the field to keep the existing ones.
discount
Replaces the early-payment discount.
clear_discount
Send true to remove the early-payment discount.
Response
OK
data
status
message
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error

