Contracts

Reverses a milestone completion

Changed on

Removes the current completion and its recognition effect without cancelling the milestone, issuing a credit, or changing its allocation. The milestone must currently be completed. The milestone change and required revenue journal regeneration commit atomically.

delete/contracts/{contract_id}/milestones/{milestone_ref}/completion

Request

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.

Response

The updated pending milestone.

idstring uuid required

Stable server-generated identifier for this contract milestone.

keystring required

Stable integration key copied from the product template or explicit contract plan.

namestring required
sequenceinteger required
percentagestring nullable

Present only in PERCENTAGE mode. "30" means 30 percent.

expected_datestring date nullable
status'OPEN' | 'DUE_THIS_PERIOD' | 'OVERDUE' | 'COMPLETED' | 'CANCELLED' required
completed_datestring date nullable
memostring nullable

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