Symptom
- An error occurs when posting a supplier credit memo/note from Coupa to the system via API.
- Error message: "Baseline date for payment does not exist".
- API call fails with HTTP 400 and message M8 356 (M8/356).
Environment
- SAP S/4HANA Cloud Public Edition
- Logistics Invoice Verification (Public Cloud)
Reproducing the Issue
- Post a supplier credit memo/note from Coupa using API_SUPPLIERINVOICE_PROCESS_SRV.
- Observe the API rejection with HTTP 400 and error "Baseline date for payment does not exist".
Cause
- The API request does not provide DueCalculationBaseDate and does not provide PaymentTerms, requiring the system to derive the baseline date from supplier data.
- Supplier payment terms are missing or configured to have no default baseline date, so the system cannot determine a baseline date and raises message M8 356.
- For credit memos, if the invoice reference does not resolve to a posted invoice and the separate “Credit Memo Payment Terms” on the supplier is not maintained, the system cannot derive a baseline date and the same error occurs.
Resolution
- For referenced credit memos, ensure the payload includes InvoiceReference and InvoiceReferenceFiscalYear that resolve to a posted invoice so the credit memo inherits baseline date and payment terms automatically.
- For unreferenced credit memos and invoices, populate DueCalculationBaseDate in the API payload; optionally also send PaymentTerms to apply intended terms during due-date calculation.
- Maintain supplier master data: in Company Code data (Payment Transactions), set a valid value in the “Credit Memo Payment Terms” field; ensure standard payment terms default a baseline date.
- If configuration is required, use a dedicated terms-of-payment key that derives the baseline date from a real date (for example, document or posting date) rather than “no default”.
- Re-send previously rejected documents after applying the fix so records are complete.
See Also
- Refer to: KBA 3253111 - Error M8356 "Baseline date for payment does not exist"
- Refer to: KBA 3149702 - Error when reverse accounting document via MRKO app
- Refer to: KBA 3464234 - How API_SUPPLIERINVOICE_PROCESS_SRV parameters map to invoice data
- Refer to: Manage Business Partner Master Data (F3163)
- Refer to: General Payment Settings (Maintain Terms of Payment)
Keywords
baseline date for payment does not exist, M8 356, API_SUPPLIERINVOICE_PROCESS_SRV, credit memo, supplier invoice, Coupa integration, DueCalculationBaseDate, PaymentTerms, credit memo payment terms, payment terms configuration, invoice reference, HTTP 400, logistics invoice verification, S/4HANA Cloud, baseline date , KBA , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public