---
id: object/page/3304
type: object
title: Page 3304 "Payables Agent Setup"
summary: Page 3304 "Payables Agent Setup" in PayablesAgent (Microsoft.Agent.PayablesAgent). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - payablesagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 85ae0910dd08999959a5487a6c6085229a0a15c2da6b339190564d4a8582ca0b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayablesAgent/app/Setup/PayablesAgentSetup.Page.al
    title: src/Apps/W1/PayablesAgent/app/Setup/PayablesAgentSetup.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-agent-known-senders
    title: Manage known senders for Payables Agent
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-agent-setup
    title: Set Up Payables Agent in Business Central
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/payables-agent-known-senders
    - https://learn.microsoft.com/dynamics365/business-central/payables-agent-setup
  objects: []
  features: []
  topics:
    - topic/business-central/copilot-and-agent-capabilities/payables-agent
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11213
    - change/bcapps/10238
    - change/bcapps/9805
object_type: page
object_id: 3304
name: Payables Agent Setup
caption: Configure Payables Agent
namespace: Microsoft.Agent.PayablesAgent
app: PayablesAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/payables-agent-known-senders.md
  - docs/learn-smb-docs/business-central/payables-agent-setup.md
counts:
  fields: 0
  procedures: 8
  events: 0
  subscribers: 0
  controls: 23
  actions: 2
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 9
  called_by: 0
  implements: 0
---

# Page 3304 "Payables Agent Setup"

> Page 3304 "Payables Agent Setup" in PayablesAgent (Microsoft.Agent.PayablesAgent). Introduced in BC29, still in BC30.

