---
title: "Talonic's finished table for payment rules"
method: GET
path: "/v1/ap/dossier"
tags: ["Accounts Payable"]
---

# Talonic's finished table for payment rules

`GET /v1/ap/dossier`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/ap/dossier`
- Auth: HTTP bearer

The Spec chosen (`selected`, null when none), whether its latest run can be read (`state`: `none`, `processing` or `ready`) and the Specs to choose from with their columns.

## Response `200`

The choice and the options.

- ApDossierOptions
  - `selected` ApDossier, nullable
    - `schema_id` string, uuid, required
    - `columns` object, required
      - `supplier_id` string
      - `order_number` string
      - `contract_number` string
      - `invoice_number` string
      - `document_type` string
      - `order_value` string
      - `document_date` string
      - `order_conditions` string: The column holding the observations a purchase order sets.
      - `contract_conditions` string: The column holding the conditions a contract sets to release payments.
      - `valid_until` string: The column holding the date to which a document (a policy, a guarantee) is in force.
    - `order_type` string, nullable
    - `contract_value` number, nullable: The order value (ledger currency) from which a contract is expected when the order sets no observations.
    - `contract_type` string, nullable: The document type of a contract, looked for in the file of an order that is expected to have one.
  - `state` 'none' | 'processing' | 'ready'
  - `specs` object[]
    - `schema_id` string, uuid
    - `name` string
    - `columns` string[]

## Changes

- **2026-11-20** `d95cea458085`: 8 info
  - added the optional property `selected/allOf[#/components/schemas/ApDossier]/columns/contract_conditions` to the response with the `200` status
  - added the optional property `selected/allOf[#/components/schemas/ApDossier]/columns/document_date` to the response with the `200` status
  - added the optional property `selected/allOf[#/components/schemas/ApDossier]/columns/order_conditions` to the response with the `200` status
  - added the optional property `selected/allOf[#/components/schemas/ApDossier]/columns/order_value` to the response with the `200` status
  - …4 more
- **2026-11-17** `ce37a1dc3503`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/ap/dossier/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)
