Is there a way to import aggregated sales into quickbooks - quickbooks

Is there a way to import aggregated sales into quickbooks using the webconnector.
For example. I have 500 dollars in sales, 300 dollars in liquer sales, and 200 dollars in discounts.
How do I import this data. Do i need to import all the line items and have quickbooks sum it up (which is terrible i feel).
Or can i just import the rolled up data?
If i can do the rolled up data, how would i do that? If not how do i have quickbooks magically sum up the line items?

If you create an invoice with a bunch of line items, it's always going to automatically sum up all of the line items to show the total invoice amount/balance.
With that said, if you simply don't want the actual line item detail to go into QuickBooks, there's a number of ways you can do that, but you should probably talk to your accountant first or actually find out how the accountant wants the data entered into QuickBooks first.
e.g. your question doesn't really sound programming related, it's more of a "how do I use QuickBooks question".
The most common ways of not sending line item detail are to either:
Just send an invoice with a single line item, for the sum of all of the stuff
OR
Send a Journal Entry, which is a base-level transaction that only allows a single amount

Related

Business Central, VAT amount line on sales invoice

I would like to put VAT amount line on a sales invoice report. I created a custom report layout and added all the fields I want show on the sales invoice.
Somehow, the VatAmount_VatAmountLine works only for the first row of the booked sales invoice. This is with an iterative Line in the sales invoice.
Whenever I create a custom report layout with only the VatAmount_VatAmountLine, with an iterative VATAmountLine, it works perfectly fine.
But I need to combine those two into one table. Can somebody please explain how this works? It is hard to believe this is impossible.
Thanks in advance!
You can create new dataitem on the report dataset, combining sales invoice lines and vat lines.
You can also try to place closely two repeater rows on the first-row print sales invoice lines on the second-row print vat lines
Why do you want to print it on the same table?

Google Datastudio show empty row combinations

I am creating a Google Data Studio report for a car dealership and I have a problem.
I have made these 3 screenshots to illustrate:
If you see on the first screenshot, the datasource is pretty simple, used/new indicates weather the car being sold is new or used and if it is a sportscar or family car, and exchange/clean deal indicates weather the dealership takes/buys the customers old car in for a trade off in price. The rest should be self explanatory.
On screenshot2-3 you see my report, I have one table for each salesperson and it shows the amount of sales for each combination that has sales.
The problem is this, I want the tables to show each combination even if it does not have any sales at all, it should just show 0 then in record count. Like Mike on the left has more combinations than john, I still want Johns table to show those combinations just with a 0 then, and it should be sorted the same on each table so they look the same, just different data in the cells.
Is this possible to do?
To solve this problem, you need to make a combination of data, from the database with itself. Your main analysis dimension, which will generate your combinations, is used/new and Exchange/Clean deal. So your combination should be:
The filter defined in the second database (right base) must contain a filter telling which person the table will be destined for. So, for each table, you must make a new combination that contains the person-specific filter.
I just took a sample from your original database (10 first lines) and the result is:

Detect VOIDed invoices from quickbooks

Our system pulls lots of data from quickbooks using the QBWC/QBXML.
We also poll TxnDeletedQuery to get a list of deleted invoices, etc...
How do I query for or detect a 'Voided' invoice? I don't see anything in the InvoiceQueryRs schema that would indicate a voided invoice.
Does quickbooks do anything but zero-out the line item quantities?
Thanks!
The only thing QuickBooks does when voiding is:
sets the quantities/rates to zero
adds a "VOID" string to the Memo field
To detect it, you'd have to parse the Memo field and look at the rates/quantities. There's no way to filter by it in a query unfortunately.

QBFC Billadd Transaction

I have an application that interfaces with QuickBooks and I am using the BILLADD transaction. The application pulls bill transactions from another data base and updates quickbooks. The billadd transactions that we are pushing to quickbooks have several expense lines. Some of the expense lines are negative(credits) to the vendor. I can manually enter a negative number on a new bill, but the get an error when trying to do it programmatically.
Can anyone tell me if it is possible to do this with billadd or do I need a different transaction type to add the credits?
Scott
As long as the total of the bill is not negative, you should be able to add negative expenses. If you need to enter a negative bill, you would need to enter it as a IVendorCreditAddRq. I tested it with adding a bill with -10, +100, and -50 line expenses and was able to save it without a problem.
Could you post your request and the response you are getting?

Quickbooks: Adding a negative value to an invoice using the QBDSK

Is there any way to add a line item containing a negative amount to an existing invoice?
I'm using QBSDK7 and QB Enterprise. (and if it matters .Net 3.5)
What we're attempting to do is automate the way we're creating invoices. We're already pulling in employee's time and applying it to the correct invoices, but when we go to add credits (just a negative amount on a line item on the invoice) using
InvoiceLineMod.Amount.SetValue(-1234)
it fails with the error "Transaction must be positive"
I've also tried adding a Service Item with a negative amount and giving it a positive quantity and I get the same result.
This seems like such a no-brainer as we have been doing this manually for the last 10 years. I'm guessing there is artificial restriction on this.
Some things to consider:
Credit Memos are no good as we need to display exact details of the reduction on the same page.
We don't have payments to apply yet in most cases.
This need to be done before any retainers are applied.
Any help would be greatly appreciated.
Can you show the complete code you're using to modify the invoice? Can you also show the exact error message you're getting?
It is possible, though to do you need to make sure that you're using a Discount Item as your ItemRef type (a Service Item will not work), and you need to make sure that the transaction as a whole is for a positive amount.
Sometimes our app has to adjust an invoice down with a negative number. I have been able to add negative line items using the following code. I have to set a quantity and a rate, instead of setting the amount.
IInvoiceLineAdd ila = ia.ORInvoiceLineAddList.Append().InvoiceLineAdd;
ila.ItemRef.ListID.SetValue(GetQBID(JobKey));
ila.Desc.SetValue("Adjustment");
ila.Quantity.SetValue(1);
ila.ORRatePriceLevel.Rate.SetValue(-1.00);
Quickbooks doesn't allow you to post an invoice with a negative balance. If you try to do it through the UI, it prompts you to create a credit memo instead. (And vice-versa if you try it with a credit memo.)
You can enter negative quantities and/or prices into the line items, but the total of the invoice has to be >= 0 or it won't post (i.e., add other line items that offset the negative amounts).
The solution is to use credit memos. Your client-side processing will be more complicated, but it's the only choice with Quickbooks.

Resources