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

How to applying discounts to existing Invoices

Problem Description:

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

Solution:

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 special item type "Discount" when you creating 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))
Helpful
Not helpful

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