---
title: "Codeunit 3303 Payables Agent"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/
type: codeunit
id: 3303
name: "Payables Agent"
app: "Payables Agent"
namespace: Microsoft.Agent.PayablesAgent
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/source/"
checked: 2026-11-20
changed: 2026-10-24
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 3303 Payables Agent

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/

| | |
| --- | --- |
| App | Payables Agent |
| Namespace | Microsoft.Agent.PayablesAgent |
| Versions | 26-29 |
| Minors | W1 26.2, 27.0-29.0; DE 27.3-29.0; US 26.2-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/editions.json) |
| Subtype | Install |
| Implements | IAgentMetadata, IAgentFactory |
| Access | Internal |
| Source file | PayablesAgent.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetSetupPageId | () | Integer | public | 26 | - | - |
| GetSummaryPageId | () | Integer | public | 26 | - | - |
| GetAgentTaskUserInterventionSuggestions | (AgentUserId: Guid; AgentTaskId: BigInteger; PageId: Integer; RecordId: RecordId; var AgentTaskUserInterventionSuggestion: Record "Agent Task User Int Suggestion") | - | public | 26 | - | - |
| GetAgentTaskMessagePageId | () | Integer | public | 26 | - | - |
| GetInitials | () | Text[4] | public | 26 | - | - |
| GetFirstTimeSetupPageId | () | Integer | public | 26-29 | - | - |
| GetAgentTaskPageContext | (AgentUserId: Guid; AgentTaskId: BigInteger; PageId: Integer; RecordId: RecordId; var AgentTaskPageContext: Record "Agent Task Page Context") | - | public | 26 | - | - |
| ShowCanCreateAgent | () | Boolean | public | 26-29 | - | - |
| GetCopilotCapability | () | Enum Copilot Capability | public | 26-29 | - | - |
| GetCurrentSessionsEDocument | () | Record E-Document | public | 26-29 | - | - |
| RegisterCapability | () | - | internal | 26-29 | - | - |
| GetSetupPageId | (AgentUserId: Guid) | Integer | public | 27-29 | - | - |
| GetSummaryPageId | (AgentUserId: Guid) | Integer | public | 27-29 | - | - |
| GetAgentAnnotations | (AgentUserId: Guid; var Annotations: Record "Agent Annotation") | - | public | 27-29 | - | - |
| GetAgentTaskMessagePageId | (AgentUserId: Guid; MessageId: Guid) | Integer | public | 27-29 | - | - |
| GetDefaultInitials | () | Text[4] | public | 27-29 | - | - |
| GetInitials | (AgentUserId: Guid) | Text[4] | public | 27-29 | - | - |
| GetEDocumentForAgentTask | (AgentTaskId: BigInteger) | Record E-Document | public | 27-29 | - | - |
| BuildAgentTask | (EDocument: Record "E-Document"; Agent: Record Agent) | - | public | 27-29 | - | - |
| GetCustomDimensions | () | Dictionary | public | 27-29 | - | - |
| IsPayablesAgentSession | (var SessionTaskID: BigInteger) | Boolean | public | 27-29 | - | - |
| GetDefaultProfile | (var TempAllProfile: Record "All Profile" temporary) | - | public | 27-29 | - | - |
| GetDefaultAccessControls | (var TempAccessControlBuffer: Record "Access Control Buffer" temporary) | - | public | 27-29 | - | - |
| UpdateAgentTaskTitle | (AgentTaskID: BigInteger; InvoiceNo: Text[50]; VendorName: Text[100]) | - | internal | 27 | - | - |
| SetAgentTaskTitle | (AgentTaskID: BigInteger; InvoiceNo: Text[50]; VendorName: Text[100]) | - | internal | 28-29 | - | - |
| PayablesAgentExistsAcrossAllCompanies | () | Boolean | internal | 28-29 | - | - |

## Source

Symbols: Microsoft.PayablesAgent.symbols.14aa1237-2f69-4c25-9a68-fa7d54e08613, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
