Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers