Contract Pricing

The contract workbook as a grid

Changed on

The contract workbook for the model and its versions: sheets of cells (inputs, external values, live formulas with cached values), the source rows, the open inputs and the amount the customer should be billed. Without from, the period is that of the invoice check named by comparison_id, else of the contract's newest invoice check (the newest of year when year is given); with no check it is the calendar year year (default: the last full year). With from, the period is from..to (to defaults to December of year). Prices and the check are recomputed from the stored index values at request time. Labels follow the contract's language, not the caller's.

get/v1/price-baseline/models/{id}/sheets

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Query parameters

comparison_id, string uuid

Invoice check whose period the workbook covers. It must belong to a version of this contract (422).

from, string

First month, YYYY-MM.

to, string

Last month, YYYY-MM.

year, integer

Calendar year to prepare when no invoice applies.

Response

The workbook grid.

PriceBaselineContractSheets required

The contract workbook as a grid.

title, string
lang, 'de' | 'en'

Language of the labels; follows the contract.

contract_key, string nullable
currency, string nullable
sheets, object[]
sources, object[]
gaps, string[]

What keeps a cell from being filled, one line per cell.

open, PriceBaselineOpenInput[]
period, object
expected, PriceBaselineExpected

What the customer should be billed for the period.

assumptions, PriceBaselineAssumptionUse[]
cost_units, string[]

Cost units the contract register holds for the contract's documents.

Changes