Symptom
Using the API API_SUPPLIERINVOICE_PROCESS_SRV to create supplier invoice items for G/L account posting fails when the Material field is included; the service returns “Property 'Material' is invalid”, the field appears in the Create Supplier Invoice app.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The Material field is not part of the backend accounting data model for G/L account postings; it is shown in the Create Supplier Invoice app only for derivation/user assistance and is not persisted in the FI document.
Resolution
Although the Material field is visible in the Fiori app “Create Supplier Invoice”, it is not part of the underlying accounting document structure for G/L account postings.
The field is provided in the UI for derivation and user assistance purposes only, and its value is not persisted in the FI document.
The API API_SUPPLIERINVOICE_PROCESS_SRV strictly follows the backend data model. Since the entity A_SupplierInvoiceItemGLAcctType does not include the Material field in its metadata, passing this field in the payload results in the error faced.
See Also
Keywords
API_SUPPLIERINVOICE_PROCESS_SRV, A_SupplierInvoiceItemGLAcctType, supplier invoice, G/L account posting, material field, Property 'Material' is invalid, /IWCOR/CX_DS_EP_PROPERTY_ERROR, OData error, Create Supplier Invoice app, $metadata, payload validation, GL item, invoice API, MM-IV, invoice posting , KBA , MM-IV-LIV-BAPI-2CL , BAPI (Public Cloud) , Problem
SAP Knowledge Base Article - Public