Orchestrate

Report an issue

Something wrong, out of date or unclear? Tell us. Corrections are prioritized over new topics. You don't need to sign in.

0 / 2000

Don't include personal or confidential company details. Reports are reviewed with AI assistance.

Concur and expense AI

Know which AI SAP ships in Concur Expense and Concur Travel, with each feature's status, and practise drafting and pre-checking Calder's expense reports.

Updated Nov 23, 2026
Foundational layer · 9 min read

The 60-second version

SAP Concur is SAP's cloud service for business travel and employee expenses. Employees book trips in Concur Travel, claim costs in Concur Expense, and managers approve. Approved reports then post to finance, as the hire-to-retire topic showed for Calder Pumpworks, the course's fictional pump maker.

Expenses are a good place for AI. The work is repetitive, the rules are written down, and the evidence is a pile of receipts and card charges. SAP now ships AI at three points of the flow:

  • Before submit: an agent drafts the report from card charges, and a pre-submit check flags problems while the employee can still fix them.
  • During approval and audit: AI points the approver at the lines that need attention, and audit services check every report.
  • In the setup: administrators turn written policy into system rules with AI help.

Each piece has its own status. Some are generally available, some are only in SAP's Early Adopter Care program, and some audit services are paid add-ons. The leader's job is to know which is which before promising savings.

Why it matters to the business

Expense reports cost time three times over. The employee builds the report, the manager approves it, and an auditor or the expense team checks it. Every rejected report goes round again, and the employee waits for their money.

SAP's own claims show where it expects the value. Its Q2 2026 highlights say the Expense Automation Agent creates a first draft of the report and can shorten report completion time by up to 30% (SAP News, July 2026). Its March 2026 announcement says the Pre-Submit Audit Agent aims to reduce rejected reports and reimbursement delays (SAP News, March 2026). Those are vendor figures. Measure your own baseline before you repeat them.

The risks are specific to expenses:

  • Personal data. Expense reports show where people were, what they ate and who they met. That data is sensitive even when it is legal to process.
  • Money leaves the company. A wrong draft that slips through approval is a real overpayment. A wrong flag delays a colleague's reimbursement.
  • Finance still decides. A report that passes every Concur check can still fail to post in S/4HANA, for example on a closed cost center.

Take Calder's three reports from hire-to-retire. ER-2026-0419 for new hire 00100231 was approved in the expense system and then couldn't post: his cost center CP11-435 was closed and he had no payee record in S/4HANA. A pre-submit check that only knows the travel policy would have passed it. One that also knows finance's master data would have stopped it on day one.

How SAP does it

As read on SAP pages on 23 November 2026:

Feature What it does Status as SAP states it
Expense Automation Agent Collects transactions, fills fields from context and past behavior, and drafts the report for the employee to review Generally available (Q2 2026 highlights, SAP News)
Expense Pre-Submit Audit Agent Validates receipts and flags discrepancies before submission Early Adopter Care in March 2026, GA "expected later this year" (SAP News); no later status found on SAP pages
AI-assisted policy rule generator (Concur Travel) Turns pasted policy text into rule classes and rules, applied through a wizard Early Adopter Care (Q2 2026 highlights)
AI-assisted approval manager (Concur Expense) Shows approvers which transactions need attention Early Adopter Care (Q3 2026 highlights, SAP News)
AI-assisted corporate card management (Concur Expense) Turns policy written in plain language into card spending limits Early Adopter Care (Q3 2026 highlights)
AI-assisted trip changes, travel filters and travel search (Concur Travel) Change trips by conversation with Joule; filter and search in plain language Generally available (Q3 2026 highlights)
Joule with Microsoft 365 Copilot Create and submit reports, upload receipts, book travel and get policy guidance from Microsoft apps "Now available" in March 2026 (SAP News)
Intelligent Audit and Verify AI and, for Intelligent Audit, human auditors check every report Paid add-ons: each page names an add-on SKU; the Intelligent Audit page says AI Units are currently required (Intelligent Audit, Verify)

Early Adopter Care is SAP's program for selected customers to use a feature before it is generally available. If a feature is there, you can't simply switch it on: you apply.

Licensing is not on the release pages. SAP's commercial split between Base AI, included in cloud subscriptions, and Premium AI, paid in AI Units, is covered in embedded AI across SAP applications. For each Concur feature, ask SAP which side it falls on for your contract. The same mix of generally available features, Early Adopter Care and paid add-ons runs through the other suite products in this unit, such as SuccessFactors AI and skills graphs and Ariba and procurement AI.

A decision guide: what to switch on first

Your situation Start with Why
Most spend is on corporate cards and employees build reports by hand Expense Automation Agent Generally available, and drafts from card data are its home ground
Many reports are sent back for missing or wrong receipts Pre-Submit Audit Agent, if you can join Early Adopter Care; meanwhile tighter receipt rules Catches the problem while the employee can still fix it
Policy rules are configured by hand and drift from the written policy Policy rule generator, with a person reviewing every rule Saves setup time, but a wrong rule pays the wrong amounts
Audit is a backlog and fraud is a worry Verify or Intelligent Audit (add-ons) Check every report, not a sample; budget the add-on
Reports pass Concur but fail to post in S/4HANA Fix the master data feeds first No expense AI sees a cost center that finance closed
People live in Microsoft Teams and Outlook Joule with Microsoft 365 Copilot Meets employees where they already work

Questions to ask

  1. Which of these features are generally available for our Concur edition and region, and which are Early Adopter Care only?
  2. Is each feature Base AI or Premium AI in our contract, and which audit add-ons do we already own?
  3. What is our baseline: average time to build a report, the share sent back, and days from trip end to reimbursement?
  4. Who reviews AI-generated policy rules before they go live, and how is that review recorded?
  5. What does the agent learn from "past behavior", and can an employee see and correct it?
  6. Does our pre-submit check know finance's master data, such as closed cost centers and missing payee records?
  7. Where is expense data processed, and does our works council or privacy officer need to approve the AI features?
  8. If the agent drafts a wrong line and a manager approves it, who is accountable for the payment?

