SAP Sales and Distribution (SD) · Arazzo Workflow

SAP SD Debit Memo Intake

Version 1.0.0

Create a debit memo request, read it back, then list its items.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub DistributionERPODataS/4HANASalesSAPArazzoWorkflows

Provider

sap-sales-and-distribution-sd

Workflows

debit-memo-intake
Create a debit memo request and review its items.
Creates a debit memo request, retrieves it, and lists its items.
3 steps inputs: csrfToken, debitMemoRequestType, distributionChannel, material, organizationDivision, requestedQuantity, salesOrganization, sdDocumentReason, soldToParty outputs: debitMemoRequest, items
1
createRequest
Create a debit memo request with one deep-inserted item for the sold-to party.
2
getRequest
Read the created debit memo request back to confirm it persisted.
3
listItems
List the debit memo request items to review the charged lines.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SAP SD Debit Memo Intake
  summary: Create a debit memo request, read it back, then list its items.
  description: >-
    Records a debit memo request in SAP Sales and Distribution to bill a
    customer for an additional charge. The workflow creates a debit memo
    request with a deep-inserted item, reads it back to confirm it persisted,
    and lists its items so the charged lines can be reviewed. Each step inlines
    its OData request so the flow reads and runs without opening the underlying
    OpenAPI descriptions. The creation POST requires an X-CSRF-Token header
    supplied as a workflow input.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-200.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-200.30
      capability_name: Accounts Receivable Management
      spec: sap-sales-and-distribution-sd-debit-memo-request-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: debitMemoRequestApi
  url: ../openapi/sap-sales-and-distribution-sd-debit-memo-request-api-openapi.yml
  type: openapi
- name: debitMemoRequestItemApi
  url: ../openapi/sap-sales-and-distribution-sd-debit-memo-request-item-api-openapi.yml
  type: openapi
workflows:
- workflowId: debit-memo-intake
  summary: Create a debit memo request and review its items.
  description: >-
    Creates a debit memo request, retrieves it, and lists its items.
  inputs:
    type: object
    required:
    - csrfToken
    - debitMemoRequestType
    - salesOrganization
    - soldToParty
    - material
    - requestedQuantity
    properties:
      csrfToken:
        type: string
        description: X-CSRF-Token fetched from the OData service for write operations.
      debitMemoRequestType:
        type: string
        description: Debit memo request document type (e.g. DR).
      salesOrganization:
        type: string
        description: Sales organization.
      distributionChannel:
        type: string
        description: Distribution channel.
      organizationDivision:
        type: string
        description: Division.
      soldToParty:
        type: string
        description: Sold-to party customer number to be debited.
      sdDocumentReason:
        type: string
        description: Order reason explaining the debit memo request.
      material:
        type: string
        description: Material for the debit memo request item.
      requestedQuantity:
        type: string
        description: Quantity for the debit memo request item.
  steps:
  - stepId: createRequest
    description: >-
      Create a debit memo request with one deep-inserted item for the sold-to
      party.
    operationId: createDebitMemoRequest
    parameters:
    - name: X-CSRF-Token
      in: header
      value: $inputs.csrfToken
    requestBody:
      contentType: application/json
      payload:
        DebitMemoRequestType: $inputs.debitMemoRequestType
        SalesOrganization: $inputs.salesOrganization
        DistributionChannel: $inputs.distributionChannel
        OrganizationDivision: $inputs.organizationDivision
        SoldToParty: $inputs.soldToParty
        SDDocumentReason: $inputs.sdDocumentReason
        to_Item:
          results:
          - Material: $inputs.material
            RequestedQuantity: $inputs.requestedQuantity
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      debitMemoRequest: $response.body#/d/DebitMemoRequest
  - stepId: getRequest
    description: Read the created debit memo request back to confirm it persisted.
    operationId: getDebitMemoRequest
    parameters:
    - name: DebitMemoRequest
      in: path
      value: $steps.createRequest.outputs.debitMemoRequest
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      debitMemoRequest: $response.body#/d/DebitMemoRequest
  - stepId: listItems
    description: List the debit memo request items to review the charged lines.
    operationId: listDebitMemoRequestItems
    parameters:
    - name: DebitMemoRequest
      in: path
      value: $steps.getRequest.outputs.debitMemoRequest
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      items: $response.body#/d/results
  outputs:
    debitMemoRequest: $steps.getRequest.outputs.debitMemoRequest
    items: $steps.listItems.outputs.items

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-sales-and-distribution-sd-debit-memo-intake-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.