---
title: "The bills, ready or held"
method: GET
path: "/v1/ap/bills"
tags: ["Accounts Payable"]
---

# The bills, ready or held

`GET /v1/ap/bills`

## Request

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

Every bill read into a posting-ready vendor bill, held bills first, then by dollars at stake. `total` is the number of bills matching the filters before `limit` applies.

## Query parameters

- `status` 'ready' | 'needs_info' | 'evaluating' | 'held'
- `entity` string
- `reason` 'above_contract' | 'duplicate' | 'missing_po' | 'vendor_unknown' | 'sums_mismatch' | 'not_received' | 'above_po' | 'bank_changed' | 'already_paid' | 'date_check' | 'policy_rule' | 'above_order_value' | 'contract_missing' | 'conditions_not_met'
- `risk` 'high' | 'medium' | 'low'
- `q` string
- `limit` integer

## Response `200`

The bills.

- object
  - `currency` string: ISO 4217 code of the ledger currency.
  - `total` integer
  - `data` ApBill[]
    - `key` string
    - `risk` ApRisk, nullable: A held bill's risk; null when it is not held.
      - `level` 'high' | 'medium' | 'low'
      - `likelihood` 'high' | 'medium' | 'low'
      - `impact` 'high' | 'medium' | 'low', nullable: Null when the bill could not be converted to the ledger currency; the level is then the likelihood.
      - `reason` 'above_contract' | 'duplicate' | 'missing_po' | 'vendor_unknown' | 'sums_mismatch' | 'not_received' | 'above_po' | 'bank_changed' | 'already_paid' | 'date_check' | 'policy_rule' | 'above_order_value' | 'contract_missing' | 'conditions_not_met': The kind of hold that decides the risk.
      - `amount` number, nullable: Dollars of that hold in the ledger currency, never more than the bill (the bill's open amount when the hold carries none); null when not converted.
    - `document_id` string, uuid, nullable
    - `filename` string, nullable
    - `source_role` string
    - `kind` string
    - `vendor` string
    - `invoice_number` string: The document number the bill posts under: the printed number, or one built from the source when the capture has none.
    - `captured_number` string, nullable: The number exactly as captured, when it differs.
    - `invoice_date` string, nullable
    - `due_date` string, nullable
    - `terms_days` integer, nullable
    - `terms_text` string, nullable
    - `currency` string
    - `amount` number: In the bill's own currency.
    - `amount_base` number, nullable: In the ledger currency; null when no rate is known.
    - `fx_rate` number, nullable
    - `fx_source` 'same_currency' | 'payment' | 'document', nullable
    - `po_number` string, nullable
    - `contract_reference` string, nullable
    - `entity` string, nullable: Entity code.
    - `entity_name` string, nullable
    - `system` string, nullable
    - `cost_centre` string, nullable
    - `reviewed_documents` object[]: The documents the reviewers read for this invoice's payment rules.
      - `document_id` string, uuid
      - `filename` string, nullable
    - `documents_missing` object[]: What the payment rules need that is not among the invoice's documents. Without it there is no final result.
      - `what` string
      - `rule` string
      - `reason` string
      - `source` string, nullable
      - `rule_quote` string, nullable
    - `status` 'ready' | 'needs_info' | 'evaluating' | 'held': held: a hold found a problem; evaluating: no hold yet, the contract price check is still running; needs_info: something a definitive call needs is missing; ready: none of these.
    - `payment` 'pay' | 'do_not_pay' | 'pending': Whether the bill may be paid: do_not_pay while held (its purchase order's observations or contract conditions unmet among the reasons); pay once ready and its order's checklist is known to be met, or it has none; else pending.
    - `outcome` 'to_payment' | 'manual_review' | 'adjust_proposal': Where the bill goes next: to_payment once it may be paid; adjust_proposal when a point of its order's checklist rests on a document whose validity ended (the payment proposal is adjusted, not the invoice); else manual_review.
    - `checks` object, nullable: Its order's checklist points that apply to this bill, by verdict; expired counts those resting on a document whose validity ended. Null: no order, no checklist, or the file is still read.
      - `met` integer
      - `not_met` integer
      - `unclear` integer
      - `expired` integer
    - `holds` ApHold[]
      - `reason` 'above_contract' | 'duplicate' | 'missing_po' | 'vendor_unknown' | 'sums_mismatch' | 'not_received' | 'above_po' | 'bank_changed' | 'already_paid' | 'date_check' | 'policy_rule' | 'above_order_value' | 'contract_missing' | 'conditions_not_met'
      - `label` string: The finding's name (the lever or the control).
      - `amount` number: Dollars at stake in the ledger currency; 0 for a failed payment rule (`policy_rule`), which holds the bill for review without putting its money at stake.
      - `explanation` string
      - `lever_id` string, nullable
      - `group` string: What the summary groups by: the lever code or the AP control.
      - `group_label` string
      - `row_key` string, nullable
      - `duplicate_of` string, nullable: Key of the bill this one duplicates.
      - `evidence` ApEvidence[]
        - `document_id` string, uuid, nullable
        - `field` string
        - `filename` string, nullable
        - `reference_data_id` string, uuid
        - `label` string
        - `page` integer, nullable
    - `notes` ApNote[]
      - `label` string
      - `amount` number
      - `tier` string, nullable
      - `explanation` string
      - `lever_id` string
      - `evidence` ApEvidence[]: Where the finding comes from, when it has a document: for a payment rule, the rule file opened at the rule's words (`field: policy_rule`).
        - `document_id` string, uuid, nullable
        - `field` string
        - `filename` string, nullable
        - `reference_data_id` string, uuid
        - `label` string
        - `page` integer, nullable
    - `lines` ApLine[]
      - `description` string
      - `sku` string, nullable
      - `quantity` number, nullable
      - `rate` number, nullable
      - `amount` number
      - `account` ApNsRef, nullable
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `department` ApNsRef, nullable
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `klass` ApNsRef, nullable: NetSuite class.
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `sublist` 'item' | 'expense'
      - `tax` boolean
    - `provenance` object: Source page (1-based) and verbatim text per bill field, keyed by field name.
    - `netsuite` object, nullable: Null when the bill's entity is not a NetSuite subsidiary.
      - `subsidiary` ApNsRef, nullable
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `vendor` ApNsRef, nullable
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `terms` ApNsRef, nullable
        - `id` string, required: NetSuite internal id.
        - `name` string, required
      - `currency` string, nullable
    - `sandbox_id` string, nullable: Internal id the simulated sandbox gave the bill on the latest run.

## Other responses

- `400`: The request is invalid.

## Changes

- **2026-11-20** `d95cea458085`: 4 warning, 5 info
  - added the new `conditions_not_met` enum value to the `data/items/holds/items/reason` response property for the response status `200`
  - added the new `conditions_not_met` enum value to the `data/items/risk/allOf[#/components/schemas/ApRisk]/reason` response property for the response status `200`
  - added the new `contract_missing` enum value to the `data/items/holds/items/reason` response property for the response status `200`
  - added the new `contract_missing` enum value to the `data/items/risk/allOf[#/components/schemas/ApRisk]/reason` response property for the response status `200`
  - …5 more
- **2026-11-17** `ce37a1dc3503`: 2 warning, 3 info
  - added the new `above_order_value` enum value to the `data/items/holds/items/reason` response property for the response status `200`
  - added the new `above_order_value` enum value to the `data/items/risk/allOf[#/components/schemas/ApRisk]/reason` response property for the response status `200`
  - added the new enum value `above_order_value` to the `query` request parameter `reason`
  - added the optional property `data/items/documents_missing` to the response with the `200` status
  - …1 more
- …earlier changes not shown

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