---
title: "Codeunit 4590 SOA Billing"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/4590-soa-billing/
type: codeunit
id: 4590
name: "SOA Billing"
app: "Sales Order Agent"
namespace: Microsoft.Agent.SalesOrderAgent
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/4590-soa-billing/source/"
checked: 2026-11-20
changed: 2026-10-05
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 4590 SOA Billing

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4590-soa-billing/

| | |
| --- | --- |
| App | Sales Order Agent |
| Namespace | Microsoft.Agent.SalesOrderAgent |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.4-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/4590-soa-billing/editions.json) |
| Access | Internal |
| Source file | src/Billing/SOABilling.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| LogEmailRead | (AgentTaskMessageID: Guid; AgentTaskID: BigInteger) | - | public | 26-29 | - | - |
| LogEmailGenerated | (AgentTaskMessageID: Guid; AgentTaskID: BigInteger) | Boolean | public | 26 | - | - |
| LogQuoteModified | (DocumentID: Guid; AgentTaskID: BigInteger) | Boolean | public | 26-29 | - | - |
| LogOrderModified | (DocumentID: Guid; AgentTaskID: BigInteger) | Boolean | public | 26-29 | - | - |
| LogInventoryInquiryReplied | (AgentTaskID: BigInteger) | Boolean | public | 26-29 | - | - |
| GetDescription | (var SOABillingLog: Record "SOA Billing Log") | Text | public | 26 | - | - |
| AddToDescription | (var SOABillingLog: Record "SOA Billing Log"; NewDescriptionText: Text) | - | public | 26 | - | - |
| TooManyUnpaidEntries | () | Boolean | public | 26 | - | - |
| LogUsageSafe | (CostType: Enum "Copilot Quota Usage Type") | Boolean | public | 26 | - | - |
| GetTooManyUnpaidEntriesMessage | () | Text | public | 26 | - | - |
| GetBillingTaskSetupSafe | (var SOABillingTaskSetup: Record "SOA Billing Task Setup") | - | public | 26 | - | - |
| LogEmailGenerated | (AgentTaskMessageID: Guid; AgentTaskID: BigInteger; AgentMessageID: Guid) | Boolean | public | 27-29 | - | - |
| LogRelevantAttachment | (AgentTaskMessageAttachmentID: Guid; AgentTaskID: BigInteger; AgentMessageID: Guid; FileID: BigInteger) | - | public | 27-29 | - | - |
| LogIrrelevantAttachment | (AgentTaskMessageAttachmentID: Guid; AgentTaskID: BigInteger; AgentMessageID: Guid; FileID: BigInteger) | - | public | 27-29 | - | - |

## Source

Symbols: Microsoft.SalesOrderAgent.symbols.23b1772f-b8b8-4e87-9339-9ff7cbb2364b, 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.
