Robuta

https://userapps.support.sap.com/sap/support/knowledge/en/2930404 2930404 - Line item sequence for postings via INVOIC IDoc | SAP Knowledge Base Article For postings with IDOC message type INVOIC, the vendor line is not the 1st line item.