Contract Processes
List the process items contract data starts for sales, billing, legal and other departments, read the process catalogue, and mark an item handled by key.
Contract data starts work in other departments: a price that must be fixed before commissioning, billing that waits for the commissioning protocol, the renewal window as the ERP keeps it, the chain of easements. The platform expresses each such obligation as a process rule and evaluates the rules over every contract. A rule that fires produces a process item for one department, with a phase, a kind, a due date (or none) and the evidence it rests on, each piece of evidence carrying the document it came from.
A rule fires only when the fields it reads were captured or are present in the contract register; a rule whose fields are absent never fires. Rules draw on four sources: captured Spec fields (spec), the ERP contract register (register), a document type (document) and a Money Found finding (money_found). A contract that the fold or the ERP has ended keeps only the rules that apply after the end. A lead time that was missed is due today, never silently in the past.
/v1/contracts/processesQuery parameters
Entry fields (data[])
cURL: Billing items due within 60 days
curl "https://api.talonic.com/v1/contracts/processes?department=billing&days=60" \
-H "Authorization: Bearer $TALONIC_API_KEY"Response: A process item with evidence
{
"data": [
{
"id": "c90b3e55-27d1-4a6f-8e4c-5a1d7f0b9c22",
"contract_id": "6f1c2a9e-1d4b-4a7e-9c33-2b8a5e0d7f11",
"contract_key": "1043020-WLV",
"title": "Waermelieferungsvertrag",
"counterparty": "Stadtwerke Musterstadt GmbH",
"rule_id": "billing_gate_commissioning",
"department": "billing",
"phase": "commissioning",
"kind": "event",
"due_date": "2026-07-15",
"days_left": 40,
"evidence": [
{
"field": "inbetriebnahme_protokoll",
"value": "ausstehend",
"document_id": "0b7d3c1e-5f2a-4c68-8a19-7e4d9b2c6a30",
"labels": { "en": "Commissioning protocol", "de": "Inbetriebnahmeprotokoll" }
}
]
}
]
}The Process Catalogue
GET /v1/contracts/process-rules returns every process rule in catalogue order with its department, phase, kind, source and the field keys it reads. no is the display order in the catalogue. Read the catalogue to learn which fields a department's items depend on, for example before capturing a field that a rule needs.
/v1/contracts/process-rulesEntry fields (data[])
Marking an Item Handled
POST /v1/contracts/processes/{processId} records that a process item is handled (handled: true) or open (handled: false) as the calling key. The decision is keyed on contract, rule and due date, so a process whose deadline moves opens again, and a process that is rebuilt with the same due date stays handled. The response is 201 with the item id and its handled state.
/v1/contracts/processes/{processId}Body fields
cURL: Mark a process item handled
curl -X POST "https://api.talonic.com/v1/contracts/processes/c90b3e55-27d1-4a6f-8e4c-5a1d7f0b9c22" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handled": true, "note": "Invoice released after protocol of 2026-07-10"}'processes) and as a summary in the register (processes.open, processes.next_due, processes.departments). Use the list route for a department-wide queue and the 360 view for the items of one contract.