Skip to Content

DI Error: (-5002) Tax amount cannot be negative

Jan 04, 2017 at 01:40 PM


avatar image

Dear all,

I am trying to create Sales Order with Document_LinesAdditionalExpenses (RDR2, Freights) based on incoming file using scenario in B1if. File was parsed successfully, but I get DI API error at the end.

The following object was generated in B1if to send to DI API (cut from message log):


But processing finished with error

XCE001 Nested exception: java.lang.RuntimeException: DI Error: (-5002) Tax amount cannot be negative [RDR1.VatSum][line: 1]"

Could you please advice what should be changed to process it correctly?

This functionality works fine in SAP B1 and Order can be uploaded successfully without AdditionalExpenses.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers