SAP Concur Expense · Arazzo Workflow

SAP Concur Find Pending Report Detail

Version 1.0.0

List reports pending approval, then read the first one in full detail.

1 workflow 1 source API 1 provider
View Spec View on GitHub Expense ManagementFinancial ManagementReceiptsReimbursementReportingSAPTravelArazzoWorkflows

Provider

sap-concur-expense

Workflows

find-pending-report-detail
List pending-approval reports and read the first in detail.
Lists reports filtered by an approval status code and fetches the first returned report's full header.
2 steps inputs: approvalStatusCode, limit outputs: firstReportID, hasException, total
1
listReports
List reports filtered by the supplied approval status code.
2
getReport
Read the first matching report's full header.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SAP Concur Find Pending Report Detail
  summary: List reports pending approval, then read the first one in full detail.
  description: >-
    A triage flow for approvers and finance reviewers. It lists expense reports
    filtered to a pending approval status, then reads the first matching report
    in full to surface its owner, total, and exception flag. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: expenseReportsApi
  url: ../openapi/sap-concur-expense-expense-reports-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-pending-report-detail
  summary: List pending-approval reports and read the first in detail.
  description: >-
    Lists reports filtered by an approval status code and fetches the first
    returned report's full header.
  inputs:
    type: object
    required:
    - approvalStatusCode
    properties:
      approvalStatusCode:
        type: string
        description: >-
          Approval status code to filter on (e.g. A_PEND for pending approval,
          A_APPR for approved).
      limit:
        type: integer
        description: Maximum number of reports to return (max 100).
  steps:
  - stepId: listReports
    description: List reports filtered by the supplied approval status code.
    operationId: listExpenseReports
    parameters:
    - name: approvalStatusCode
      in: query
      value: $inputs.approvalStatusCode
    - name: limit
      in: query
      value: $inputs.limit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstReportID: $response.body#/Items/0/ID
      reports: $response.body#/Items
    onSuccess:
    - name: hasReports
      type: goto
      stepId: getReport
      criteria:
      - context: $response.body
        condition: $.Items.length > 0
        type: jsonpath
    - name: noReports
      type: end
      criteria:
      - context: $response.body
        condition: $.Items.length == 0
        type: jsonpath
  - stepId: getReport
    description: Read the first matching report's full header.
    operationId: getExpenseReport
    parameters:
    - name: id
      in: path
      value: $steps.listReports.outputs.firstReportID
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ownerName: $response.body#/OwnerName
      total: $response.body#/Total
      hasException: $response.body#/HasException
  outputs:
    firstReportID: $steps.listReports.outputs.firstReportID
    total: $steps.getReport.outputs.total
    hasException: $steps.getReport.outputs.hasException

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/sap-concur-expense-find-pending-report-detail-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.