cancel
Showing results for 
Search instead for 
Did you mean: 

Issue There is a difference between the document total and its components. in AR Reserve Invoice Add

former_member209771
Active Participant
0 Kudos

Hi Expert ,

I am trying to add one AR-Reserve Invoice using DI-Server object without any base document .SAP B1 return below response error :

'There is a difference between the document total and its components. [OINV.DocTotalFC][line: 0]'

Below is my post request data :

<Envelopes xmlns:urn="urn:Magento" xmlns:ebay="urn:ebay:apis:eBLBaseComponents" xmlns:sourcelib="lib:SourceAppResource" xmlns:destinationlib="lib:DestinationAppResource" xmlns:genericlib="lib:genericAppResource" xmlns:cloudResourcelib="lib:cloudAppResource"> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <SessionID>{0}</SessionID> </env:Header> <env:Body> <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS"> <BOM> <BO> <AdmInfo> <Object>oInvoices</Object> </AdmInfo> <Document_Lines> <row> <UnitPrice>19.412500</UnitPrice> <Quantity>1.0000</Quantity> <DiscountPercent>0</DiscountPercent> <U_WebOrderItemId>1377932</U_WebOrderItemId> <ItemCode>SSFBMON100</ItemCode> </row> </Document_Lines> <DocumentsAdditionalExpenses> <row> <LineTotal>4.087500</LineTotal> <ExpenseCode>1</ExpenseCode> </row> </DocumentsAdditionalExpenses> <Documents> <row> <DocType>dDocument_Items</DocType> <CardCode>G29</CardCode> <DocDate>20190226</DocDate> <DocDueDate>20190226</DocDueDate> <NumAtCard>600017041</NumAtCard> <U_InvoiceId>572788</U_InvoiceId> <ReserveInvoice>tYES</ReserveInvoice> <U_NumAtCard>600017041</U_NumAtCard> <U_PAYMETH>checkmo</U_PAYMETH> </row> </Documents> <AddressExtension> <row> <ShipToCity>Köln</ShipToCity> <ShipToZipCode>50825</ShipToZipCode> <ShipToCountry>DE</ShipToCountry> <BillToStreet>Intzestr9 </BillToStreet> <BillToCity>Köln</BillToCity> <BillToZipCode>50825</BillToZipCode> <BillToCountry>DE</BillToCountry> <ShipToStreet>Intzestr9 </ShipToStreet> </row> </AddressExtension> </BO> </BOM> </dis:AddObject> </env:Body> </env:Envelope> </Envelopes>

Thanks & Regards

Surajit Kundu

Accepted Solutions (0)

Answers (0)