Common misconceptions

  • "The agent submits the report." As SAP describes it, the agent drafts and the employee reviews, adjusts and submits.
  • "Announced means available." In March 2026 both expense agents were in Early Adopter Care. One is now generally available; the other had no newer status on SAP pages we could read.
  • "AI audit replaces auditors." Intelligent Audit explicitly pairs AI with human auditors, and Verify frees auditors for high-risk items rather than removing them.
  • "A clean Concur check means a clean posting." Concur doesn't own S/4HANA's cost centers or payee records. Calder's ER-2026-0419 proves it.
  • "A generated rule is right because it came from our policy text." A rule generator can misread a sentence. A wrong limit pays the wrong amount on every report.

Key terms

All course terms, A to Z, in the glossary

  • SAP Concur: SAP's cloud services for travel booking (Concur Travel), expense reports (Concur Expense) and related requests.
  • Expense report: an employee's claim for business costs, made of expense entries with receipts, sent for approval and then paid.
  • Expense Automation Agent: a Concur Expense agent that drafts the report from transactions, context and past behavior for the employee to review.
  • Pre-submit audit: checks that run before the employee submits, so problems are fixed before approval.
  • Policy rule: a configured check that turns a policy sentence, such as a hotel limit, into a warning or a stop.
  • Early Adopter Care: SAP's program giving selected customers access to a feature before general availability.
  • Verify and Intelligent Audit: Concur Expense add-ons that check every report with AI, with human auditors in Intelligent Audit.
  • Payee record: the record in finance that lets the company pay an employee; without it an approved report can't be reimbursed.

Check yourself

Pick one answer for each question. The explanation appears after you choose.

1Which statement about the Expense Automation Agent matches what SAP describes?

Answer: D. SAP describes the agent as creating a first draft that the employee reviews and adjusts before submitting. Approval and audit stay with people and with separate services.

2A vendor slide lists the Pre-Submit Audit Agent. What should a leader check before promising it to the CFO?

Answer: D. In March 2026 SAP placed the agent in Early Adopter Care with GA expected later, and no newer status was found on SAP pages. Promising a feature you can't switch on is the common mistake.

3Calder's report ER-2026-0419 passed approval in the expense system but could not post. What would have caught it earlier?

Answer: D. The report failed on a closed cost center and a missing payee record, both owned by finance in S/4HANA. A check that only knows the travel policy passes it.

4Why does every AI-generated policy rule need a human review?

Answer: D. The generator turns policy text into rules, but a wrong reading pays or blocks the wrong amounts on every report from then on. A reviewer who checks each rule against its sentence stops that.

5How do Verify and Intelligent Audit differ from the expense agents?

Answer: C. Both sap.com pages name an add-on SKU, and Intelligent Audit pairs AI with human auditors. The agents work before submission; these services check reports for errors, duplicates and policy breaks.

6What is the best first measure before switching on expense AI?

Answer: B. Without a baseline you can't show the AI changed anything. SAP's "up to 30%" is a vendor figure, not your result.
Deep layer · 32 min read

Mental model

Treat expense AI as three gates around one document. The expense report is the document. Gate one is before submit: an agent drafts, a check flags. Gate two is approval and audit: a person decides, helped by AI that ranks what to look at. Gate three is posting: finance in S/4HANA accepts or rejects.

AI makes the first two gates faster and stricter. It does not move the third. Every design choice below comes from asking which gate a check belongs to, and whether that gate has the data to run it. A receipt check belongs in gate one, because the employee holds the receipt. A closed cost center also belongs in gate one, but only if gate one can see finance's master data.

How it works

flowchart LR
  C[Card feed and<br/>e-receipts] --> A[Draft agent]
  A --> D[Draft report]
  D --> P{Pre-submit<br/>check}
  P -- blocking --> E[Employee fixes]
  E --> P
  P -- clean or<br/>warnings --> M[Manager approves]
  M --> V[Audit: Verify or<br/>Intelligent Audit]
  V --> F[Posting to<br/>S/4HANA]
  F -- rejected --> X[Expense team]

Drafting. SAP's Q2 2026 highlights describe the Expense Automation Agent as collecting transactions, filling relevant fields from contextual information and past behavior, and leaving review to the employee (SAP News). In practice the inputs are card charges, receipt images and the trip itself. The outputs are expense entries with an expense type, date, amount, vendor and, sometimes, a personal flag. SAP doesn't publish the agent's internals; treat its fields as proposals.

Pre-submit checks. SAP describes the Pre-Submit Audit Agent as validating receipts and flagging discrepancies before submission (SAP News, March 2026). Concur's API already exposes the outcome of its checks on each entry: hasExceptions and hasBlockingExceptions on an expense in Expenses v4 (developer docs). The split matters: a blocking exception stops submission, a warning travels to the approver.

Rules from policy text. The policy rule generator for Concur Travel takes pasted policy text and proposes rule classes and rules, applied through a wizard (SAP News, Q2 2026). That is a translation step from prose to configuration. Its quality depends on how clearly the policy is written, and its output must be traceable back to the sentence.

Approval and audit. The approval manager in Concur Expense highlights the transactions that need attention (SAP News, Q3 2026). Verify reviews every report for errors, policy violations and duplicates (sap.com). Intelligent Audit adds human auditors who match each expense to date, amount, vendor, expense type and receipt (sap.com).

Conversation. Joule covers the same tasks from chat: SAP's March 2026 news describes creating and submitting reports, uploading receipts, booking travel and getting policy guidance from Microsoft 365 Copilot, and the Q3 highlights add trip changes by conversation with Joule in Concur Travel.

Build it yourself: draft and pre-check Calder's expense reports

Before you start: complete Set up your computer for this course and Set up for Unit 14. The Unit 14 setup writes the Calder suite pack this script compares against. No Concur account is needed.

You will build a local stand-in for the first gate. One script drafts a new expense report from card charges, the way SAP describes the agent, then runs a pre-submit check over Calder's three approved reports and the new draft. The check uses Calder's travel policy and two facts from finance: which cost centers are open and who has a payee record.

flowchart LR
  CARD[Card charges<br/>and receipts] --> DR[--draft<br/>ER-2026-0431]
  POL[Calder policy<br/>S1-S8] --> RU[--policy<br/>rules P1-P9]
  FIN[Open cost centers<br/>and payees] --> CH
  DR --> CH[--check]
  RU --> CH
  CH --> RV[--reviewed<br/>after the fixes]

What you need

  • The course folder with its .venv, from the setup topics. Python's built-in modules only.
  • Cost: free. Time: about 30 minutes.

