---
title: "Accept the suggestion for a bill's missing field"
method: POST
path: "/v1/ap/bills/accept"
tags: ["Accounts Payable"]
---

# Accept the suggestion for a bill's missing field

`POST /v1/ap/bills/accept`

## Request

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

Stores the current suggestion for one missing field of a bill (as listed in the bill's `missing` entries) as the bill's value, with the calling key and the time. The suggestion is read again on the server, never taken from the caller. It is kept under the bill's vendor and invoice number, so it survives the invoice being read again from a new upload, and it is used only where the bill's own documents say nothing.

## Request body

- ApBillSuggestionInput
  - `bill_key` string, required: The bill's `key`.
  - `field` 'entity' | 'due_date' | 'fx_rate' | 'po_number', required

## Response `201`

Accepted.

- object
  - `accepted` true

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The bill was not found (or its document is hidden from the key's person), or the workspace has not added the app.
- `422`: The bill has no suggestion for that field.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

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