---
title: "Contract register with newest invoice check and open inputs"
method: GET
path: "/v1/price-baseline/register"
tags: ["Contract Pricing"]
---

# Contract register with newest invoice check and open inputs

`GET /v1/price-baseline/register`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/price-baseline/register`
- Auth: HTTP bearer

One row per contract (a chain of price-model versions, shown by its latest version), with the newest invoice check, the amount the workbook expects to be billed for the period, and how many inputs are still open. The register is cached per workspace and year; a request during a rebuild may receive the last built rows. The response is a bare array, not wrapped in `data`.

## Query parameters

- `year` integer
- `inputs` '0'

## Response `200`

The register rows.

- PriceBaselineRegisterRow[]
  - `id` string, uuid: The contract's latest version.
  - `contract_key` string, nullable
  - `contract_number` string, nullable
  - `customer` string, nullable
  - `customer_number` string, nullable
  - `site` string, nullable
  - `expected` PriceBaselineExpected, nullable: What the customer should be billed for the period.
    - `basis` 'invoice' | 'plan': `invoice` from the checked invoice's own quantities, `plan` from the contract's agreed quantities.
    - `net` number
    - `vat` number, nullable
    - `gross` number, nullable
    - `complete` boolean: False when a billed price or quantity was unavailable; the totals then cover only what could be computed.
    - `currency` string, nullable
    - `assumed_net` number
    - `lines` PriceBaselinePlanLine[]
      - `component` string
      - `basis` 'energy' | 'capacity' | 'fixed'
      - `label` string
      - `unit` string
      - `qty` number, nullable
      - `qty_unit` string, nullable
      - `net` number, nullable: Null when any period could not be priced or the line is held out.
      - `assumed` boolean
      - `prices` object[]
        - `from` string
        - `to` string
        - `price` number, nullable
        - `unit` string
      - `implausible` string: Why the line is held out of `net` and the totals; absent when it counts.
      - `held_net` number: The amount the line would add when it is held out.
    - `check` object: Present with an invoice check: whether every invoice line matches the contract.
      - `invoice_number` string, nullable
      - `billed_net` number
      - `matched` integer
      - `mismatched` integer
      - `not_checkable` integer
      - `unbilled` object
        - `count` integer
        - `amount` number
    - `held_net` number
  - `contract_label` string
  - `valid_from` string, nullable
  - `versions` integer
  - `amended` boolean
  - `priced` boolean: Whether any version states a price at all.
  - `invoice` object, nullable: The newest invoice check.
    - `comparison_id` string, uuid
    - `invoice_number` string, nullable
    - `period_from` string, nullable
    - `period_to` string, nullable
  - `open` object, nullable: Open inputs of the workbook; null when the workbook could not be built.
    - `price` integer
    - `waiting` integer
    - `assumed` integer
    - `invoice` boolean
    - `period` object
      - `from` string
      - `to` string
  - `inputs` object[]: The data the contract still needs for the year.
    - `key` string
    - `kind` string
    - `category` string
    - `model_id` string, uuid
    - `symbol` string, nullable
    - `label` string
    - `series` string, nullable
    - `unit` string, nullable
    - `periods` string[]
  - `contract` object, nullable: What the Contracts app last published about this contract; null when it does not know the key.
    - `contract_id` string
    - `status` string
    - `expiry_date` string, nullable
    - `terminated_on` string, nullable
  - `direction` 'sell' | 'buy' | 'internal': Which side the workspace is on. Only `sell` counts toward what customers should be billed.
  - `identifiers` object: Every id the contract is known by outside its key, for matching exports in the customer's own systems.
    - `document_ids` string[]
    - `record_ids` string[]
    - `record_ids_from` 'contract' | 'same_number' | 'null', nullable
    - `cost_units` string[]
    - `cost_units_from` 'register' | 'same_number' | 'filename' | 'contract_key' | 'null', nullable
  - `customer_from` 'contract' | 'same_number' | 'null', nullable: Whether `customer` comes from the contract's own versions or from another contract with the same number.
  - `duplicates` object[]: Rows of the same contract kept apart by their keys, listed here so their plan counts once.
    - `id` string, uuid
    - `contract_key` string, nullable
    - `contract_label` string
    - `customer` string, nullable
    - `site` string, nullable
    - `valid_from` string, nullable
    - `versions` integer
    - `net` number, nullable
    - `evidence` object
      - `record_ids` string[]
      - `cost_units` string[]
      - `rule` 'same_key' | 'same_number' | 'renumbered' | 'letter'

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/price-baseline/register/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
