Page 6929 "Expense Report Lines API"
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 5 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| SourceTable | Expense Report Line |
| 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 |
|---|---|---|---|
| General | Id | Rec.SystemId |
— |
| Document No. | Document No. | — | |
| Expense User Number | Expense User No. | — | |
| Expense User System Id | ExpenseUserSystemId |
— | |
| Expense No. | Expense No. | Specifies the expense report number this line belongs to. from the table field | |
| Line No. | Line No. | — | |
| Expense Category | Expense Category | Specifies the expense category for the line. Determines whether the line requires per diem, mileage, participants, or itemization details. from the table field | |
| Expense Subcategory Code | Expense Subcategory Code | — | |
| Description | Description | Specifies a brief description of the expense line. from the table field | |
| Justification | Justification | Specifies the reason for the expense. Helps approvers understand why the expense was incurred. from the table field | |
| Additional Information | Additional Information | Specifies additional information for the expense line. from the table field | |
| Expense Date | Expense Date | Specifies the date when the expense was incurred. Used for reporting and validation purposes. from the table field | |
| Expense Time | Expense Time | — | |
| Currency Code | CurrencyCodeDisplay |
— | |
| Amount | Amount | Specifies the total amount of the expense for this line, including any applicable taxes. Changing the amount will update related totals automatically. from the table field | |
| Amount (LCY) | Amount (LCY) | Specifies the total amount of the expense for this line in local currency, including any applicable taxes. Automatically calculated from the amount and exchange rate. from the table field | |
| Currency (LCY) | CurrencyLCYDisplay |
— | |
| Non-Refundable Amount | Non-Refundable Amount | Specifies the reduction to the reimbursable amount. Available when Refundable is on and itemization is not required or is enforced by policy. from the table field | |
| Non-Refundable Amount (LCY) | Non-Refundable Amount (LCY) | Specifies the value of the Non-Refundable Amount (LCY) field. from the table field | |
| Amount without VAT | Amount without VAT | Specifies the value of the Amount without VAT field. from the table field | |
| Amount without VAT (LCY) | Amount without VAT (LCY) | Specifies the value of the Amount without VAT (LCY) field. from the table field | |
| VAT Amount | VAT Amount | Specifies the value of the VAT Amount field. from the table field | |
| VAT Amount (LCY) | VAT Amount (LCY) | Specifies the value of the VAT Amount (LCY) field. from the table field | |
| VAT Bus. Posting Group | VAT Bus. Posting Group | — | |
| VAT Liable | VAT Liable | Specifies the value of the VAT Liable field. from the table field | |
| VAT Prod. Posting Group | VAT Prod. Posting Group | Specifies the VAT product posting group used when posting VAT for this expense. from the table field | |
| Merchant Name | Merchant Name | — | |
| Merchant Registration Number | Merchant Registration No. | — | |
| Merchant VAT Registration Number | Merchant VAT Registration No. | — | |
| Reimbursement Type | Reimbursement Type | Specifies how the expense is reimbursed, for example cash or payroll. from the table field | |
| Reimbursable Amount | Reimbursable Amount | Specifies the portion of the expense that will be reimbursed to the employee. Calculated from amount, VAT, and reductions. from the table field | |
| Reimbursable Amount (LCY) | Reimbursable Amount (LCY) | Specifies the portion of the expense that will be reimbursed to the employee in local currency. Calculated from amount, VAT, and reductions. from the table field | |
| Receipt Attached | Receipt Attached | — | |
| Receipt Entry | Receipt Entry | — | |
| Account Type | Account Type | — | |
| Account No. | Account No. | — | |
| Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | — | |
| Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | — | |
| Payment Method Code | Payment Method Code | Specifies the payment method used for this expense, for example corporate card or cash. from the table field | |
| Refundable | Refundable | Specifies the value of the Refundable field. from the table field | |
| Travel Request No. | Spend Request No. | Specifies the travel request number that is associated with this expense report line. The travel request must be approved and released before it can be selected. from the table field | |
| Travel Request Close | Spend Request Close | Specifies that the travel request will be closed when the expense report is posted. from the table field | |
| Purchase Invoice | Purchase Invoice | — | |
| Posted Purchase Invoice No. | Posted Purch. Invoice No. | — | |
| Vendor No. | Vendor No. | — | |
| Posted Date | Posted Date | — | |
| Billable | Billable | Specifies whether the expense is billable to a customer. from the table field | |
| Billable to Customer | Billable to Customer | Specifies the customer to bill for this expense when it is billable. from the table field | |
| Expense Location | Expense Location | Specifies where the expense occurred. Available when the expense requires per diem details. from the table field | |
| Starting Date and Time | Starting Date and Time | Specifies the start date and time used for per diem calculations. Available when the expense requires per diem details. from the table field | |
| Ending Date and Time | Ending Date and Time | Specifies the end date and time used for per diem calculations. Available when the expense requires per diem details. from the table field | |
| Starting Point | Starting Point | Specifies the starting point for mileage calculations. Available when the expense requires mileage details. from the table field | |
| Ending Point | Ending Point | Specifies the ending point for mileage calculations. Available when the expense requires mileage details. from the table field | |
| Mileage | Mileage | Specifies the distance traveled for mileage reimbursement. Available when the expense requires mileage details. from the table field | |
| Round Trip | Round Trip | Specifies whether the mileage expense is a round trip. | |
| Vehicle Type | Vehicle Type | Specifies the vehicle type used for this mileage expense. | |
| Total Mileage | TotalMileage |
Specifies the total mileage for reimbursement. | |
| Unit of Measure Code | Unit of Measure Code | Specifies the unit of measure for mileage calculations. Available when the expense requires mileage details. from the table field | |
| Applied Rule Id | Applied Rule Id | — | |
| Credit Card Feed No. | Credit Card Feed No. | — | |
| Corporate Card Id | Corporate Card Id | Specifies the corporate card used to pay for the expense. from the table field | |
| Expense Detail Required | Expense Detail Required | — | |
| Expense External Document No. | Expense Ext. Doc. No. | — | |
| No Receipt Type | No Receipt Type | Specifies whether the original receipt was replaced by a “no receipt” declaration. from the table field | |
| No Receipt Reason | No Receipt Reason | Specifies why the original receipt was not available. from the table field | |
| Compliance Status | Compliance Status | Specifies the compliance status assigned to the expense. from the table field | |
| Created By Expense User Id | Created By Exp. User Id | — | |
| Modified By Expense User Id | Modified By Exp. User Id | — | |
| System Created At | Rec.SystemCreatedAt |
— | |
| System Modified At | Rec.SystemModifiedAt |
— | |
| System Created By | Rec.SystemCreatedBy |
— | |
| System Modified By | Rec.SystemModifiedBy |
— | |
| User Confirmed | User Confirmed | — | |
| Project No. | Job No. | — | |
| Project Task No. | Job Task No. | — | |
| Project Description | JobDescription |
— | |
| Project Task Description | JobTaskDescription |
— | |
| Policies Evaluated At | Policies Evaluated At | — | |
| Policy Eval Version | Policy Eval Version | — | |
| Policy Status | PolicyStatusDisplay |
— | |
| Has Policy Violation | HasPolicyViolationDisplay |
— | |
| expense | part Page 6927 “Expenses API” | — | |
| expenseReportLineItemization | part Page 6905 “Expense Report Line Item API” | — | |
| expenseReportLineParticip | part Page 6909 “Exp. Report Line Particip. API” | — | |
| expenseReportLinePerDiem | part Page 6915 “Exp. Report Line Per Diem API” | — | |
| attachments | part Page 6908 “Exp. Rep. Line Attachments API” | — | |
| Expense Report Rule Violations | part Page 6964 “Exp. Rep. Rule Violations API” | — | |
| Expense Policy Evaluations | part Page 7126 “Expense Policy Evaluations API” | — | |
| Policies To Evaluate | part Page 7108 “Exp. Policies To Eval API” | — |
Procedures
MoveExpenseReportLine(var ActionContext: WebServiceActionContext; TargetExpenseReportId: Guid)ValidateExpenseReportRule(var ActionContext: WebServiceActionContext)ApplyExpenseReportRule(var ActionContext: WebServiceActionContext)MarkPoliciesEvaluated(var ActionContext: WebServiceActionContext; EvaluatedSubjectVersion: Integer)
Plus 1 local procedures.
Triggers
OnInit, OnOpenPage, OnAfterGetRecord, OnNewRecord, OnInsertRecord, OnModifyRecord
Relations
- source table Table 6907 “Expense Report Line”
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” (4 calls:
OnAfterGetRecord → GetCurrencyCodeForAPI,OnInit → GetCurrencyCodeForAPI,OnInsertRecord → GetCurrencyCodeFromAPI, …) - Codeunit 6912 “Expense Auto Population” (1 call:
OnAfterGetRecord → GetEffectiveDistance) - Codeunit 6993 “Expense Agent API Validation” (1 call:
OnInit → VerifyAgentAccess) - Codeunit 7447 “EA Corp Card Selection Mgt” (1 call:
UpdateExpenseUserNoFromSystemId → ValidateReportLine)
Recent changes
- 2026-11-26 #14528 Deliverable 660629: [29.x] BCApps part of No Receipt expenses (releases/29.x, BC29, feature)
- 2026-11-20 #12544 Slice 626931: [Expense Agent] Lost receipt workflow and document creation (November ’26) (main, BC30, feature)
- 2026-11-16 #13587 Update Corp Card manual selection (main, BC30, feature)
- 2026-08-27 #10561 Mileage Rate Setup (main, BC30, feature)
- 2026-08-26 #10631 Integration/main to releases 29.x 31a860b5 (releases/29.x, BC29, feature)
- 2026-08-21 #10031 Add AI-assisted policy evaluation backend to Expense Agent (main, BC30, feature)
- 2026-08-10 #9391 [Master] - Slice 616928: [Expense Management] [App part] Expense Managements Travel Requisitions 💸 (main, BC30, feature)
- 2026-08-04 #9859 [Master] - Move Expense Agent (Preview) app into BCApps (main, BC30, feature, added)
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 — possibly related: Documents expense report line management in Expense Agent workflows. (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 Report Lines API"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.