---
id: object/page/7451
type: object
title: Page 7451 "Expense Corporate Cards API"
summary: Page 7451 "Expense Corporate Cards API" in ExpenseAgent (Microsoft.ExpenseAgent). 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-12-06T00:48:06.827Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 05e5465de5d2394499955ff151c72ad9a12f79192abd36eb768a3f68418ddd02
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseCorporateCardsAPI.Page.al
    title: src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseCorporateCardsAPI.Page.al (releases/29.x)
    date: null
    commit: 4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/14598
    - change/bcapps/13587
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent
      title: Expense Agent Overview in Business Central
      label: possibly related
      why: API for corporate card data extraction in automated expense processing
      by: model
object_type: page
object_id: 7451
name: Expense Corporate Cards 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: 2
  events: 0
  subscribers: 0
  controls: 9
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 7451 "Expense Corporate Cards API"

> Page 7451 "Expense Corporate Cards API" in ExpenseAgent (Microsoft.ExpenseAgent). Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at 4e6a307c](https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseCorporateCardsAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | EA Corp Card |
| PageType | API |
| Permissions | tabledata "EA Corp Card" = r |

## 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 |
|---|---|---|---|
| Cards | Id | `Rec.SystemId` | — |
|  | Corporate Card Id | [Card Id](../table/7421.md#fields) | Specifies the internal Business Central identifier for the card, not its card number. Statement files must not contain this identifier. <small>from the table field</small> |
|  | Expense User Number | [Expense User No.](../table/7421.md#fields) | Specifies the expense user number associated with the card. <small>from the table field</small> |
|  | Last Four Digits | `Rec.GetLastFourDigits()` | Specifies the last four digits used to identify the corporate card. |
|  | Provider Code | [Provider Code](../table/7421.md#fields) | Specifies the provider code for the card. <small>from the table field</small> |
|  | Provider Short Name | [Provider Short Name](../table/7421.md#fields) | Specifies the short name of the corporate card provider. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/7421.md#fields) | Specifies the currency code for the card. <small>from the table field</small> |
|  | Valid From | [Valid From](../table/7421.md#fields) | Specifies the date from which the card is valid. <small>from the table field</small> |
|  | Valid To | [Valid To](../table/7421.md#fields) | Specifies the date until which the card is valid. <small>from the table field</small> |

## Procedures

2 local procedures, no public ones.

## Triggers

OnInit, OnOpenPage

## Relations

- source table [Table 7421 "EA Corp Card"](../table/7421.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 6993 "Expense Agent API Validation"](../codeunit/6993.md) (1 call: `OnInit → VerifyAgentAccess`)

## Recent changes

- 2026-11-29 [#14598 [Expense Agent] Corporate card transactions as expense report lines](../../changes/bcapps/14598.md) (main, BC30, feature)
- 2026-11-16 [#13587 Update Corp Card manual selection](../../changes/bcapps/13587.md) (main, BC30, feature, added)

## Across versions

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

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Expense Agent Overview in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent) — possibly related: API for corporate card data extraction in automated expense processing (model-linked)

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