SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Automate Balance Confirmation Workflows in Financial Accounting with a Custom Joule Agent

Overview

🎓 beginner ⏱ 20 min. JouleBeginner

You will learn

  • ✔How to recognise Finance workflows that are well-suited for agent automation
  • ✔How to write a focused intent statement for a balance confirmation processing agent
  • ✔How to review and validate a Joule Studio Idea Board - including reflected intent, problem statement, goals, and recommended solution
  • ✔How the generated Product Requirements Document (PRD) defines automation level, LLM boundaries, and operational guardrails
  • ✔How Joule Studio structures a solution using separate MCP servers per SAP OData API
  • ✔How to interpret the results of an automated validation suite before deployment
  • ✔How to deploy a production-ready agent to the SAP managed runtime service
Samir Hamichi S Samir Hamichi October 2, 2026
Created on October 2, 2026
Contributors

More from Samir Hamichi

See all 5 tutorials by Samir Hamichi →

Prerequisites

  • Access to SAP Joule Studio (SAP BTP tenant with Joule Studio enabled)
  • Access to an SAP S/4HANA Cloud system with live business partner, GL account, and accounting document data
  • Basic familiarity with Financial Accounting (FI) processes, in particular period-end and year-end closing activities
  • An SAP BTP subaccount with SAP AI Core and SAP Generative AI Hub entitlements

Steps

Intro

IMPORTANT

Welcome to the Agent lab

You are working with a pre-release version of the Joule Studio. This gives you an early look at our upcoming capabilities. Please keep the following in mind:

  • Features are subject to change: The UI, terminology, and functionality you see may differ from the final product.
  • Educational use only: This environment is designed for learning and experimentation, not for production use.
  • Potential instability: As a preview version, you may encounter occasional instability or unexpected behavior.

At period-end and year-end, Finance teams face a predictable but demanding task: responding to balance confirmation requests from customers and vendors. Requests arrive through multiple channels - email, postal letter, or a portal - in inconsistent formats, at peak volume, and with high compliance stakes. An incorrect or delayed response risks both audit exposure and damaged business relationships.

In this tutorial, you follow Selina, a Finance professional at fictional company RaiLona Inc., as she uses SAP Joule Studio to build a custom AI agent that automates this workflow end-to-end. You will move through all six phases of the Joule Studio intent-based development process - from a plain-language intent statement through to a deployed Python agent integrated with SAP S/4HANA Cloud, SAP AI Core, and SAP BTP.

About the example company: RaiLona Inc. is a fictional enterprise used throughout this tutorial to illustrate a realistic Finance scenario. All names, figures, and system configurations are illustrative.

What makes Finance workflows good candidates for agent automation? Selina has identified a clear pattern in her team’s work: the highest-effort manual workflows are triggered by predictable events, depend on live SAP S/4HANA data, follow deterministic processing logic, and require professional, traceable output. Balance confirmations match all four criteria - making them an ideal starting point.


Step 1 Understand the Business Challenge
—

Before building the agent, it is important to understand the problem it must solve. This#describes the three types of balance confirmation request the Finance team handles, and the manual pain points the agent will eliminate.

Three types of balance confirmation request

Business partners submit balance confirmation requests through different channels, and the content of each request varies considerably. The Finance team at RaiLona typically encounters three distinct request types:

TypeDescription
Verification requestThe business partner sends an existing balance confirmation and asks RaiLona to verify it against its own records.
Balance list requestThe business partner requests that RaiLona provide a full balance list as of a specific reference date.
Exception-only requestThe business partner requests a response only if discrepancies exist between their submitted figures and RaiLona’s records.

Current pain points

The manual handling of these three request types creates the following well-understood operational challenges:

  • Tool-switching overhead - Finance staff must switch between communication channels, ERP transactions, and document editors to complete a single request.
  • Time-consuming lookups - Manual lookup and comparison of open items is slow, particularly at period-end when request volumes peak.
  • Inconsistent response letters - Drafting letters by hand introduces variability in tone, format, and legal language across responses.
  • Fragmented audit trail - Tracking open requests and maintaining a complete audit trail requires additional manual effort outside the core workflow.
  • Partner follow-up load - Delayed or incomplete responses prompt follow-up inquiries from business partners, adding to the team’s workload.

The agent you build in this tutorial eliminates all five pain points by automating ingestion, classification, reconciliation, and letter generation - with human review required only for discrepancy and dispute cases.


Step 2 Open Joule Studio and Define the Agent Intent
+
Step 3 Review the Product Requirements Document
+
Step 4 Inspect the Generated Specification
+
Step 5 Generate the Solution
+
Step 6 Validate the Agent with Automated Tests
+
Step 7 Deploy the Agent to Production
+
Step 8 Summary
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Understand the Business Challenge 2. Open Joule Studio and Define the Agent Intent 3. Review the Product Requirements Document 4. Inspect the Generated Specification 5. Generate the Solution 6. Validate the Agent with Automated Tests 7. Deploy the Agent to Production 8. Summary