Step 1: Open your course folder and turn on the virtual environment

  1. Open VS Code, choose File > Open Folder, and open orchestrate-course.

  2. Open a terminal: Terminal > New Terminal.

  3. If the prompt doesn't start with (.venv), turn it on:

    • Windows (PowerShell):

      .venv\Scripts\Activate.ps1
    • macOS / Linux:

      source .venv/bin/activate
  4. Check that the suite pack exists. You should see concur_expense_reports.json among the files:

    • Windows (PowerShell):

      dir unit14\suite_pack
    • macOS / Linux:

      ls unit14/suite_pack

    If the folder is missing, run python unit14/make_suite_pack.py from the Unit 14 setup first.

Step 2: Create the script

  1. In VS Code, create the file unit14/expense_precheck.py.
  2. Paste this code and save:
"""Calder expense lab: draft a report from card charges, then check it before submit.

A local stand-in for two ideas SAP describes for Concur Expense: an agent that
drafts the report from transactions, and a pre-submit audit that flags problems
before the report reaches the approver. Nothing here calls Concur or SAP.
Built-in modules only, no randomness: every run prints the same result.

  python unit14/expense_precheck.py --policy      the rules and the policy text behind each
  python unit14/expense_precheck.py --draft       draft ER-2026-0431 from card charges
  python unit14/expense_precheck.py --check       pre-submit check of all four reports
  python unit14/expense_precheck.py --reviewed    the same check after the employee's fixes
  python unit14/expense_precheck.py --save        also write unit14/expense_lab/*.json

All people, merchants, amounts and rules are fictional course values.
"""
import argparse
import json
from collections import defaultdict
from pathlib import Path

HERE = Path(__file__).resolve().parent
OUT = HERE / "expense_lab"
PACK = HERE / "suite_pack" / "concur_expense_reports.json"

# ------------------------------------------------------------------ policy (course values)
# Calder's travel and expense policy, sentence by sentence. Each rule below cites the
# sentence it came from, the way a reviewer checks rules a generator proposed.
POLICY = {
    "S1": "Attach an itemized receipt for every expense above 25.00 USD.",
    "S2": "Meals may not exceed 75.00 USD per person per day.",
    "S3": "Hotel rooms may not exceed 220.00 USD per night.",
    "S4": "Safety boots are reimbursed up to 150.00 USD once per calendar year.",
    "S5": "Charge every report to an open cost center.",
    "S6": "Personal charges on the corporate card are repaid, never reimbursed.",
    "S7": "Claim each expense once.",
    "S8": "Finance pays reimbursements to the employee's payee record.",
}
RULES = [
    # id, policy sentence, severity, what it checks
    ("P1", "S1", "blocking", "receipt attached when the amount is above 25.00"),
    ("P2", "S2", "warning", "meals per day at most 75.00"),
    ("P3", "S3", "warning", "hotel per night at most 220.00"),
    ("P4", "S7", "blocking", "the same merchant, date and amount only once"),
    ("P5", "S1", "warning", "receipt amount equals the claimed amount"),
    ("P6", "S5", "blocking", "cost center is open in S/4HANA"),
    ("P7", "S8", "blocking", "employee can be paid (payee record in S/4HANA)"),
    ("P8", "S4", "warning", "safety boots at most 150.00"),
    ("P9", "S6", "warning", "personal card charges marked personal"),
]
RECEIPT_LIMIT, MEAL_DAY, HOTEL_NIGHT, BOOTS = 25.00, 75.00, 220.00, 150.00

# ------------------------------------------------------------------ S/4HANA side (course values)
OPEN_COST_CENTERS = {"CP11-300", "CP11-410", "CP11-420", "CP11-450", "CP11-900"}  # CP11-435 closed 2026-09-30
PAYEES = {"00100094", "00100117", "00100142"}   # 00100231 has no payee record yet
HR_COST_CENTER = {"00100094": "CP11-450", "00100117": "CP11-450",
                  "00100142": "CP11-450", "00100231": "CP11-435"}

# ------------------------------------------------------------------ approved reports (hire-to-retire)
# report, person, purpose, cost center, entries: (date, type, merchant, amount, receipt amount or None, nights)
APPROVED = [
    ("ER-2026-0412", "00100117", "Crane inspection training, Chicago", "CP11-450", [
        ("2026-10-13", "HOTEL", "Wabash Street Hotel", 209.00, 209.00, 1),
        ("2026-10-13", "MEALS", "Union Loop Diner", 48.60, 48.60, 0),
        ("2026-10-14", "MEALS", "Canal Street Deli", 22.40, None, 0),
        ("2026-10-14", "PARKG", "Wacker Drive Parking", 64.00, 64.00, 0),
        ("2026-10-14", "TRAIN", "Lakeview Lifting Academy", 298.18, 298.18, 0)]),
    ("ER-2026-0415", "00100094", "Seal supplier visit, 28 Sep - 2 Oct", "CP11-450", [
        ("2026-09-28", "AIRFR", "Prairie Air", 612.40, 612.40, 0),
        ("2026-09-28", "HOTEL", "Harborview Hotel", 912.00, 912.00, 4),
        ("2026-09-28", "MEALS", "Dockside Kitchen", 58.00, 58.00, 0),
        ("2026-09-29", "MEALS", "Old Mill Steakhouse", 96.00, 96.00, 0),
        ("2026-09-30", "MEALS", "Dockside Kitchen", 70.00, 70.00, 0),
        ("2026-10-01", "MEALS", "Pier Twelve Grill", 66.00, 66.00, 0),
        ("2026-10-02", "MEALS", "Airport Market", 26.00, 26.00, 0),
        ("2026-09-28", "CARRT", "Midway Car Rental", 402.00, 402.00, 0),
        ("2026-10-02", "FUEL", "Lakeshore Fuel", 76.00, 76.00, 0)]),
    ("ER-2026-0419", "00100231", "Safety boots and induction travel", "CP11-435", [
        ("2026-10-18", "HOTEL", "Rockford Inn", 199.00, 199.00, 1),
        ("2026-10-18", "MEALS", "Rock River Tavern", 41.25, 41.25, 0),
        ("2026-10-19", "BOOTS", "Forge Workwear", 189.00, 189.00, 0),
        ("2026-10-19", "PARKG", "Rockford Garage", 57.50, 57.50, 0)]),
]

