SAP Knowledge Base Article - Public

3472455 - Payment terms discount amount is not displayed in the API "CO_EDI_INVOICE_REQUEST_OUT"

Symptom

Payment terms discount amount is not displayed in the "CO_EDI_INVOICE_REQUEST_OUT". The field "discount amount" will not show up either in the payment term structure as expected or in the item pricing elements.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Output a billing document that has payment terms including a discount using the API "CO_EDI_INVOICE_REQUEST_OUT"
  2. Check the output document
  3. Payment terms discount amount is not displayed

Cause

This is the standard system behavior. For the two scenarios mentioned in the "Symptom" part:

    Scenario 1: A field called "term discount amount" is expected to appear in the payment term structure.

    The field 'term discount amount' is by design not available in CO_EDI_INVOICE_REQUEST_OUT. Hence, it is not supported to display the discount amount in CO_EDI_INVOICE_REQUEST_OUT. 

    Scenario 2: Discount amount is expected to be shown in the item pricing elements.

    Discount amount condition is not displayed during billing process. The API will not include or send it out. 

    Resolution

    According to the "Cause" part, it is recommended to raise a feature request in the SAP Customer Influence Portal.  

    See Also

    Help Portal - Sales billing - Customer Invoice - Send (B2B)

    API Hubs

    Keywords

    payment terms, discount amount, CO_EDI_INVOICE_REQUEST_OUT, term discount amount, payment term structure, pricing elements,  , KBA , SD-BIL-EXT-2CL , SD Billing Extensibility (Public Cloud) , Problem

    Product

    SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions