Symptom
Error M8356 "Baseline date for payment does not exist" occurs when using API "Supplier Invoice - Create, Read, Release, Reverse" - API_SUPPLIERINVOICE_PROCESS_SRV to create credit memo.
Environment
S/4HANA Cloud system all version
Reproducing the Issue
Use API "Supplier Invoice - Create, Read, Release, Reverse" to create credit memo.
Sample URL /sap/opu/odata/SAP/API_SUPPLIERINVOICE_PROCESS_SRV/A_SupplierInvoice
Cause
The baseline date for credit memo is not maintained in payload.
Resolution
Regarding the API API_SUPPLIERINVOICE_PROCESS_SRV, there are 3 possibilities to fill the baseline date for credit memo.
1) Fill parameter baseline date (DueCalculationBaseDate) during call of API.
2) Fill parameter payment terms (PaymentTerms) during call of API.
3) When you post a credit memo via the API and you do not maintain the payment terms in the payload, system will determine the credit memo payment terms of the supplier. You can maintain the "Credit Memo Payment Terms" field for the supplier via app "Maintain Business Partner".
Keywords
M8356, credit memo, API_SUPPLIERINVOICE_PROCESS_SRV, baseline date, payment terms, Credit Memo Payment Terms, Maintain Business Partner, DueCalculationBaseDate, PaymentTerms , KBA , MM-FIO-IV , Fiori UI for Invoice Verification , Problem