---
id: object/page/7421
type: object
title: Page 7421 "EA Card Receipt Data API"
summary: Page 7421 "EA Card Receipt Data API" in ExpenseAgent (Microsoft.ExpenseAgent). 1 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-12-06T00:48:06.827Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 62ce992a97cc35b5d9ba41e5341437ae6449f23c0bfc07453bd55f15e92e49e5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/APIs/CardReceiptData/EACardReceiptDataAPI.Page.al
    title: src/Apps/W1/ExpenseAgent/app/src/APIs/CardReceiptData/EACardReceiptDataAPI.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/14884
    - change/bcapps/14598
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-upload-receipts
      title: Upload Receipts and Create Mileage Expenses
      label: possibly related
      why: Documents Expense Agent's receipt scanning and automatic data extraction for expense creation.
      by: model
object_type: page
object_id: 7421
name: EA Card Receipt Data 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: 14
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 7421 "EA Card Receipt Data API"

> Page 7421 "EA Card Receipt Data API" in ExpenseAgent (Microsoft.ExpenseAgent). 1 public procedures. 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/CardReceiptData/EACardReceiptDataAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | EA Card Receipt Data |
| 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 | [Id](../table/7427.md#fields) | Specifies the identifier of the receipt data. <small>from the table field</small> |
|  | Expense Id | [Expense SystemId](../table/7427.md#fields) | Specifies the corporate card expense that the receipt data is applied to. <small>from the table field</small> |
|  | Expense No. | [Expense No.](../table/7427.md#fields) | Specifies the number of the corporate card expense that the receipt data is applied to. <small>from the table field</small> |
|  | File Name | [File Name](../table/7427.md#fields) | Specifies the file name of the receipt, including the extension. <small>from the table field</small> |
|  | Attachment Content | [Attachment Content](../table/7427.md#fields) | Specifies the receipt file. <small>from the table field</small> |
|  | Expense Category | [Expense Category](../table/7427.md#fields) | Specifies the expense category to set when the expense or line has none. <small>from the table field</small> |
|  | Description | [Description](../table/7427.md#fields) | Specifies the description to set when the expense or line has none. <small>from the table field</small> |
|  | Justification | [Justification](../table/7427.md#fields) | Specifies the justification to set when the expense or line has none. <small>from the table field</small> |
|  | Merchant Registration No. | [Merchant Registration No.](../table/7427.md#fields) | Specifies the merchant registration number to set when the expense or line has none. <small>from the table field</small> |
|  | Merchant VAT Registration No. | [Merchant VAT Registration No.](../table/7427.md#fields) | Specifies the merchant VAT registration number to set when the expense or line has none. <small>from the table field</small> |
|  | Expense External Document No. | [Expense Ext. Doc. No.](../table/7427.md#fields) | Specifies the receipt number to set when the expense or line has none. <small>from the table field</small> |
|  | Card Receipt Participants | part [Page 7422 "EA Card Receipt Particip. API"](../page/7422.md) | — |
|  | Card Receipt Items | part [Page 7423 "EA Card Receipt Items API"](../page/7423.md) | — |
|  | Card Receipt VAT Specifications | part [Page 7424 "EA Card Receipt VAT Spec. API"](../page/7424.md) | — |

## Procedures

- `Apply(var ActionContext: WebServiceActionContext)`

Plus 1 local procedures.

## Triggers

OnInit, OnInsertRecord, OnModifyRecord

## Relations

- source table [Table 7427 "EA Card Receipt Data"](../table/7427.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 7450 "EA Card Receipt Data Apply"](../codeunit/7450.md) (2 calls: `Apply → Apply`, `OnInsertRecord → GetCardExpense`)
- [Codeunit 6993 "Expense Agent API Validation"](../codeunit/6993.md) (1 call: `OnInit → VerifyAgentAccess`)

## Recent changes

- 2026-12-05 [#14884 [Expense Agent] Replace the receipt of a corporate card expense](../../changes/bcapps/14884.md) (main, BC30, feature)
- 2026-11-29 [#14598 [Expense Agent] Corporate card transactions as expense report lines](../../changes/bcapps/14598.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.

- [Upload Receipts and Create Mileage Expenses](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-upload-receipts) — possibly related: Documents Expense Agent's receipt scanning and automatic data extraction for expense creation. (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: "EA Card Receipt Data API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
