Erply API Error 1158 – This sub-request in a bulk call cannot be executed. It refer

In this post, you’ll learn more about the Error Code 1158that is returned when working with the Erply API

Erply API Error Code

1158

Error Description

This sub-request in a bulk call cannot be executed. It refers to the special value “CURRENT_INVOICE_ID”, but the preceding “saveSalesDocument” call was flagged as a duplicate and no document was created.