Showing results for 
Search instead for 
Did you mean: 

DI Error: (-5002) 10000100 - Document total value must be zero or greater than zero Inbound API call

0 Kudos

Hi I'm getting the following error when I'm trying to post a order into SAP using b1if. I'm following the exact procedure in the below link, Please advice?

This is my Input JSON


"CardCode": "12368",

"company_name": "MTestCond.",

"Document_Due_Date": "20220427",

"OrderReference": "OP-818",

"OrderItems": [


"ItemCode": "G1067",

"Quantity": "12",

"Price": "65"



"ItemCode": "QW211011108",

"Quantity": "15",

"Price": "10"




Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at, as that will help you when submitting questions to the community.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond:

Now for some specific suggestions on how you might improve your question:

* Make sure you've applied the appropriate tags -- because if you don't apply the correct tags, the right experts won't see your question to answer it. Likewise, make sure you haven't applied incorrect tags, as members routinely downvote/report questions that end up in the wrong Q&A feeds -- which hurts your chances of getting an answer (and I want to make sure you find the best solution).

* Use the "insert code" feature when sharing your code, so members have an easier time reading.

Should you wish, you can revise your question by selecting Actions, then Edit.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

Kind regards,


Moderation Lead

Accepted Solutions (1)

Accepted Solutions (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi vdd_sap,

Seems that the tag name is incorrect.

In my opinion, the correct tag name should be Document_Lines <Document_Lines>.

Kind regards,


SAP Business One Support

0 Kudos

Hi Ankit,

Thanks a lot, that was it.

Answers (0)