# ------------------------------------------------------------------ card feed for the draft
# 00100142 at the hoist drive commissioning course, Milwaukee, 9-11 Nov 2026 (travel request TR-2026-0031).
# id, date, merchant, merchant category, description, amount
CARD = [
    ("C1", "2026-11-09", "Lakefront Suites Milwaukee", "lodging", "2 NIGHTS", 418.00),
    ("C2", "2026-11-09", "Third Ward Grill", "restaurant", "", 52.30),
    ("C3", "2026-11-10", "Third Ward Grill", "restaurant", "", 38.90),
    ("C4", "2026-11-10", "Harbor Coffee", "restaurant", "", 6.75),
    ("C5", "2026-11-10", "Kessel Training Center", "education", "COURSE FEE", 345.00),
    ("C6", "2026-11-10", "Riverwalk Steakhouse", "restaurant", "", 64.00),
    ("C7", "2026-11-10", "Kessel Training Center", "education", "COURSE FEE", 345.00),
    ("C8", "2026-11-11", "Lakefront Suites Milwaukee", "lodging", "MINIBAR", 18.50),
    ("C9", "2026-11-11", "Interstate Fuel Rockford", "fuel", "", 48.20),
]
RECEIPTS = {"C1": 418.00, "C2": 52.30, "C5": 345.00, "C6": 64.00, "C7": 345.00, "C9": 42.80}
TYPE_BY_CATEGORY = {"lodging": "HOTEL", "restaurant": "MEALS", "education": "TRAIN", "fuel": "FUEL"}
# "past behavior": descriptions this employee marked personal on earlier reports
PAST_PERSONAL = {"00100142": {"MINIBAR"}}
TRIP = {"person": "00100142", "request": "TR-2026-0031", "start": "2026-11-09", "end": "2026-11-11",
        "purpose": "Hoist drive commissioning course, Milwaukee"}


def money(x: float) -> str:
    return f"{x:,.2f}"


def draft_report() -> dict:
    """Build a draft the way the agent is described: collect transactions, fill fields."""
    p = TRIP["person"]
    entries = []
    for cid, d, merchant, cat, desc, amount in CARD:
        if not TRIP["start"] <= d <= TRIP["end"]:
            continue
        entries.append({
            "card_id": cid, "transactionDate": d,
            "expenseType": {"id": TYPE_BY_CATEGORY[cat]}, "vendor": merchant, "description": desc,
            "transactionAmount": {"value": amount, "currencyCode": "USD"},
            "receiptAmount": RECEIPTS.get(cid),
            "nights": 2 if desc == "2 NIGHTS" else 0,
            "isPersonalExpense": desc in PAST_PERSONAL.get(p, set()),
            "filledBy": "agent",
        })
    return {"report": "ER-2026-0431", "person": p, "name": TRIP["purpose"],
            "businessPurpose": f"{TRIP['purpose']} ({TRIP['request']})",
            "costCenter": HR_COST_CENTER[p], "approvalStatus": "Not Submitted", "entries": entries}


def review(report: dict) -> dict:
    """The employee's fixes after reading the check (what the agent cannot know)."""
    kept = []
    for e in report["entries"]:
        if e["card_id"] == "C7":          # double charge: disputed with the card issuer instead
            continue
        if e["card_id"] == "C3":          # paper receipt found in the jacket, photographed
            e = dict(e, receiptAmount=38.90)
        if e["card_id"] == "C9":          # pump receipt is fuel only; the car wash is personal
            car_wash = dict(e, card_id="C9b", expenseType={"id": "OTHER"}, receiptAmount=None,
                            transactionAmount={"value": 5.40, "currencyCode": "USD"},
                            isPersonalExpense=True, description="CAR WASH")
            e = dict(e, transactionAmount={"value": 42.80, "currencyCode": "USD"},
                     comment="card 48.20 = fuel 42.80 + car wash 5.40 (personal)")
            kept.extend([e, car_wash])
            continue
        kept.append(e)
    return dict(report, entries=kept)


def approved_reports() -> list:
    out = []
    for rep, p, purpose, cc, rows in APPROVED:
        out.append({"report": rep, "person": p, "name": purpose, "businessPurpose": purpose,
                    "costCenter": cc, "approvalStatus": "Approved", "entries": [
                        {"transactionDate": d, "expenseType": {"id": t}, "vendor": v,
                         "transactionAmount": {"value": a, "currencyCode": "USD"},
                         "receiptAmount": r, "nights": n, "isPersonalExpense": False}
                        for d, t, v, a, r, n in rows]})
    return out


def check(report: dict) -> list:
    """Return findings: (rule, severity, text). Mirrors a pre-submit audit, not an auditor."""
    f = []
    sev = {r[0]: r[2] for r in RULES}
    meals = defaultdict(float)
    seen = {}
    for e in report["entries"]:
        amt = e["transactionAmount"]["value"]
        tag = f"{e['transactionDate']} {e['vendor']} {money(amt)}"
        if e["isPersonalExpense"]:
            continue
        if amt > RECEIPT_LIMIT and e["receiptAmount"] is None:
            f.append(("P1", sev["P1"], f"{tag}: no receipt"))
        if e["receiptAmount"] is not None and abs(e["receiptAmount"] - amt) > 0.005:
            note = f" (comment: {e['comment']})" if e.get("comment") else ""
            f.append(("P5", sev["P5"], f"{tag}: receipt shows {money(e['receiptAmount'])}{note}"))
        key = (e["transactionDate"], e["vendor"], amt)
        if key in seen:
            f.append(("P4", sev["P4"], f"{tag}: same as an earlier line"))
        seen[key] = True
        t = e["expenseType"]["id"]
        if t == "MEALS":
            meals[e["transactionDate"]] += amt
        if t == "HOTEL" and e["nights"] and amt / e["nights"] > HOTEL_NIGHT + 0.005:
            f.append(("P3", sev["P3"], f"{tag}: {money(amt / e['nights'])} a night"))
        if t == "BOOTS" and amt > BOOTS:
            f.append(("P8", sev["P8"], f"{tag}: {money(amt - BOOTS)} above the allowance"))
        if e.get("description") == "MINIBAR":
            f.append(("P9", sev["P9"], f"{tag}: looks personal"))
    for d, total in sorted(meals.items()):
        if total > MEAL_DAY + 0.005:
            f.append(("P2", sev["P2"], f"{d} meals {money(total)}: {money(total - MEAL_DAY)} above the daily limit"))
    if report["costCenter"] not in OPEN_COST_CENTERS:
        f.append(("P6", sev["P6"], f"cost center {report['costCenter']} is closed"))
    if report["person"] not in PAYEES:
        f.append(("P7", sev["P7"], f"{report['person']} has no payee record in S/4HANA"))
    return f


