#12147 Bugs/add corp card basics
Corporate card functionality is added to the Expense Agent, enabling import, matching, and settlement of corporate card transactions with various processing and management features.
- 128files
- 94AL files
- 17objects
Pull request · merged into main (BC30) on 2026-10-28 by Alexander-Ya · 128 files (+16556 -136), 94 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Implements corporate card transaction import and processing with data exchange providers
- Adds merchant categorization and deduplication logic for transaction matching
- Creates settlement and statement management capabilities with approval workflows
- Extends bank account records and general journal lines with corporate card tracking fields
- Provides dashboard and UI pages for monitoring cards, exceptions, and settlement statuses
- Behaviour changes for users or extensions.
AL objects touched
- Page 6933 “Expense Management Role Center”, ExpenseAgent: modified
- Table 6900 “Expense”, ExpenseAgent: modified
- Codeunit 6974 “Cancel Posted Expense Report”, ExpenseAgent: modified
- Codeunit 6987 “Expense Report-Post”, ExpenseAgent: modified
- Table 6907 “Expense Report Line”, ExpenseAgent: modified
- Table 6916 “Posted Expense Report Line”, ExpenseAgent: modified
- Page 6949 “Expense User”, ExpenseAgent: modified
- Page 6951 “Expense Users”, ExpenseAgent: modified
- Permission set 6904 “Expense Management - Objects”, ExpenseAgent: modified
- Permission set 6905 “Expense Mgmt. Admin”, ExpenseAgent: modified
- Permission set 6906 “Expense Mgmt. Edit”, ExpenseAgent: modified
- Permission set 6907 “Expense Mgmt. Read”, ExpenseAgent: modified
- Codeunit 6970 “Create Expense Agent Setup”, ExpenseAgent: modified
- Codeunit 6975 “Create Expense VAT Rates”, ExpenseAgent: modified
- Codeunit 6950 “Expense Agent Privacy Subs.”, ExpenseAgent: modified
- Page 6996 “Expense Agent Setup”, ExpenseAgent: modified
- Table 6930 “Expense Agent Setup”, ExpenseAgent: modified
src/Apps/W1/ExpenseAgent/app/src/Common/Pages/ExpenseMgmtActivities.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/Common/Tables/ExpenseManagementCue.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardApprovalMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardAuditSubscribers.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardDENoop.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardDataExchProv.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardDedupMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardEnhMatchMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardErrorContext.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardExpenseWriter.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardFeedMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardImportOrch.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardJQMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardJQRunner.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardMCCMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardMapMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardMatchMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardMerchantNorm.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardPostImportOrch.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardPostMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardProvReg.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardReportMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardSettlementMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardStatementMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardStatsCalculator.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardStmtSummary.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardValidateMgt.Codeunit.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardCreateMode.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardExceptionType.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardFeedType.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardMatchType.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardSettleStatus.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardStmtStatus.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Enums/EACorpCardTransStatus.Enum.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Extensions/EABankAccLedgerEntry.TableExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Extensions/EABankAccRecLine.TableExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Extensions/EABankAccountStmtLine.TableExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Extensions/EAGenJournalLine.TableExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Interfaces/EACorpCardExpenseWriter.Interface.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Interfaces/EACorpCardProvider.Interface.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EABankAccLedgerEntries.PageExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EABankAccountStmtLines.PageExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardCards.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardDashboard.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardDashboardFact.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardDetails.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardExceptions.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardJQSchedule.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardJQScheduleSub.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardMCCMap.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardMerchantRules.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardProviders.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardSettlement.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardSettlementLines.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardSettlements.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStatement.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStatementLookup.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStatementTrans.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStatements.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStatsFactbox.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardStmtFactBox.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EACorpCardTransList.Page.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Pages/EAPaymentRecJournal.PageExt.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Permissions/EACorpCardAdmin.PermissionSet.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Permissions/EACorpCardEdit.PermissionSet.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Permissions/EACorpCardRead.PermissionSet.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCard.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardException.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardMCCMap.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardMerchantRule.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardProvider.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardSettlement.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardSettlementLine.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardStatement.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardTrans.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCardTransDetail.Table.al: added, not in the BC30 snapshot yetsrc/Apps/W1/ExpenseAgent/app/src/Setup/Codeunits/EACreateCorpCardSetup.Codeunit.al: added, not in the BC30 snapshot yet
Context
- Work items: AB#630366
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Expense Management Overview in Business Central — possibly related: touches Page 6933 “Expense Management Role Center”
- Set Up Expense Users and Teams — possibly related: touches Page 6949 “Expense User”
- Post Expense Reports in Business Central — possibly related: Documents posting approved expense reports that this change provides implementation for. (model-linked)
- Review and Edit Expenses in Expense Agent — possibly related: Documents expense review and management in Expense Agent that these tables and codeunits implement. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).