SAP Concur Expense · Arazzo Workflow

SAP Concur Report Status Check

Version 1.0.0

Retrieve a report and branch on whether it has been paid or is still pending.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Expense ManagementFinancial ManagementReceiptsReimbursementReportingSAPTravelArazzoWorkflows

Provider

sap-concur-expense

Workflows

report-status-check
Read a report and branch on its payment status.
Fetches a report header and, depending on its payment status code, either ends or lists payment batches to locate the report in the reimbursement run.
2 steps inputs: reportID outputs: approvalStatusCode, paymentBatches, paymentStatusCode
1
getReport
Read the report header to inspect approval and payment status.
2
listBatches
List payment batches to locate the report in the reimbursement pipeline.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SAP Concur Report Status Check
  summary: Retrieve a report and branch on whether it has been paid or is still pending.
  description: >-
    A monitoring flow that reads an expense report header and inspects its
    payment status. When the report has been paid it ends, surfacing the payment
    processing date. When the report is not yet paid it lists open payment
    batches so a caller can see where the report sits in the reimbursement
    pipeline. 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
- name: paymentBatchesApi
  url: ../openapi/sap-concur-expense-payment-batches-api-openapi.yml
  type: openapi
workflows:
- workflowId: report-status-check
  summary: Read a report and branch on its payment status.
  description: >-
    Fetches a report header and, depending on its payment status code, either
    ends or lists payment batches to locate the report in the reimbursement run.
  inputs:
    type: object
    required:
    - reportID
    properties:
      reportID:
        type: string
        description: The expense report ID to check.
  steps:
  - stepId: getReport
    description: Read the report header to inspect approval and payment status.
    operationId: getExpenseReport
    parameters:
    - name: id
      in: path
      value: $inputs.reportID
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentStatusCode: $response.body#/PaymentStatusCode
      approvalStatusCode: $response.body#/ApprovalStatusCode
      processingPaymentDate: $response.body#/ProcessingPaymentDate
    onSuccess:
    - name: alreadyPaid
      type: end
      criteria:
      - context: $response.body
        condition: $.PaymentStatusCode == "P_PAID"
        type: jsonpath
    - name: notYetPaid
      type: goto
      stepId: listBatches
      criteria:
      - context: $response.body
        condition: $.PaymentStatusCode != "P_PAID"
        type: jsonpath
  - stepId: listBatches
    description: List payment batches to locate the report in the reimbursement pipeline.
    operationId: listPaymentBatches
    parameters:
    - name: limit
      in: query
      value: 25
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentBatches: $response.body#/PaymentBatches
  outputs:
    paymentStatusCode: $steps.getReport.outputs.paymentStatusCode
    approvalStatusCode: $steps.getReport.outputs.approvalStatusCode
    paymentBatches: $steps.listBatches.outputs.paymentBatches

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-report-status-check-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.