SAP Knowledge Base Article - Public

3337080 - Error "Not able to determine invoicing party" happens when creating supplier invoice via EDI

Symptom

The SOAP service InvoiceRequest_In is used to create supplier invoice via EDI processing. The invoice creation fails and error message "Not able to determine invoicing party" is returned.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

Following the steps of scope item 3ZB a Billing Document is created. However, the Supplier invoice is not created in turn. In the Message Dashboard app, under /MMEDI PRocurement EDI scenario, the INVREQIN/0001 invoice request interface returns the error "Not able to determine invoicing party."

Cause

As explained in API help portal, system determine the invoicing party by reading parameter BuyerPartyID when the attribute PartyType = BillFrom, or parameter SupplierPartyID when the attribute PartyType = BillTo. Either the BuyerPartyID, or the SupplierPartyID must be available.

The priority of these two parameter is:
Prio 1: If the attribute PartyType = BillFrom, the BuyerPartyID corresponds directly to the LIFNR field.

Prio 2: If the attribute PartyType = BillTo, the parameter SupplierPartyID, corresponds to LFB1-EIKTO (the buyer’s account number at the supplier). Via the table LFB1 the system determines the corresponding invoicing party (LIFNR).

If the corresponding invoicing party LIFNR cannot be found, system cannot determine the invoicing party and error message will be issued.

Resolution

Please maintain BuyerPartyID (if PartyType = BillFrom) or SupplierPartyID (if PartyType = BillTo) properly to make sure system can determine invoicing party field LIFNR.

Keywords

Not able to determine invoicing party, EDI_MM_INVOICE_PROCESSING, 005(LOG_EDI_MM_IMPL_INV), PartyType, BillFrom, BillTo, BuyerPartyID, SupplierPartyID, LIFNR, InvoiceRequest_In, Supplier Invoice - Create (B2B, Inbound, Asynchronous), 3ZB, EDI , KBA , MM-IV-GF-EDI , Electronic Data Interchange , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions