v1
latestOpenAPI 3.0.02026-07-24102143224.1 KBContracts
Update contract billing term
patch/v3/contracts/{id}/billing-terms/{billingTermId}
Path parameters
idstring required
Example:123e4567-e89b-12d3-a456-426614174000
Contract Id
billingTermIdstring required
Example:123e4567-e89b-12d3-a456-426614174000
Billing Term Id
Request body
Example request
{
"name": "Annual Platform License",
"description": "Enterprise platform license",
"billingStartDate": "2025-01-01",
"isRecurring": true,
"includeInArr": true,
"interval": "MONTH",
"intervalFrequency": 1,
"invoiceDateStrategy": "FIRST_OF_PERIOD",
"netPaymentTerms": 30,
"quantity": 1,
"billingType": "FLAT",
"pricingType": "SIMPLE",
"itemId": "d4e5f6a7-8901-4abc-8def-555555555555",
"productId": "c5f6a7b8-9012-4abc-8def-444444444444",
"classId": "e5f6a7b8-9012-4abc-8def-666666666666",
"departmentId": "e5f6a7b8-9012-4abc-8def-777777777777",
"projectId": "f6a7b8c9-0123-4abc-8def-888888888888",
"pricing": [
{
"tier": 1,
"amount": 10000,
"amountType": "TOTAL_INVOICE",
"tierMinimum": 0
}
],
"discount": {
"type": "PERCENTAGE",
"amount": "10",
"note": "Early payment discount"
}
}Response
Billing term updated; invoice regeneration enqueued