Contracts
Records or corrects a milestone completion
Changed onCreates or fully replaces the current completion on a milestone in a FULL contract. The reference may be the milestone UUID or its case-insensitive key. The completion date must fall within the owning line term. Omitted or null memo and external_references values clear those fields. An identical request is a no-op. The milestone change and required revenue journal regeneration commit atomically.
put/contracts/{contract_id}/milestones/{milestone_ref}/completion
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
contract_idstring uuid required
UUID of the contract that owns the milestone.
milestone_refstring required
Milestone UUID or stable key. A key must identify exactly one milestone in the contract.
Request body
Example request
{
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
]
}Response
The updated milestone.
Example response
{
"allocated_amount": {
"amount": "1.01",
"currency": "USD"
},
"amount": {
"amount": "1.01",
"currency": "USD"
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
]
}Changes
- info
endpoint added
- info