I'm trying to divide my total shipping & handling costs into 3 different buckets, shipping, handling and tax (on the handling).
I currently have a workflow that sets the shipping cost correctly, handling cost correctly (on a Credit Card Sale) but for some reason it doesn't set the tax total correctly.
I think I'm using the wrong field, because in my workflow I tried to just set "Tax Total" = 0.00 and it doesn't work, the tax total is just the same as it was originally. Is there a different field I need to be setting?
Did you check if your line items have a tax code associate with it or it there is a Tax Item applied to the whole transaction?
As far as I know, the 'Tax Total' is computed by NetSuite so it is probably over-writing the value that is being set by the workflow.
Related
Is it possible to change rate of VAT on checkout page?
For example I want to add condition if user is guest and commercial then use 20% rate else 0%
That is currently not possible, but there is a feature currently being implemented which allows for custom tax calculations.
Search for "Interface for tax services" in the public roadmap.
That feature is designed to allow to connect to external tax providers for more complex tax calculation e.g. the US, but it should also allow to change the taxes by rule etc.
However keep in mind that in that case the prices in the store prior to the checkout page may not be accurate, this can have some legal implications depending on the country where the shop is operating.
There is a module* which allows to determine automatically based on the VAT ID entered if the B2B customer should pay tax, and doesn't bill tax to customers with a valid VAT ID.
*I am not affiliated with that module, but also did not test it.
I am making a sheet to CALCULATE REAL REVENUE from each sale I make on my online store.
The problem is that the COST of my products is not always constant. It varies depending on many factors so each time I make a purchase I add the NEW PRODUCTS COST (LATEST COST).
Each time I make a new purchase I will add the QUANTITY and the new COST. (PURCHASE 1, PURCHASE 2, PURCHASE 3,etc).
Screenshoot of my sheet with example on ROW 41
In Column B I want to know which is the CURRENT COST based on the amount of TOTAL SALES of each product.
For example:
If I have sold less than 100 ( Pruchase 1 QUANTITY) then I need the formula to choose value of E41 (PURCHASE 1 COST).
If I have sold MORE than 100 and LESS than 300 (which is the SUM of PURCHASE 1 & PURCHASE 2) I need the formula to choose value of G41 (PURCHASE 2 COST) AND SO ON...
The formula I have come up with so far is this:
=INDEX(41:41,,IF(C41<=D41,COLUMN(E41),IF(C41<=D41+F41,COLUMN(E41)+2,IF(C41<=D41+F41+H41,COLUMN(E41)+4,COLUMN(E41)+6))))
This formula WORKS but only for the first 3 PURCHASES.
I need a formula that has no limit but I don't know how to make a VARIABLE formula.
Please take my words literally when I say that I wouldn't waste one minute on trying to solve your problem with your current sheet design. You would need VBA, and then extract quantities and prices from each purchase without the ability to filter on columns. (Minute is up.)
What you need is a Purchase database: ItemID, Date, Quantity, Price, maybe Ref#. From that you can pull out the transactions for any item by filtering on the item and the cost by using functions like SUMIF. However, this just brings the real problem within reach without solving it.
The problem is that when you buy 100 pcs #42 your price is 42. Then you buy another 100 pieces #46 your average price is 44. But if you sold 50 pieces with a cost of 42 then the average cost of the remaining 150 is 45. Therefore you can't determine the average cost of any remainder without knowing the quantity sold and the average cost applied to that sale. To solve that problem you will still need VBA but the suggested db format of purchase record would at least support such a solution.
Not so long ago I programmed a solution where there were additional columns in the db and each sale was recorded in 3 columns (much like your present purchase record): date, Qty, Ref. In this way I could trace the sale of each individual purchase (this was for shares trading). The sale of the newer quantity wouldn't start until the earlier quantity was sold out.
Perhaps you don't need to trace where the purchased quantity went to and just need one column to count down the balance to zero. That would be much simpler but has the drawback that you can't roll back errors. In the end the rollback was the reason why I abandoned the design. The key to the ability to abandon it is a similar db for sales: date, qty, price, Ref#.
With such a setup you might design a system to either extract the average or FiFo price from the purchase side and associate it with a sale. If the condition is that it should be done with worksheet functions you could add a column for "current cost" in the purchase db, changing with each purchase, which you look up by date from the sales side using VLOOKUP or SUMPRODUCT, having set a cost price applicable from the day of purchase until the next. If that appeals to you, a method must be found to deal with days on which there are both purchases and sales.
I'm working with Stripe. Our users subscribe to our service and they are billed every 2 weeks. We need to implement a way to give them $5 credit every time they refer someone to use our service.
Solutions I have considered so far:
Stripe coupons: Stripe has great documentation. Unfortunately, for
coupons there are many ambiguities. I tried working with coupons but
so far it seems like a coupon can only be applied once for each
invoice, and you can't apply multiple coupons for one invoice. This will not work with us since a user can earn $5 multiple times during the billing period.
Issuing refund: the problem with this is that we have to pay the user actual money while what we actually want is to give them credit to use in our service.
Am I missing anything with coupons? Are there any other solutions/suggestions?
If I understand your use case correctly, I think the best way would be to create an invoice item with an amount of -500 for each referral. When you create an invoice item, by default it is set as "pending" and will automatically be included in the next invoice, i.e. at the end of the current billing period.
Be aware that if the invoice's total is negative (in the case of many referrals), then the total will be added to the customer's account_balance and reduce the amount of the next invoice as well. If this isn't what you want, you'd need to reset the customer's account_balance to zero, or make sure that you don't create invoice items that will make the invoice's total go below zero.
More information about invoice items can be found here: https://stripe.com/docs/subscriptions/guide#adding-invoice-items. The guide only mentions invoice items with positive values (i.e. additional charges), but you can use negative values as well.
Have you considered just checking for available credit in transactions before you charge?
That way you can just store how much credit people currently have in some database, and just apply the balance on transactions. AKA charge them for full_price - total_credits.
While integrating Salesforce into Netsuite, when creating a Sales Order, I want to be able to add discount per item (and not a single discount for the entire SO)
Going through the help at Netsuite I can't figure if this is possible or not.
It mentions of "Discount Items" - What I understand of this, is that there are "Special Items" that give discount. This is far from the behavior I want. (plus it will duplicate the invoice size)
Is it possible?
Discounts in netsuite are "basically" items so you have a couple of choices here:
A) add a discount item for every item on line
B) add a discount field on every item and apply conditionally on the sales order
C) you could manage B on a different record and match item vs discount plan = discount %
The problem with B is that you wouldn't keep record of when the discount was applied, which is not the case for A and can be avoided in C by populating tue discount record there.
Have you looked into "Price Levels" yet? This will allow you to specify a discount amount on the line itself. Price levels can be set as percentages of the "Base price."
I am implementing openbravo pos in a local shop. They want the ability to be able to type in a price and have sales tax added automatically rather than using a PLU or UPC. Basically I need to apply an 8% sales tax to any item that is entered not using tax categories. Any ideas?
You can create a new Tax Category called "General" and set the Tax % as 8% for the same and then map the products where you do not have the Tax Information over there. So when the order it raised, it will pick up the 8% taxing. Hope that helps.
Thanks,
Shankar
I add into my project set Tax Category by default. You can try my source code https://bitbucket.org/svininykh/openbravoposru