SAP Knowledge Base Article - Public

3743304 - Error "Only combination of reason code with payment differences supported" during API clearing

Symptom

  • Error message (FDC_POSTING_001 012) Only combination of reason code with payment differences supported when using the API Journal Entry – Clearing (Asynchronous)

Environment

SAP S/4HANA Public Cloud 

Reproducing the Issue

  1. Executing a Journal Entry – Clearing (Asynchronous) API payload from a target system. 
  2. Within the Payload their are <APAR> items defined as follows;

    <APARItems>
    <ReferenceDocumentItem>1</ReferenceDocumentItem>
    <CompanyCode>TEST</CompanyCode>
    <AccountType>D</AccountType>
    <APARAccount>1000000</APARAccount>
    <FiscalYear>2026</FiscalYear>
    <AccountingDocument>1000000000</AccountingDocument>
    <AccountingDocumentItem>1</AccountingDocumentItem>
    <OtherDeductionAmountInDspCrcy currencyCode="USD">0</OtherDeductionAmountInDspCrcy>
    <PaymentDifferenceReason>XXX</PaymentDifferenceReason>
    </APARItems>
  3. Send or Request the payload to the target system.
  4. The response payload contains error (FDC_POSTING_001 012) Only combination of reason code with payment differences supported. Alternatively the error can be seen in the message dashboard app (AIF Monitor)

Cause

  • Value of 0 is not supported in node <OtherDeductionAmountInDspCrcy currencyCode="***">0</OtherDeductionAmountInDspCrcy>
  • If the Reason Code is maintained within the payload that the value for field OtherDeductionAmountInDspCrcy cannot be 0.  If this is attribute or field is 0 the error message will be raised. 

Resolution

Maintain a value other than 0 in node <OtherDeductionAmountInDspCrcy currencyCode="INR">0</OtherDeductionAmountInDspCrcy>

  1. Executing a Journal Entry – Clearing (Asynchronous) API payload from a target system. 
  2. Within the Payload their are <APAR> items defined as follows;

    <APARItems>
    <ReferenceDocumentItem>1</ReferenceDocumentItem>
    <CompanyCode>TEST</CompanyCode>
    <AccountType>D</AccountType>
    <APARAccount>1000000</APARAccount>
    <FiscalYear>2026</FiscalYear>
    <AccountingDocument>1600000000</AccountingDocument>
    <AccountingDocumentItem>1</AccountingDocumentItem>
    <OtherDeductionAmountInDspCrcy currencyCode="USD">-100</OtherDeductionAmountInDspCrcy>
    <PaymentDifferenceReason>XXX</PaymentDifferenceReason>
    </APARItems>

  3. The error is no longer prompted within the payload.

See Also

Residual Items with Payment Differences

APARItems

A Simplified Guide to Effectively Use the Clearing API

Keywords

SAP_COM_0002, JE Clear, Residual, Accounts Payable, Accounts Receivable, BSEG-RSTGR, RSTGR, Write-Off, /FINAC, FINAC_RECT_JECLEARING_IN  , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions