HI Nandani, Actually in your example 2 transactions are created, and each should be with 2 entries. One debit and one credit. The balance of the debit and credit should be 0. This is a must in double entry acounting.
So, to recap: The gl transaction created by createAcctgTransForPurchaseInvoice should register 2 gl entries, one debit and one credit (at least, depending on your setup, but the balance between the debit and credit registrations should be 0). The gl transaction created by createAcctgTransAndEntriesForIncomingPayment should (at least, see above) also generate 2 gl entries, one for debit and one for credit. Again the balance should be 0. Regards, Pierre Smits *ORRTIZ.COM <http://www.orrtiz.com>* Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com