def totals(report: dict) -> tuple:
    claimed = sum(e["transactionAmount"]["value"] for e in report["entries"] if not e["isPersonalExpense"])
    personal = sum(e["transactionAmount"]["value"] for e in report["entries"] if e["isPersonalExpense"])
    return round(claimed, 2), round(personal, 2)


def show_policy() -> None:
    print("Calder expense rules (course values), each with its policy sentence\n")
    for rid, sid, severity, what in RULES:
        print(f"  {rid}  {severity:8}  {what}")
        print(f"            from {sid}: {POLICY[sid]}")
    unused = sorted(set(POLICY) - {r[1] for r in RULES})
    print(f"\nPolicy sentences without a rule: {', '.join(unused) if unused else 'none'}")


def show_draft(report: dict) -> None:
    claimed, personal = totals(report)
    print(f"Draft {report['report']} for {report['person']}: {report['businessPurpose']}")
    print(f"  cost center {report['costCenter']} (from HR), status {report['approvalStatus']}\n")
    for e in report["entries"]:
        r = "no receipt" if e["receiptAmount"] is None else f"receipt {money(e['receiptAmount'])}"
        flag = "  personal (past behavior)" if e["isPersonalExpense"] else ""
        print(f"  {e['card_id']}  {e['transactionDate']}  {e['expenseType']['id']:5}  "
              f"{e['vendor']:28} {money(e['transactionAmount']['value']):>9}  {r}{flag}")
    print(f"\n  claimed {money(claimed)} USD, personal {money(personal)} USD (repaid by the employee)")


def show_check(reports: list) -> list:
    rows = []
    for rep in reports:
        f = check(rep)
        claimed, _ = totals(rep)
        blocking = sum(1 for x in f if x[1] == "blocking")
        verdict = "READY" if blocking == 0 else "FIX FIRST"
        print(f"{rep['report']}  {rep['person']}  {rep['costCenter']}  {money(claimed):>9} USD  "
              f"{verdict}  ({blocking} blocking, {len(f) - blocking} warnings)")
        for rule, s, text in f:
            print(f"    {rule} {s:8} {text}")
        rows.append({"report": rep["report"], "reportTotal": {"value": claimed, "currencyCode": "USD"},
                     "hasExceptions": bool(f), "hasBlockingExceptions": blocking > 0,
                     "findings": [{"rule": r, "severity": s, "text": t} for r, s, t in f]})
    return rows


def check_pack() -> None:
    if not PACK.exists():
        print("\n(suite pack not found: run unit14/make_suite_pack.py to compare totals)")
        return
    pack = {r["report"]: r["amount"] for r in json.loads(PACK.read_text(encoding="utf-8"))["reports"]}
    for rep in approved_reports():
        claimed, _ = totals(rep)
        ok = abs(pack.get(rep["report"], -1) - claimed) < 0.005
        print(f"  pack {rep['report']}: {'OK' if ok else 'MISMATCH'} {money(claimed)}")


def main() -> None:
    ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
    ap.add_argument("--policy", action="store_true")
    ap.add_argument("--draft", action="store_true")
    ap.add_argument("--check", action="store_true")
    ap.add_argument("--reviewed", action="store_true")
    ap.add_argument("--save", action="store_true")
    a = ap.parse_args()
    if not (a.policy or a.draft or a.check or a.reviewed):
        ap.print_help()
        return
    draft = draft_report()
    if a.policy:
        show_policy()
    if a.draft:
        show_draft(draft)
    rows = []
    if a.check or a.reviewed:
        current = review(draft) if a.reviewed else draft
        print(f"Pre-submit check, {'after the employee review' if a.reviewed else 'as drafted'}\n")
        rows = show_check(approved_reports() + [current])
        check_pack()
    if a.save:
        OUT.mkdir(exist_ok=True)
        (OUT / "draft_ER-2026-0431.json").write_text(json.dumps(draft, indent=2) + "\n", encoding="utf-8")
        if rows:
            (OUT / "precheck.json").write_text(json.dumps(rows, indent=2) + "\n", encoding="utf-8")
        print(f"\nSaved to {OUT}")


if __name__ == "__main__":
    main()

Step 3: Read the rules before you trust them

  1. Run:

    python unit14/expense_precheck.py --policy
  2. What success looks like: nine rules, each with the policy sentence it came from, and a last line saying no sentence is left without a rule.

Calder expense rules (course values), each with its policy sentence

  P1  blocking  receipt attached when the amount is above 25.00
            from S1: Attach an itemized receipt for every expense above 25.00 USD.
  P2  warning   meals per day at most 75.00
            from S2: Meals may not exceed 75.00 USD per person per day.
  ...
  P9  warning   personal card charges marked personal
            from S6: Personal charges on the corporate card are repaid, never reimbursed.

Policy sentences without a rule: none

This is the review a person does after a rule generator proposes rules: every rule points at a sentence, and every sentence has a rule.

Step 4: Draft the report from card charges

  1. Run:

    python unit14/expense_precheck.py --draft
  2. What success looks like:

Draft ER-2026-0431 for 00100142: Hoist drive commissioning course, Milwaukee (TR-2026-0031)
  cost center CP11-450 (from HR), status Not Submitted

  C1  2026-11-09  HOTEL  Lakefront Suites Milwaukee      418.00  receipt 418.00
  C2  2026-11-09  MEALS  Third Ward Grill                 52.30  receipt 52.30
  C3  2026-11-10  MEALS  Third Ward Grill                 38.90  no receipt
  C4  2026-11-10  MEALS  Harbor Coffee                     6.75  no receipt
  C5  2026-11-10  TRAIN  Kessel Training Center          345.00  receipt 345.00
  C6  2026-11-10  MEALS  Riverwalk Steakhouse             64.00  receipt 64.00
  C7  2026-11-10  TRAIN  Kessel Training Center          345.00  receipt 345.00
  C8  2026-11-11  HOTEL  Lakefront Suites Milwaukee       18.50  no receipt  personal (past behavior)
  C9  2026-11-11  FUEL   Interstate Fuel Rockford         48.20  receipt 42.80

  claimed 1,318.15 USD, personal 18.50 USD (repaid by the employee)