PayablesAgent · Microsoft.Agent.PayablesAgent · captioned "Configure Payables Agent" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayablesAgent/app/Setup/PayablesAgentSetup.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | 'Configure Payables Agent', Comment = 'Payables Agent is a term, and should not be translated.' |
| Extensible | false |
| SourceTable | Payables Agent Setup |
| PageType | ConfigurationDialog |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Content | AgentSetupPart | part [Page 4310 "Agent Setup Part"](../page/4310.md) | — |
| Try the Payables Agent | Benefit1 | `BenefitAddInvoiceLbl` | 'Specifies a benefit of trying the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | Benefit2 | `BenefitDraftReviewLbl` | 'Specifies a benefit of trying the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | Benefit3 | `BenefitNoAutoPostLbl` | 'Specifies a benefit of trying the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | Benefit4 | `BenefitNoDisruptionLbl` | 'Specifies a benefit of trying the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
| Upload invoice to try out agent capabilities | Select file | `SelectedFileName` | 'Specifies the PDF invoice file to upload for the Payables Agent trial.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | TrySampleInvoices | `TrySampleInvoicesLbl` | 'Opens a guide with sample invoices to try the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
| Payables Agent Trial | TrialProgress | `TrialProgressText` | Specifies the number of invoices processed during the trial. |
| Upload invoice to try out agent capabilities | Select file | `SelectedFileName` | 'Specifies the PDF invoice file to upload for the Payables Agent trial.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | TrySampleInvoicesInTrial | `TrySampleInvoicesLbl` | 'Opens a guide with sample invoices to try the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
| Cost | CostEstimateValue <small>obsolete Pending 29.0; #if not CLEAN29</small> | `CostEstimateText` | 'Specifies the total number of Copilot credits consumed by the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | LearnMoreCost <small>obsolete Pending 29.0; #if not CLEAN29</small> | `LearnMoreCostLbl` | 'Opens documentation about consumption-based billing for the Payables Agent.', Comment = 'Payables Agent is a term, and should not be translated.' |
| Monitor incoming information | Monitor emails | [Monitor Outlook](../table/3303.md#fields) | Specifies whether the agent should monitor incoming emails for PDF document attachments for processing. |
| Mailbox | MailEnabled | [Monitor Outlook](../table/3303.md#fields) | Specifies if the mailbox will be monitored. |
|  | Email account | `MailboxAddress` | Specifies the Microsoft 365 mailbox from which to download PDF document attachments. |
|  | Folder | `TempOutlookSetup."Email Folder"` | Specifies the email folder that the agent monitors. Leave blank to monitor the entire mailbox. When a folder is set and email review is 'Manage per sender', every email in it is treated as trusted and skips review, so the known-senders list is not consulted. |
|  | Tip | `SharedMailboxTipLbl` | Specifies the tip to use a dedicated shared mailbox. |
| Important | LearnMoreBilling | `LearnMoreTxt` | — |
| DemoGuideExperience | OpenAgentDemoGuideField | `OpenAgentDemoGuideLbl` | — |
| Email review | Email review | [Email Review Policy](../table/3303.md#fields) | Specifies when the agent should request human review before processing an incoming email. 'Manage per sender' skips review for previously approved senders and any email that arrives in a configured subfolder. |
|  | ManageKnownSenders | `ManageKnownSendersLbl` | 'Opens the list of senders the Payables Agent has previously processed.', Comment = 'Payables Agent is a term, and should not be translated.' |
|  | KnownSendersHint | `KnownSendersHintLbl` | Explains how the known-senders list interacts with the monitored subfolder. |
| Configure additional fields | Purchase Line Fields | `AddFieldsLbl` | Specifies the additional fields to consider from the purchase lines when creating purchase documents. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| SystemActions | Update | Apply the changes to the agent setup. |  |
|  | Cancel | Discard the changes to the agent setup. |  |

## Procedures

8 local procedures, no public ones.

## Triggers

OnOpenPage, OnModifyRecord, OnAfterGetCurrRecord, OnQueryClosePage

## Relations

- source table [Table 3303 "Payables Agent Setup"](../table/3303.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 3304 "PA Setup Configuration"](../codeunit/3304.md) (15 calls: `BuildSetupConfiguration → SetAgentSetupBuffer`, `BuildSetupConfiguration → SetEDocumentService`, `BuildSetupConfiguration → SetOutlookSetup`, …)
- [Codeunit 3318 "PA Trial"](../codeunit/3318.md) (6 calls: `CalcOpenAgentDemoGuideVisible → IsActive`, `CalcOpenAgentDemoGuideVisible → IsEligibleToStart`, `CalcTrialExperienceVisible → GetTrialInvoiceCount`, …)
- [Codeunit 3307 "Payables Agent Setup"](../codeunit/3307.md) (5 calls: `ApplySetup → ApplyPayablesAgentSetup`, `ConfirmPendingChanges → ClassifyKnownSendersUnusedByChange`, `ConfirmPendingChanges → PolicyLabel`, …)
- [Codeunit 3309 "PA Demo Guide"](../codeunit/3309.md) (2 calls: `CalcOpenAgentDemoGuideVisible → DemoExperienceAvailable`, `OpenDemoGuide → OpenGuidePage`)
- [Codeunit 4324 "Agent Setup"](../codeunit/4324.md) (2 calls: `OnAfterGetCurrRecord → GetChangesMade`, `OnQueryClosePage → GetChangesMade`)
- [Codeunit 3303 "Payables Agent"](../codeunit/3303.md) (1 call: `ProcessTrialUploadIfPending → GetCustomDimensions`)
- [Codeunit 3317 "Payables Agent OCV"](../codeunit/3317.md) (1 call: `OnAfterGetCurrRecord → TriggerDisableAgentFeedback`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `ProcessTrialUploadIfPending → CreateInStream`)
- [Codeunit 7771 "Azure OpenAI"](../codeunit/7771.md) (1 call: `OnOpenPage → IsEnabled`)

## Recent changes

- 2026-09-09 [#11213 Fix sample invoice email when the agent setup is not saved yet](../../changes/bcapps/11213.md) (main, BC30, fix)
- 2026-08-17 [#10238 Remove consumed credits from Payables Agent setup](../../changes/bcapps/10238.md) (main, BC30, other)
- 2026-07-30 [#9805 Update Email Folder tooltip to reference renamed 'Manage per sender' review option](../../changes/bcapps/9805.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Documented on Microsoft Learn

- [Manage known senders for Payables Agent](https://learn.microsoft.com/dynamics365/business-central/payables-agent-known-senders)
- [Set Up Payables Agent in Business Central](https://learn.microsoft.com/dynamics365/business-central/payables-agent-setup)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Payables Agent Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
