SAP Knowledge Base Article - Public

3359492 - Withholding tax base amount incorrect with API_SUPPLIERINVOICE_PROCESS_SRV/A_SupplierInvoice

Symptom

After the creation of the supplier invoice with API_SUPPLIERINVOICE_PROCESS_SRV, the withholding tax base amount ("WithholdingTaxBaseAmount") is 100 times more than in the payload file.

Environment

SAP S/4HANA Cloud (All Versions)

Cause

Withholding tax document currency is blank, and system cannot interpret the entered withholding tax base amount.

Resolution

The document currency ("DocumentCurrency") within the withholding part of the API has to be filled.

"to_SupplierInvoiceWhldgTax": {

    "results": [

      {

        "WithholdingTaxType": "st",

        "DocumentCurrency": "strin",

        "WithholdingTaxCode": "st",

        "WithholdingTaxBaseAmount": "0",

        "ManuallyEnteredWhldgTaxAmount": "0"

      }

See Also

SAP Business Accelerator Hub: API Supplier Invoice

SAP Help Portal : API's - Operations for Supplier Invoice

Keywords

API_SUPPLIERINVOICE_PROCESS_SRV/A_SupplierInvoice, WTH tax base, Withholding tax base amount, Invoice creation with API, payload file, Supplier Invoice , KBA , MM-FIO-IV , Fiori UI for Invoice Verification , Problem

Product

SAP S/4HANA Cloud all versions