The draft picked the trip's card charges, set the expense type from the merchant category, took the cost center from HR, and marked the minibar personal because the electrician did so before. It didn't notice the double course fee or the missing receipt. That's the next gate's job.

Step 5: Run the pre-submit check

  1. Run:

    python unit14/expense_precheck.py --check
  2. What success looks like:

Pre-submit check, as drafted

ER-2026-0412  00100117  CP11-450     642.18 USD  READY  (0 blocking, 0 warnings)
ER-2026-0415  00100094  CP11-450   2,318.40 USD  READY  (0 blocking, 2 warnings)
    P3 warning  2026-09-28 Harborview Hotel 912.00: 228.00 a night
    P2 warning  2026-09-29 meals 96.00: 21.00 above the daily limit
ER-2026-0419  00100231  CP11-435     486.75 USD  FIX FIRST  (2 blocking, 1 warnings)
    P8 warning  2026-10-19 Forge Workwear 189.00: 39.00 above the allowance
    P6 blocking cost center CP11-435 is closed
    P7 blocking 00100231 has no payee record in S/4HANA
ER-2026-0431  00100142  CP11-450   1,318.15 USD  FIX FIRST  (2 blocking, 2 warnings)
    P1 blocking 2026-11-10 Third Ward Grill 38.90: no receipt
    P4 blocking 2026-11-10 Kessel Training Center 345.00: same as an earlier line
    P5 warning  2026-11-11 Interstate Fuel Rockford 48.20: receipt shows 42.80
    P2 warning  2026-11-10 meals 109.65: 34.65 above the daily limit
  pack ER-2026-0412: OK 642.18
  pack ER-2026-0415: OK 2,318.40
  pack ER-2026-0419: OK 486.75

Read it from finance's side. ER-2026-0419 is the report that couldn't post in hire-to-retire, and here it stops at gate one, before anyone approves it. The warnings on ER-2026-0415 travel to the approver: they are not errors, they are questions. The last three lines confirm the script's totals match the Unit 14 suite pack.

Step 6: Fix the draft as the employee would, and check again

  1. Run:

    python unit14/expense_precheck.py --reviewed --save
  2. What success looks like (only the changed report shown):

ER-2026-0431  00100142  CP11-450     967.75 USD  READY  (0 blocking, 1 warnings)
    P2 warning  2026-11-10 meals 109.65: 34.65 above the daily limit
...
Saved to C:\Users\you\orchestrate-course\unit14\expense_lab

The employee removed the double course fee (it goes to the card issuer as a dispute), photographed the missing receipt, and split the fuel charge into 42.80 of fuel and a 5.40 personal car wash. One warning stays: the meal total for 10 November. The employee submits, and the manager decides. The expense_lab folder now holds the draft and the check results as JSON.

Step 7: Save your work in Git

git add unit14/expense_precheck.py unit14/expense_lab
git commit -m "Unit 14: expense draft and pre-submit check"

What each part of the code does

Part What it does
POLICY, RULES Calder's policy as numbered sentences, and nine rules that each cite one sentence
OPEN_COST_CENTERS, PAYEES The two facts from finance that a travel-only check doesn't have
APPROVED The three reports from hire-to-retire, broken into entries that add up to the pack's totals
CARD, RECEIPTS, PAST_PERSONAL The electrician's card charges, the receipts he holds, and what he marked personal before
draft_report() The drafting stand-in: picks the trip's charges, sets type, cost center and personal flag
review() The employee's fixes, which the drafter couldn't know
check() The pre-submit check; returns findings marked blocking or warning
show_check() Prints the verdict and builds results with hasExceptions and hasBlockingExceptions, named after Concur's expense fields
check_pack() Compares totals with unit14/suite_pack/concur_expense_reports.json

If something goes wrong

What you see What it means What to do
python is not recognized / command not found Python isn't on your path or the environment is off Turn on .venv (Step 1); see the setup topic
No such file or directory: unit14/expense_precheck.py You are in the wrong folder Open orchestrate-course in VS Code and run from its terminal
suite pack not found The Unit 14 pack wasn't written Run python unit14/make_suite_pack.py, then this script again
pack ...: MISMATCH An amount in your script differs from the pack Re-paste the script; check you didn't edit APPROVED
Only the help text prints You ran it without an option Add --policy, --draft, --check or --reviewed
ModuleNotFoundError Not expected: the script uses built-in modules only Check you ran it with Python 3.10 or later from .venv
Network or proxy errors Not expected: the script makes no network calls If you see one, you are running a different file

The SAP way

As of 23 November 2026, from the sources in this topic:

Drafting: the Expense Automation Agent. Generally available per SAP's Q2 2026 highlights, covering releases from 1 April to 30 June 2026 (SAP News). SAP's figure is up to 30% shorter report completion time. The highlights don't state edition limits or whether it is Base or Premium AI; ask your account team.

Pre-submit: the Expense Pre-Submit Audit Agent. Announced in March 2026 in Early Adopter Care, with GA expected later in 2026 (SAP News). It is not named in the Q2 or Q3 highlights we read. Treat it as not generally available until an SAP page says so.

Setup: the policy rule generator. Early Adopter Care for Concur Travel per the Q2 highlights. The March news also mentions AI-based rule creation for Concur Expense and for Complete by SAP Concur and Amex GBT, without a status.

Approval and cards. The AI-assisted approval manager and AI-assisted corporate card management in Concur Expense are Early Adopter Care per the Q3 highlights (SAP News).

Travel. AI-assisted trip changes with Joule, travel filters and travel search in Concur Travel are generally available per the Q3 highlights.

Audit add-ons. Verify uses AI to review every report and needs the Verify add-on SKU (sap.com). Intelligent Audit combines human auditors with AI, needs its own add-on SKU, and its page says AI Units are currently required (sap.com). The two pages don't say whether they are the same offering under two names; ask SAP.

Joule in Microsoft 365 Copilot. Described as now available in March 2026 for reports, receipts, travel booking and policy guidance.

APIs, when you build beside Concur. The SAP Concur Developer Center documents the v4 expense APIs (Quick Expense, Reports, Expenses):

