---
title: "Codeunit 3319 PA Cost Estimate"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3319-pa-cost-estimate/
type: codeunit
id: 3319
name: "PA Cost Estimate"
app: "Payables Agent"
namespace: Microsoft.Agent.PayablesAgent
versions: "28"
build: 28.5.54151.54365
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/3319-pa-cost-estimate/source/"
checked: 2026-11-20
changed: 2026-09-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 3319 PA Cost Estimate

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3319-pa-cost-estimate/

| | |
| --- | --- |
| App | Payables Agent |
| Namespace | Microsoft.Agent.PayablesAgent |
| Versions | 28 |
| Minors | W1 28.3-28.5; DE 28.3-28.5; US 28.3-28.5, [every minor](https://jonas-paprotka.de/ref/codeunit/3319-pa-cost-estimate/editions.json) |
| Access | Internal |
| Source file | Billling/PACostEstimate.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetCreditsConsumed | () | Decimal | public | 28 | - | - |
| GetCreditsConsumed | (AgentUserSecurityId: Guid) | Decimal | public | 28 | - | - |
| FormatCreditsConsumed | (Credits: Decimal) | Text | public | 28 | - | - |
| GetLearnMoreUrl | () | Text | public | 28 | - | - |

## 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.
