---
id: object/page/6928
type: object
title: Page 6928 "Expense Reports API"
summary: Page 6928 "Expense Reports API" in ExpenseAgent (Microsoft.ExpenseAgent). 11 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-15T01:03:07.514Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 92d4eb2fefa400350d20925220ef6afa821cfd15123b586d325edd484e4c6137
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/866a524fcaefacda4fb3a7b1a44daebcdacc377b/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseReportsAPI.Page.al
    title: src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseReportsAPI.Page.al (releases/29.x)
    date: null
    commit: 866a524fcaefacda4fb3a7b1a44daebcdacc377b
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11021
    - change/bcapps/11007
    - change/bcapps/10829
    - change/bcapps/10570
    - change/bcapps/10542
    - change/bcapps/10631
    - change/bcapps/10031
    - change/bcapps/10255
    - change/bcapps/9391
    - change/bcapps/9859
object_type: page
object_id: 6928
name: Expense Reports API
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 15
  events: 0
  subscribers: 0
  controls: 50
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 0
  implements: 0
---

# Page 6928 "Expense Reports API"

> Page 6928 "Expense Reports API" in ExpenseAgent (Microsoft.ExpenseAgent). 11 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at 866a524f](https://github.com/microsoft/BCApps/blob/866a524fcaefacda4fb3a7b1a44daebcdacc377b/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseReportsAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | Expense Report Header |
| PageType | API |

## 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 |
|---|---|---|---|
| General | Id | `Rec.SystemId` | — |
|  | No. | [No.](../table/6906.md#fields) | — |
|  | Expense User Number | [Expense User No.](../table/6906.md#fields) | — |
|  | Expense User System Id | `ExpenseUserSystemId` | — |
|  | Expense User Name | [Expense User Name](../table/6906.md#fields) | — |
|  | Expense Report Date | [Expense Report Date](../table/6906.md#fields) | — |
|  | Posting Date | [Posting Date](../table/6906.md#fields) | — |
|  | Description | [Description](../table/6906.md#fields) | Specifies the value of the Description field. <small>from the table field</small> |
|  | Total Amount (LCY) | [Amount (LCY)](../table/6906.md#fields) | — |
|  | Non-Refundable Amount (LCY) | [Non-Refundable Amount (LCY)](../table/6906.md#fields) | — |
|  | Amount without VAT (LCY) | [Amount without VAT (LCY)](../table/6906.md#fields) | — |
|  | Currency (LCY) | `CurrencyLCYDisplay` | — |
|  | Reimbursable Amount | [Reimbursable Amount](../table/6906.md#fields) | Specifies the value of the Reimbursable Amount field. <small>from the table field</small> |
|  | Reimbursable Amount (LCY) | [Reimbursable Amount (LCY)](../table/6906.md#fields) | — |
|  | VAT Amount (LCY) | [VAT Amount (LCY)](../table/6906.md#fields) | — |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/6906.md#fields) | — |
|  | Shortcut Dimension 2 Code | [Shortcut Dimension 2 Code](../table/6906.md#fields) | — |
|  | Employee Posting Group | [Employee Posting Group](../table/6906.md#fields) | Specifies the employee's type to link business transactions made for the employee with the appropriate account in the general ledger. <small>from the table field</small> |
|  | Language Code | [Language Code](../table/6906.md#fields) | — |
|  | Comment | [Comment](../table/6906.md#fields) | — |
|  | Reason Code | [Reason Code](../table/6906.md#fields) | — |
|  | No. Series | [No. Series](../table/6906.md#fields) | — |
|  | Posting No. Series | [Posting No. Series](../table/6906.md#fields) | — |
|  | Status | [Status](../table/6906.md#fields) | — |
|  | Anti-Corruption Attestation | [Anti-Corruption Attestation](../table/6906.md#fields) | — |
|  | Anti-Corruption Description | [Anti-Corruption Description](../table/6906.md#fields) | — |
|  | Corrected | [Corrected](../table/6906.md#fields) | — |
|  | Corrected Document No. | [Corrected Document No.](../table/6906.md#fields) | — |
|  | Submission Date and Time | [Submission DateTime](../table/6906.md#fields) | — |
|  | Approved/Rejected Date and Time | [Approved/Rejected DateTime](../table/6906.md#fields) | — |
|  | Approved/Rejected By Expense User Display Name | [Approved/Rejected Exp.UserName](../table/6906.md#fields) | — |
|  | Approved/Rejected By Expense User Number | [Approved/Rejected Exp.User No.](../table/6906.md#fields) | — |
|  | Approver Comment | `Rec.GetApproverComment()` | — |
|  | Submitter Comment | `Rec.GetSubmitterComment()` | — |
|  | Final Approver No. | [Final Approver No.](../table/6906.md#fields) | Specifies the expense user who gives final approval. Prepopulated from the expense user's approver. <small>from the table field</small> |
|  | Final Approver Name | [Final Approver Name](../table/6906.md#fields) | Specifies the name of the final approver. <small>from the table field</small> |
|  | Interim Approver No. | [Interim Approver No.](../table/6906.md#fields) | Specifies an optional interim approver who must approve before the final approver. <small>from the table field</small> |
|  | Interim Approver Name | [Interim Approver Name](../table/6906.md#fields) | Specifies the name of the interim approver. <small>from the table field</small> |
|  | Reimbursement Currency Code | `ReimbursementCurrencyCodeDisplay` | — |
|  | Responsibility Center | [Responsibility Center](../table/6906.md#fields) | — |
|  | System Created At | `Rec.SystemCreatedAt` | — |
|  | System Modified At | `Rec.SystemModifiedAt` | — |
|  | System Created By | `Rec.SystemCreatedBy` | — |
|  | System Modified By | `Rec.SystemModifiedBy` | — |
|  | Created By Expense User Id | [Created By Exp. User Id](../table/6906.md#fields) | — |
|  | Modified By Expense User Id | [Modified By Exp. User Id](../table/6906.md#fields) | — |
|  | Travel Request No. | [Spend Request No.](../table/6906.md#fields) | Specifies the travel request number that is associated with this expense report. <small>from the table field</small> |
|  | Travel Request Close | [Spend Request Close](../table/6906.md#fields) | Specifies that the travel request will be closed when the expense report is posted. <small>from the table field</small> |
|  | Expense Report Lines | part [Page 6929 "Expense Report Lines API"](../page/6929.md) | — |
|  | Activity Log Entries | part [Page 7122 "Expense Activity Log API"](../page/7122.md) | — |

## Procedures

- `ReleaseExpenseReport(var ActionContext: WebServiceActionContext)`
- `ReopenExpenseReport(var ActionContext: WebServiceActionContext)`
- `PendingApprovalExpenseReport(var ActionContext: WebServiceActionContext; SubmitterExpenseUserNo: Code[20])`
- `ReleaseAndMarkPendingApprovalExpenseReport(var ActionContext: WebServiceActionContext; SubmitterExpenseUserNo: Code[20])` (obsolete 29.0: Use ReleaseAndMarkPendingApprovalExpenseReportWithComment instead.)
- `ReleaseAndMarkPendingApprovalExpenseReportWithComment(var ActionContext: WebServiceActionContext; SubmitterExpenseUserNo: Code[20]; SubmissionComment: Text)`
- `ApprovedExpenseReport(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20])`
- `ApprovedExpenseReportWithPolicyOverride(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20]; SkipPolicyValidation: Boolean)`
- `RejectedExpenseReport(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20]; RejectReason: Text)`
- `RejectAndReopenExpenseReport(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20]; RejectReason: Text)`
- `AddExpenseToReport(var ActionContext: WebServiceActionContext; ExpenseId: Guid)`
- `AssignInterimApprover(var ActionContext: WebServiceActionContext; InterimApproverExpenseUserNo: Code[20]; ActorExpenseUserNo: Code[20])`

Plus 4 local procedures.

## Triggers

OnInit, OnOpenPage, OnFindRecord, OnAfterGetRecord, OnNewRecord, OnInsertRecord, OnModifyRecord

## Relations

- source table [Table 6906 "Expense Report Header"](../table/6906.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 6988 "Expense API Currency Helper"](../codeunit/6988.md) (3 calls: `OnAfterGetRecord → GetCurrencyCodeForAPI`, `OnInsertRecord → GetCurrencyCodeFromAPI`, `OnModifyRecord → GetCurrencyCodeFromAPI`)
- [Codeunit 6993 "Expense Agent API Validation"](../codeunit/6993.md) (2 calls: `OnInit → VerifyAgentAccess`, `OnInsertRecord → IsCurrentUserExpenseAgent`)
- [Codeunit 46 "SelectionFilterManagement"](../codeunit/46.md) (1 call: `GetSubmitterFilter → GetSelectionFilter`)
- [Codeunit 6954 "EA KPI Track"](../codeunit/6954.md) (1 call: `AddExpenseToReport → UpdateExpenseReportLineEntry`)
- [Codeunit 6968 "Expense Audit Subscribers"](../codeunit/6968.md) (1 call: `OnInsertRecord → TelemetryCategory`)
- [Codeunit 6983 "Create Expense Report"](../codeunit/6983.md) (1 call: `AddExpenseToReport → AddSingleExpenseToExpenseReport`)

## Recent changes

- 2026-09-24 [#11021 Expense Agent: align legacy submit cleanup with 29.0](../../changes/bcapps/11021.md) (main, BC30, other)
- 2026-09-09 [#11007 Add Travel Request API lifecycle to Expense Agent](../../changes/bcapps/11007.md) (main, BC30, feature)
- 2026-09-03 [#10829 [29.x][Expense Agent] Backport approval conversation from #10570](../../changes/bcapps/10829.md) (releases/29.x, BC29, feature)
- 2026-09-02 [#10570 Expense Agent: add approval conversation to expense reports](../../changes/bcapps/10570.md) (main, BC30, feature)
- 2026-08-27 [#10542 [Master] - Slice 638097: [Expense Agent] Enable simple interim approval scenario](../../changes/bcapps/10542.md) (main, BC30, feature)
- 2026-08-26 [#10631 Integration/main to releases 29.x 31a860b5](../../changes/bcapps/10631.md) (releases/29.x, BC29, feature)
- 2026-08-21 [#10031 Add AI-assisted policy evaluation backend to Expense Agent](../../changes/bcapps/10031.md) (main, BC30, feature)
- 2026-08-17 [#10255 Add expense activity history foundation](../../changes/bcapps/10255.md) (main, BC30, feature)
- 2026-08-10 [#9391 [Master] - Slice 616928: [Expense Management] [App part] Expense Managements Travel Requisitions 💸](../../changes/bcapps/9391.md) (main, BC30, feature)
- 2026-08-04 [#9859 [Master] - Move Expense Agent (Preview) app into BCApps](../../changes/bcapps/9859.md) (main, BC30, feature, added)

## Across versions

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

## Deprecations

- procedure ReleaseAndMarkPendingApprovalExpenseReport: Pending 29.0 (#if not CLEAN29), "Use ReleaseAndMarkPendingApprovalExpenseReportWithComment instead."

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: "Expense Reports API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