Need API and path Scope
Create an expense from a receipt or card line POST /quickexpense/v4/users/{userID}/context/TRAVELER/quickexpenses (or /image with the receipt) quickexpense.writeonly, user.read
Read a report GET /expensereports/v4/users/{userID}/context/{contextType}/reports/{reportId} expense.report.read
Read a report's entries GET .../reports/{reportId}/expenses expense.report.read
Reports waiting for a manager GET /expensereports/v4/users/{userId}/context/MANAGER/reportsToApprove expense.report.read

Requests go to a data-center host with a company or user access token. Quick Expense allows 120 requests per 5 minutes per user. The reports API requires the Identity v4 API, which the Expenses page describes as available only to approved early access partners. As the Unit 14 setup found, API access belongs to a customer's site or a sandbox it bought; this code is a sketch for learners without one.

# Sketch: needs a customer's Concur site, an app registration and a user token.
# Not runnable without that access. Shows how a pre-check could read the entry flags.
import os
import requests

HOST = os.environ["CONCUR_HOST"]          # the data-center host for the customer's site
TOKEN = os.environ["CONCUR_USER_TOKEN"]   # never put tokens in code
user, report = os.environ["CONCUR_USER_ID"], os.environ["CONCUR_REPORT_ID"]
url = f"https://{HOST}/expensereports/v4/users/{user}/context/TRAVELER/reports/{report}/expenses"
r = requests.get(url, headers={"Authorization": f"Bearer {TOKEN}"}, timeout=10)
r.raise_for_status()
for e in r.json():
    print(e["expenseId"], e["transactionAmount"], e["hasExceptions"], e["hasBlockingExceptions"])

Build vs. SAP

Situation Use SAP's feature Build beside Concur
Draft reports from card data Expense Automation Agent (GA) Rarely: the card feed and receipts already live in Concur
Check policy before submit Concur's rules, and the Pre-Submit Audit Agent when available to you Only for checks Concur can't see, such as S/4HANA cost center and payee status
Audit every report Verify or Intelligent Audit Not worth it: audit needs the data and history Concur holds
Turn policy text into rules Rule generator, with review A local traceability check like this topic's --policy
Expense insight across Concur and S/4HANA Concur reporting and S/4HANA analytics A small report joining both, if no standard one exists
Chat access Joule, including in Microsoft 365 Copilot A custom agent only for company-specific steps Joule doesn't cover

The honest default is to buy. Build only the joins that SAP's products don't make, and make them as checks, not as a second expense system.

Architecture view

Where it sits. Concur is a separate SaaS service beside Calder's S/4HANA system for CP10. Cost centers and project codes flow from S/4HANA to Concur; approved reports flow back as postings, as described in hire-to-retire. Employees come from SuccessFactors Employee Central. The card feed arrives from the card issuer. The AI features run inside Concur; Joule reaches them from Microsoft 365.

flowchart LR
  EC[SuccessFactors<br/>Employee Central] -->|employees| CON[SAP Concur<br/>Travel and Expense]
  BANK[Card issuer] -->|card feed| CON
  S4[S/4HANA CP10] -->|cost centers| CON
  CON -->|approved reports| S4
  M365[Microsoft 365<br/>Copilot] -->|Joule| CON

Non-functional requirements.

Requirement Typical target What breaks if missed
Privacy Expense details visible only to the employee, approver, auditors and expense team Trips and meals become an HR or works council issue
Master data freshness Cost centers in Concur within a day of a change in S/4HANA Reports pass Concur and fail posting, like ER-2026-0419
Reimbursement time Days from submission to payment agreed with HR Employees carry company costs on their own cards
Auditability Every AI-proposed rule and every override traceable Nobody can explain why a claim was paid
Cost AI Units and add-on SKUs budgeted per year A pilot that works but can't be paid for

Integration and identity. How employees sign in to Concur is set up per customer; confirm it with the customer's identity team. The cost center feed and the posting back run through SAP's standard integration with Concur. A custom check that reads Concur uses the v4 APIs with a token scoped to read reports, and reads S/4HANA's cost centers through a released API; it never writes to either.

The decision to record.

  • Context: Calder's reports pass Concur's rules and then fail posting on closed cost centers and missing payees.
  • Options: 1 wait for the Pre-Submit Audit Agent; 2 fix the cost center feed's schedule and add a daily read-only check that compares Concur's open cost centers and employees with S/4HANA; 3 build a custom pre-submit service.
  • Decision: option 2 now, review option 1 when SAP publishes the agent's GA.
  • Consequences: finance owns the daily check; no custom code inside Concur; the check's findings go to the expense team, not to employees.

What a design review will ask.

  1. Which of the AI features are GA in our region and edition, and which are Base or Premium AI?
  2. Who reviews generated policy rules, and where is the review recorded?
  3. How does a cost center closed in S/4HANA reach Concur, and how fast?
  4. What expense data leaves Concur for any AI service, and under which terms?
  5. What is the fallback when the agent is unavailable: can employees still build reports by hand?

Production concerns

  • Security and authorizations. Approvers see only their team's reports; auditors see what audit needs. Any custom check uses a read-only scope (expense.report.read), and tokens live in a secrets store, never in code.
  • Privacy. Agree with the privacy officer, and the works council where one exists, which AI features process expense data and how employees are told. "Past behavior" means the agent learns from an employee's history; employees should be able to see and correct it.
  • Evaluation. Measure before and after: report build time, share of reports sent back, blocking exceptions per report, days to reimbursement, and audit findings per 100 reports.
  • Cost. Add-ons have their own SKUs, and the Intelligent Audit page says AI Units are currently required. Put both in the business case.
  • Operations. Keep the cost center and employee feeds on a schedule finance trusts; most posting failures start there, not in the AI.
  • Clean core. Nothing here changes S/4HANA. Checks read released APIs; postings use SAP's standard integration.

Pitfalls

  • Promising Early Adopter Care features as if they were GA. Check status on SAP pages, with the date, before a steering committee.
  • Trusting a generated rule because the policy text was yours. Review each rule against its sentence, as --policy does.
  • Treating warnings as errors. If every warning blocks, employees learn to split receipts to get under limits.
  • Ignoring finance's master data. Concur can't know a cost center is closed unless the feed tells it.
  • Letting the draft decide what is personal. The agent's guess from past behavior is a proposal; the employee owns the claim.
  • Building a second expense system. Custom code belongs in narrow checks and joins, not in drafting or audit.

