[QODBC-Desktop] How to applying discounts to existing Invoices
Posted by Rajendra Dewani (QODBC Support) on 26 December 2013 11:22 AM

How to apply discounts to existing Invoices

Problem Description:

We have hundreds of invoices to that we want to apply a 10% discount, as the customer is going into bankruptcy and is giving us the choice of accepting a commitment to accept 10% of the invoice amount.


There is a "discount" item Type in QuickBooks, which is used to apply a discount to transactions. You can find it via QuickBooks UI -> Item List. We first create a 10% discount item in QuickBooks. There is a particular item type, "Discount," when you create the Item. You can set the Item to account for the separate loss account.

When the discount item is created, please find it in QODBC "Item" table and note down its ListID.
select * from Item

Find out the Invoice you want to apply the discount in QODBC "Invoice" table and note down its TxnID.

Here is an example of adding one discount item (160000-934380927) to an existing invoice "EF0-1071503378" in our test company file:
INSERT INTO InvoiceLine (TxnID, InvoiceLineItemRefListID, InvoiceLineDesc) VALUES ('EF0-1071503378', '160000-934380927, 'discount')

And this is the Discount Item in QuickBooks:

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please complete the captcha below (we use this to prevent automated submissions).