Edit, confirm or exclude a price model, set its contract key, link a later version
Changed onAll body fields are optional. A replaced model goes through the same sanitiser as an extraction, so an edited number without a quote that occurs in the contract and prints it is stored as unverified; a value may instead be quoted from another document of the workspace (set that document's id on the variable's evidence). status excluded keeps a document that sets no price (a withdrawn letter, a cover mail) out of the version chain. contract_key groups models into one contract (a non-empty value is stored as a hand-set key; null restores the key the file or the contract gives). superseded_by links the model of a later amendment or price sheet; that model must state a valid_from on or after this model's, price in the same currency and not lead back to this model (422); null unlinks. The change is announced to other apps as a model change.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
Request body
A contract's price clause as one standard, evaluable model.
The contract number this document belongs to; null clears a hand-set key.
Model of the later amendment or price sheet that replaces this one from its own valid_from; null unlinks.
Response
The updated model.
A stored price model; one per contract document.
The contract document the model was read from.
A contract's price clause as one standard, evaluable model.
draft straight from extraction, confirmed once a person has checked it, excluded sets no price and is left out of the version chain.
Model id the extraction used.
ISO date, mirrored from model.valid_from.
The contract number, normalised; every model with the same key is a version of one contract.
The model that replaces this one from its own valid_from.
Changes
- info
endpoint added
- info