Exercise

Calder adds a policy sentence: reports must be submitted within 30 days of the trip's last day.

  1. In POLICY, add "S9": "Submit reports within 30 days of the trip's last expense."
  2. In RULES, add ("P10", "S9", "warning", "submitted within 30 days of the last expense").
  3. Add a constant LAB_DATE = "2026-11-23" near the other limits.
  4. In check(), after the loop, find the latest transactionDate in the report. Use datetime.date.fromisoformat to count the days to LAB_DATE. If it is more than 30, add a P10 warning that says how many days.
  5. Run python unit14/expense_precheck.py --policy. The last line must still say none.
  6. Run python unit14/expense_precheck.py --reviewed --save.

Done when: --policy lists P10 from S9 with no sentence left without a rule; --reviewed shows P10 warnings of 40 days on ER-2026-0412, 52 days on ER-2026-0415 and 35 days on ER-2026-0419, none on ER-2026-0431; and unit14/expense_lab/precheck.json holds the new findings. Keep the file: the SAP Build Process Automation topic routes approvals, and these findings are the kind of input such a workflow reads.

Check yourself

Pick one answer for each question. The explanation appears after you choose.

1In the three-gate model, why should a closed cost center be caught at the pre-submit gate?

Answer: C. A check at the first gate stops the report while the employee can change it. Calder's ER-2026-0419 shows the cost of finding it only at posting.

2Concur's Expenses v4 API marks each entry with two flags. What does hasBlockingExceptions tell you that hasExceptions does not?

Answer: A. hasExceptions says something was flagged; hasBlockingExceptions says a flag stops the report. The lab mirrors the same split with blocking findings and warnings.

3In the lab, why did the draft mark the minibar charge personal but miss the double course fee?

Answer: C. draft_report() only copies charges and applies what the employee marked personal before. Spotting duplicates is the pre-submit check's job, rule P4.

4What does the --policy step stand in for when a rule generator is used?

Answer: C. The check prints each rule with its sentence and lists sentences without a rule. That is the review that keeps a misread sentence from becoming a live limit.

5A customer wants a custom service that audits every Concur report with an LLM. What is the strongest advice?

Answer: B. SAP sells add-ons that check every report, one with human auditors. Custom work pays off only for checks that need data Concur lacks, such as S/4HANA's cost center status.

6Your custom check must read reports from a customer's Concur site. Which setup is right?

Answer: D. The check only reads, so it should hold only the read scope, and tokens never go in code. Concur API access belongs to the customer's site or a sandbox the customer bought.

7The Pre-Submit Audit Agent appears in a customer's roadmap slide as "live in January". What do you do first?

Answer: A. In March 2026 it was Early Adopter Care with GA expected later, and the Q2 and Q3 highlights don't name it. Status must come from a dated SAP source before anyone plans a go-live.
NextSAP CX and sales AIKnow what AI SAP ships for sales and service as of November 2026, which product each feature needs, how ready it is, and when Calder should use, wait or build.

Sources

  • SAP Showcases New AI Capabilities, Integrated Travel and Expense Enhancements, and Global Partnerships at SAP Concur Fusion 2026 (SAP News, 17 March 2026) — Read 2026-11-23. Expense Automation Agent drafts reports; Expense Pre-Submit Audit Agent validates receipts and flags discrepancies before submission; both then in SAP Early Adopter Care with GA expected later in 2026. AI-based rule creation for policy rules in Concur Travel, Concur Expense and Complete by SAP Concur and Amex GBT (no timing). Joule and Microsoft 365 Copilot integration 'now available' for creating and submitting reports, uploading receipts, booking travel and policy guidance. Visa real-time notifications planned through Early Adopter Care in Q3 2026
  • SAP Business AI: Release Highlights Q2 2026 (SAP News, 20 July 2026) — Read 2026-11-23. Covers 1 April to 30 June 2026. Expense Automation Agent generally available: drafts expense reports from transactions, context and past behavior, employee reviews before submitting. Concur Travel AI-assisted policy rule generator in SAP Early Adopter Care: administrators paste policy text, it proposes rule classes and rules, applied through a wizard
  • AI Release Highlights Q3 2026 (SAP News, 26 October 2026) — Read 2026-11-23, page partly truncated (Concur items from the later part of the page). Covers releases since 1 July 2026. Concur Travel AI-assisted trip changes with Joule, travel filters and travel search generally available; Concur Expense AI-assisted approval manager and AI-assisted corporate card management in SAP Early Adopter Care
  • Concur Expense, Intelligent Audit (sap.com) — Read 2026-11-23. Human auditors combined with AI; each expense checked against date, amount, vendor, expense type and receipt clarity; duplicates, errors, out-of-policy spend; Intelligent Audit add-on SKU required; AI Units currently required; 'Activate with AI Units'
  • Automate expense audits with AI: Concur Expense, Verify (sap.com) — Read 2026-11-23. Verify uses AI to review every expense report for errors, policy violations and duplicates; requires the Verify add-on SKU; auditors focus on high-risk items
  • Quick Expense v4 (SAP Concur Developer Center) — Read 2026-11-23. POST /quickexpense/v4/users/{userID}/context/TRAVELER/quickexpenses (and /image); scopes quickexpense.writeonly and user.read; fields expenseTypeId, transactionDate, transactionAmount; 120 requests per 5 minutes per user; Company or User access token
  • Reports v4 (SAP Concur Developer Center) — Read 2026-11-23. /expensereports/v4/users/{userID}/context/{contextType}/reports; scopes expense.report.read and expense.report.readwrite; fields reportTotal, approvalStatus, policyId, businessPurpose, concurAuditStatus; requires the Identity v4 API
  • Expenses v4 (SAP Concur Developer Center) — Read 2026-11-23. Expense entries on a report; fields expenseType, transactionDate, transactionAmount, approvedAmount, hasExceptions, hasBlockingExceptions, receiptImageId, isPersonalExpense; Identity v4 described as early access for approved partners

Sign in to track your progress

We'll email you a one-time sign-in link. No password needed.

or

Tell us a little about you

Optional, every field. It helps us pitch answers to your questions at the right level and decide which topics to write next. It is never shown publicly, and you can change or clear it anytime from the account menu.

SAP areas you work in