Calculating sales tax

I'm hoping one of the experts out there can help me out.
What I want to do (and maybe there's a better way) is use a Check Box to activate the calculation of sales tax. If the box is checked, I want the script to calculate the tax based on the value in the "Subtotal" field. The script should be general enough to change the rate if need be.

this seems to be an e-business-report, so perhaps you should post it in the appropiate forum.
Anyway, can you post the exact query you use ?

Similar Messages

  • Calculating Sales Tax Script?

    I created an invoice in LiveCycle Designer.  I would like to have two checkboxes for "yes" or "no" when it comes to whether or not the sales tax applies.  I have an idea for the if expression but it's not working at all.  Once I typed the if expression, the Sales Tax field is blank.  Before I added the checkboxes or the if expression, the field was working which was (Subtotal*TaxRate).  I named each field individually even the checkboxes.
    I need to have allow a situation when the sales tax doesn't apply and some of my customers do not get charge with sales tax.  I need help figuring out what script is best to use or how to make this work.  Also, where do you write the script?  Under calculate?
    The script that I wrote was:
    if Yes_1 = "Yes" then (Subtotal*TaxRate)
         else SalesTax = 0 endif
    If Yes_2 = "Yes" then (Subtotal*Tax Rate)
         else SalesTax = 0 endif
    Can someone help me please?!
    Thanks
    Rachel
    Step On Up Graphics, LLC

    It is not working because your syntax is incorrect. You could put this into the calculate event of the salestax field (in formcalc):
    if (Yes_1 == 1 or Yes_2 == 1) then
    $ = Subtotal * TaxRate
    else $ = 0
    endif

  • Calculation of sales tax for free item

    Dear SAP B1 Experts
    I have query regarding sales tax calculation for free item .
    For EG.  I have two item for sales (A = 1000,  B = 100)   Sales tax is VAT4%
    But when i am doing sales, i am selling B for free of cost with A for Rs 1000/- 
    here my tax calculation is (1000 *4%)  = 1040/-
    but as per the govt sales tax rule, we are liable to pay the tax for free item as well
    So I this case, In SAP B1 how we will calculate the tax 4% for free item  .
    Please help me.
    Thanks

    i have checked, its working okay, but
    in Invoice print out unit price and line total is showing for free item.  How i make the unite price 0 .
    Tax only calculation is based on the Line total and the line total is based on the unit price.
    in that case when i give the invoice to the customer.
    It should show like this
    Item A       100   * 10         1000
      "    B           0   * 1              00
                                             1000
    4% tax                               44
    Doc Total             =           1044
    thanks
    Regards

  • Calculation of surcharge on sales tax

    hello everyone
    how do we calculate SC on sales tax amount
    base amount                         100
    sales tax say 10%                  10
    surcharge say 2% on 10          2
    amount to be collected           112

    HI,
    Calculation of Surcharge use the  conditionstype (JIP4)
    Reg
    Madhu M

  • How can I add sales TAX at the end of my calculations?

    How can I add sales TAX at the end of my calculations?

    We currently do not support adding sales tax.
    Randy

  • ED,sales tax calculation for PO print

    Hi Friends,
    I need one urgent help from U.
    Iam calucating the TAXES by Line item wise..
    ED & SALES TAX is not giving the right values..
    I have to use KONP table but KNUMH field is not flowing in konv table..
    How i ahve to use  CALCULATE_TAX_ITEM or
                               CALCULATE_TAX_FROM_NET_AMOUNT .
    mainly how to pass the values and how the we are getting the values..
    I tried in A003 table for condition record number. its not flowing..
    its urgent..please help me..
    regards,
    sampath kumar..

    Hi,
    I tried in konv table... discount and other value will come but not sales tax and ED.
    Iam trying for get the values from konp with the help of knumh. but knumh is not flowing from KONV table. not only konv.. i tried a003,A012 and other A* tables.. Still Iam not getting the condition record number(KNUMH).
    How can i use Calculate_tax_item..
    please give me the suggestion..
    regards,
    sampath

  • Conditions in Purchase Order - No scroll bar/Sales Tax value not in mmr

    Hello,
    I am stuck in a weird problem where I have created a Condition Calculation Schema, assigned it to Schema group and assigned that schema to vendor, but when i open my condition in the PO, it does not give me scroll bar i.e. I have calculation Schema with around 10+ conditions, but when I try to put all the conditions in PO at one time, the scroll bar doesnot come up and without it, I cannot view all my conditions in the PO. Its saving the conditions though as seen in report, but cannot display it in PO without the scroll bar. Any ideas?
    Another assignment is that sales tax value and % should not increase the mmr value at time of GR, but when I do GR its adding the sales tax value to mmr value, my requirement is just Gross price be added to mmr, not sales tax value/%. I tried the Statistical checks in Calculation Schema, but to no vail, at GR the sales tax value is being added to the mmr record. Any ideas?
    Lots of points awarded for answer/answers.
    Any clue will help
    Thank you/Afshad
    Edited by: Afshad Irani on Jan 14, 2009 10:27 AM
    Edited by: Afshad Irani on Jan 14, 2009 2:32 PM
    Edited by: Afshad Irani on Jan 15, 2009 6:19 AM

    Q Another assignment is that sales tax value and % should not increase the mmr value at time of GR.
    Ans:
    Dear Afshad,
    Reference to your question, you need to do few settings in your Condition Type and Pricing Schema, if you need Sales Tax value & % not to include in your Material value.
    1 - In SPRO, Check that in your condition type, Control data 2 tab, Accruals check box should not be selected.
    2 - In your Calculation Schema, against your condition types for Sales Tax % and Sales Tax Value, select the check box for Manual & Statistics.
    3 - Also in your Calculation Schema, you should not select any account key in AccKey (Account Key) and in Accruals colomns.
    If any one of these setting is not defined, the valuation price for your material will be increased due to the fact that your settings for Condition type and Calculation Schema is allowing the same to hit the value of your material directly.
    Hope it works for you.
    Regards
    Jibran

  • Need to change sales tax from point of sale to point of delivery

    Hi all,
    Recently the tax laws were changed such that sales tax is to be collected based on where the product will be delivered to (rather then where the product was sold from).
    Briefly we are an agency with mulitiple divisions, and within those divisions several sales offices.  Previously, a sales would be made from the sales office, and based on the tax rate for that division and sales office (county/city) the sales tax would be calculated.
    Now we need to shift that so that a sales can still be made from a division/sales office, but the collected tax is based on where the product will be delivered to. 
    I'm sure there is a way to set this up, but I'm at a loss as to where to start. 
    One of teh options the customer suggested was to have a sales area set up with all the cities and tax codes in it.  Then assign that sales area to each of the sales offices.  Is this possible? Or do you have to have a separate sales area for each sales office?
    I'm open to any suggestions you may have as I'm not very familiar with this side of SAP (sales distription and taxes).
    Thanks in advance for your thoughts!
    Laurie

    Thanks Bill.  As it turns out, we are in the US where jurisdiction is an option I guess so this procedure may not be needed.  As I dig further it appears we are currently setup to use TAXUS procedure which utilizes tax codes - a limited number.  But since the recent change, we may need to switch to TAXUSJ. 
    Does this ring a bell for anyone?  If it is what we need to do, what need I be aware of that will change in the rest of the system?
    Thanks for your answers so far!
    Laurie

  • Error while executing sales tax report S_ALR_87012394

    Hi,
    I am getting the below error while executing the sales tax report S_ALR_87012394.
    Infomration: I have maintained the tax jurisdiction code 9 digits initially.after that i have maintained with 10 digits
    Tax jurisdiction LA0000000 has defective structure
    Message no. FS790
    Diagnosis
    When calling the GET_JURISDICTION_LEVEL_TTXD function module, a tax jurisdiction code was transferred which does not correspond to the structure specified in the table.
    Procedure
    Check the calculation procedure for the company code and determine the respective tax jurisdiction length and structure in Customizing. Check that the tax jurisdiction code transferred corresponds to the tax jurisdiction length and structure.
    kindly help me
    Thanks
    Supriya

    check is there any notes which you have to apply to correct already posted entries with 9 digits. because of this its generating this error

  • I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can

    I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can't  believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.

    The bill from last month states:
    CT state sales tax**     $38.10
    ** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
    The current bill says the same.
    Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second.

  • Sales Tax Calc (Line Item level calc versus header level calc)

    Hello,
    My company utilizes vertex to calculate sales and use tax in our sales orders that are created via resource related billing (DP96).
    We store tax code O1 using condition type UTXJ for each SD Contract.
    Condition types XR1 thru XR6 receive the sales tax calculations/amounts from vertex for EACH line in the billing request.
    See below example of calculated tax amount per line item
    Line1 of Bilreq:   NetVal  2.25     X tax rate for XR1 .05  = sales tax of 0.11  (rounded up to 2 decimal places)
    Line2 of Bilreq:   NetVal  2.25     X tax rate for XR1 .05  = sales tax of 0.11  (rounded up to 2 decimal places)
    Totals                             4.50                                                                  0.22
    When our invoice(billing document) is sent to our customer which shows just totals our customer sees:
    Net Amout:  4.50
    tax rate .05
    Sales Tax Amt:  0.22
    When our customer multiplies 4.50 by .05 they come up to 0.23
    So they are questioning why the calculation is incorrect and they want it to match to the penny.
    Anyone have any suggestions to solve this problem.
    Any help is greatly appreciated.
    Thanks,
    Ermanno Incollingo

    Hello Ermanno
    Does your pricing Procedure have condition type DIFF just after the tax conditions XR 1-6?  If not, please review standard pricing procedure RVAXUS ( Step 917).
    Also try to use condition types NETP and PNTP  as described in OSS note  80183 - Rounding.
    Hope this helps. Thanks.

  • Sales tax in PO but not included at the time of GR

    Hi,
    i have creted the PO including sales tax amount, is there any way when i post the GR against this PO the sales tax amount not calculated.

    Hi,
    In response to your requirement:
    let me clear my business scenario...
    total price of po is usd100 and sales tax is 20%.
    system calculate sales tax separate the reason being the codition type for sales tax is statistical.
    is it possible that the value of sales tax included in the PO net price but not calculate at the time of GR.
    Regards,
    Ali
    This is very much possible. Include your tax condition type in the calculation of net price and make this tax as deductible.Donot assign NVV key to it.
    Also donot make it statistical as you want to include it in the net price calculation.
    Thanks,
    Atal

  • Discount After Excise & Sales Tax

    I have one scenario
    Vendor will give Discount, For which excise & sales tax will not be calculated.
    To fullfill this scenario where i have to put discount condition in pricing

    Hi Mr. Satya,
    For this scenario give the define the new discount condition type and assign at the end of the MM pricing procedure. In the discount condition give the subtotal as 6. This will solves your problem.
    Regards
    Satya

  • Sales tax Field in PDF Form

    How do I create a sales tax field when creating a PDF form?

    Your create fields for the tax rate and the tax amount. Format the tax rate as a Percentage and enter the decimal value of the rate. The tax amount field has Number format with 2 decimal places and a custom calculation for the tax rate times the value subject to the sales tax and rounded to 2 decimal places. Not rounding the value of the computation to 2 decimal places is different than displaying 2 decimal places for the field formatting.

  • Calculate Sales Tax on Freight Condition

    Hi All,
    We have an issue where we need to calculate an additional amount of Sales Tax on the Freight Condition which is entered on the Delivery Document as a manual condition and not on the sales order itself.
    I am unable to configure the system so that the Sales Tax amount calculated for the whole invoice is inclusive of the Freight amount too
    Is there any suggestions as to how I could do this?
    Thank you for you support
    Rukshana

    1. Calculation of sales tax on basic+ ED+ freight charges.
    2. Calculation procedure as basic+ Freight + ED+ sales.
    excise and tax is for a value addition to a product . so excise , tax is on basic value only.
    IF you want it for freight taxes  u need to do transportation  cost ther u can maintain service tax for freight vendors.
    me21n, vl31n,vt01n,vi01

Maybe you are looking for