v1
latestOpenAPI 3.0.02026-07-24102143224.1 KBContracts
Create contract billing term
post/v3/contracts/{id}/billing-terms
Path parameters
idstring required
Example:123e4567-e89b-12d3-a456-426614174000
Contract 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",
"eventTypeId": "123e4567-e89b-12d3-a456-426614174000",
"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"
},
"billingTermGroupId": "f0e1d2c3-4567-4abc-8def-222222222222"
}Response
Billing term created
Example response
{
"payload": {
"description": "Enterprise platform license",
"billingStartDate": "2025-01-01",
"isRecurring": true,
"includeInArr": true,
"interval": "MONTH",
"intervalFrequency": 1,
"netPaymentTerms": 30,
"quantity": 1,
"billingType": "FLAT",
"pricingType": "SIMPLE",
"eventTypeId": "123e4567-e89b-12d3-a456-426614174000",
"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",
"billingTermGroupId": "f0e1d2c3-4567-4abc-8def-222222222222"
}
}