cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Rounding on AR Invoice

Former Member
0 Kudos

Hi,

I'm using SAP B1 882 PL11

I am trying to create an AR invoice via the DI API that reflects the details of an external Point of Sale (POS) transaction.

  • I create all lines on the Invoice as they appear on the POS invoice.
  • The POS is providing me with the rounding amount for the entire transaction. If non zero, I am setting the following:
    • Doc.Rounding = BoYesNoEnum.tYes;
    • Doc.RoundinfDiffAmount = 0.06

When I post the AR Invoice, the DI API returns the following error: 10000417 - Unbalanced Transaction

How does one set the rounding amount on a Document?

Regards,

Ben van Rensburg

Accepted Solutions (0)

Answers (1)

Answers (1)

AdKerremans
Active Contributor
0 Kudos

Hi Ben,

There are 2 possibilities for this.

1. set the doctotal

2. set the rounding.

depending on a setting in "document settings"

If rouding method is on "Currency", you must use theod 2 else you must use method 1

Regards

Ad