BAPI for VAT Calculation

Hello Everybody,
I just have one question and hope that somebody know the answer.
Namely, I will need to have a BAPI which will calculate tax amount (VAT amount) based on (Net) Amount in the GL coding line.
Are there maybe some BAPIs which can be used to utilize VAT (tax) amount calculation.
Thanks in advance.

If you can share the pricing procedure (TCode V/08), then may be I can try to give suggestion without going for any enhancement.  Also, let me know how it is calculating currently.
G. Lakshmipathi

Similar Messages

  • Customer exit or BAPI for Loan Calculation repay

    hi All,
    I need to calculate the company loan repayments in a different way (which is out of the standard), Please let me know which customer exit or BAPI can make this possible.
    Scenario:
    Principal Amt = Rs. 10,000
    Interest rate = 8%
    Yearly Interest = 10,000 * 8% = 800
    Monthly Interest = (10,000 * 8%)/ 12 (months) = Rs. 66.67
    Now, if an Employee is asking for a 6 month period to pay-off the loan then the calculation will be :-
    Principal Instalment = Rs. 10,000 / 6 (months) = Rs. 1667
    Interest Instalment = Rs. 66.67 * 6 = Rs. 400
    Total Instalment to be paid each month = Rs. 1667 + Rs. 400 = Rs. 2067.
    Thanks in Advance
    Amol
    Edited by: Amolkumar Patil on Sep 17, 2010 11:38 AM

    Check the table V_506P_B with Interval option.
    If you are using payment type Loan Pament( Payroll)...check the table V_506P_B ..if you select Interval...... If you set this indicator for a payment type, the system also shows the column End Date in the Loans infotype (0045) on the Payments tab page. For the payment that you have specified with this payment type, this field End Date is ready for input. This means you can specify a start and end date for these payments. Within this interval system processes such a payment in each payroll period in the standard system.
    Mohan

  • Tax procedure for VAT calculation on Base amount + WHT amount

    Hi All,
    Needed your inputs on definition of tax procedure, to calculate VAT tax where base amount + withholding tax amount are tax base components.
    E.g. in AR line item:
         Revenue:  950 (FB70 ->Editing options:  calculate taxes on net amount check box is enabled)
         WHT: 50 (5%) (Re-grossing method using)
         VAT: 70 (7%)
    To achieve as above how to define tax procedure: current procedure definition as below.
    StepCounter-Ctyp----Description-From--To
    100--0---     -BASB--Base Amount 
    117--0---     -J1W1Output Tax----100
    118--0MWS1-Subtotal--100----117
    120--0---     -MWASOutput Tax------118
    Please through some light on this.
    Thanks in advance.
    SK

    Dear all,
    Any comments please.
    Highly appreciated calculating VAT tax on base amount and WHT (re-grossing up).
    Thanks in advance.
    SK

  • VAT calculation in Import pricing in Africa

    Dear Experts,
    I'm configuring a Import Pricing procedure for my African client where the Scenario is as mentioned.
    1.Cost(Base Price) = 100
    2.Insurance = 10
    3.Freight =10
    4.Customs duty = 10
    5. IDF Value = 10
    6. Vat = 14% on (12345 i.e on 140)
    How can this scenario be mapped? As in Import pricing, Tax code is Zero. And there is no Tax procedure defined in SAP for Africa. If I create a Tax code with 14%, it calculates Tax on the Base price & not on the Total of "Step 1 to 5" as per my  requirement.
    I have checked a similar scenario for VAT calculation in Import pricing in Thailand. Can it be used? if so with what changes or what are the steps involved to meet the above requirement.
    Kindly reply, if any one has worked earlier on this scenario.
    Regards
    Chitra
    Edited by: Chitra H P on Jul 29, 2010 3:22 PM

    Hi Chitra
    You are aware I take it that Africa is continent and not a country?
    You won't find anything in SAP for "Africa" in the same way that you won't find anything for Asia.
    James

  • VAT calculation in Import pricing in Tanzania

    Dear Experts,
    I'm configuring a Import Pricing procedure for my African client(Country - Tanzania) where the Scenario is as mentioned.
    1.Cost(Base Price) = 100
    2.Insurance = 10
    3.Freight =10
    4.Customs duty = 10
    5. IDF Value = 10
    6. Vat = 14% on (12345 i.e on 140)
    How can this scenario be mapped? As in Import pricing, Tax code is Zero. And there is no Tax procedure defined in SAP for Africa. If I create a Tax code with 14%, it calculates Tax on the Base price & not on the Total of "Step 1 to 5" as per my requirement.
    I have checked a similar scenario for VAT calculation in Import pricing in Thailand. Can it be used? if so with what changes or what are the steps involved to meet the above requirement.
    Kindly reply, if any one has worked earlier on this scenario.
    Regards
    Chitra

    Hi
    1.Cost(Base Price) = 100
    2.Insurance = 10
    3.Freight =10
    4.Customs duty = 10
    5. IDF Value = 10
    6. Vat = 14% on (12345 i.e on 140)
    As per the above this can be done in Tax procedure of Africa check the conditions type which you  are using  in TAX Procedure for all these condition type and go to the subtotal column and enter key 4 then the value of these conditions maintained  there will added to BASB condition type inTax procedure   which is nothing but gross and the you can have your VAT conditio type if you are using TAX INN procedure then maintain the vat % condition in FV11 or if you are using TAXINJ procedure then you ca create tax code in  FTXP & IN that tax code you add VAT conditio as per your requirement. Hope this can helps you.
    Regards

  • Composite vat calculation

    Hi friends,
           i have a one requirement we are using one line item for vat calculation and second line item for service tax calculation in sales order suppose 100Rs material price and 20Rs labor cost now we are using
    VAT calculation 5% on Material amount 100Rs
    Service tax 10.3% on labor amount 20Rs
    But my client want
    1. VAT 5% composite on 120Rs
        Service Tax 10.3% on 20Rs
    and
    2. VAT 5% on 100Rs
        Service Tax 4.12% composite on 120Rs
    Both cases are there, please guide me how to do it
    My pricing procedure
    ZTRF  Base price
    VAT   VAT%  On Base Price
    CST   CST% on Base Price
    SER  Service Tax % on Base Price
    ECSS   Ecess% On service Tax
    HECS   HECess% On Service Tax
             please guide me is there any changes in pricing procedure
    Thanks
    Seshu

    Hi
        Both the requirements can be met by adding Subtotal column in the pricing procedure
                             Add the material price and Service charge in the subtotal (from u2013to) and calculate Vat from the subtotal column  (Maintain from column as subtotal column number) follow it for second requirement also

  • Field for VAT

    HI
    In MM what is field and tables for VAT / LST , CST no

    Hi,
    You can use the table of FI.
    As well as rbkp,   "Document Header: Invoice Receipt
                    rseg,   "Document Item: Incoming Invoice
                    t007s,  "Tax Code Names
    you can get cst, lst for vat calculation from table J_1imovend
    J_1imovend-j_1icstno
    j_1ilstno -j_1ilstno.

  • Function Module or BAPI for Sales price calculation and Pricing worklist

    Hi Retail experts,
    We frequently change purchase conditions, but not that frequently for cases like perishables, so sales price calculations needs to be done each time. This means pricing worklist generation and release is done often and then sales price recalculation is done each time article wise and for various organization level.
    We have 15000 articles for which purcahse conditions changes, it is impossible to generate and release pricing worklist and do sales price calculation for each article
    So solution may be to find a FM/BAPI for the following transactions and automate them.
    Do you know FM/BAPI for VKP5/VKBP or VKP6, WVN0, WVN1 transactions.
    Regards
    Bob

    HI Madhu,
             Thanks for the reply,
    I am looking for BAPI or FM which will check all pricing condition types( like MRP of the Material(table A304), discounts(A800,A802,A803,A804) for that customer and Tax) and give me the value(KONP-KBETR).
    I can only pass Customer, material, quantity etc.. so that BAPI or FM has do all standred checks/ validation and give the
    KONP-KBETR for all condition types like MRP, discounts, Tax. we are developing the custom program for sales order creation so we require the all this before saving the sales order.
    Regards,
    Nagesh
    Edited by: nageshdb4u on Mar 5, 2011 12:05 PM

  • CST and VAT calculation is wrong for Tool amortisation PO

    Hi,
    We have tool amortization process in out company.
    Vendor develops tool for us and same will be amortized for each part paying addionally some amount other than material cost ( Condition type ZAMT).
    Excise duties to be calculated for tool cost also. But not VAT or CST.
    Now issue is  tool amortization cost is calculated for excise duties ( Base price and ZAMT price ) which is correct.
    When we calculate the CST/VAT it considers tool amortization cost also for basic price due to this we need to pay additional VAT or CST .
    Is there any provision can be made in MM pricing procedure for ZAMT or in TAXINN for VAT/CST to exclude tool amortization cost.
    Please reply
    Guru

    Have your pricing procedure as follows:-
    100::::PR00::::::Base Price
    110::::ZAMT:::::Tool Cost:::::::::::::100
    120:::::::::::::::Total for ED:::::::::::100::::110
    130::::ZVAT:::::VAT on Base Price::::100
    140::::ZCST:::::CST on Base Price::::100
    G. Lakshmipathi

  • Any BAPI for calculating Previous Period Balances?

    Is there any BAPI for calculating previous period balances my period is 04 and have to display 123 period balances.
    please help.
    Moderator message: please search for available information/documentation before asking.
    locked by: Thomas Zloch on Oct 5, 2010 4:45 PM

    Well, did you even try via SE37 a simple F4 with BAPIBALANCE or BAPIACCBALANCE* will give you the answer....
    Regards,
    Raymond

  • Re: VAT Calculation in UK Localization

    Last month I requested help on VAT calculation in UK Localization; for which I received a helpful explanation from Rajiv Agarwalla.  Here is the link...
    VAT Calculation in UK Localization
    Now I require a SDK help on this...
    I am creating a Purchase Order through Document object; which gets successfully posted in SAP Business One.  But calculated VAT doesnu2019t include terms discount.  Somehow it is not referring the cash discount attached with the Payment Terms. 
    When I opened the created Purchase Order in SAP Business One; and reassign the same Payment Terms then it considers the discount and appropriately calculate the VAT.
    Here is the sample code snipu2026
    ''' <summary>
        ''' This Proc Adds the Purchase Order in the SAP B1 Application
        ''' </summary>
        ''' <remarks></remarks>
        Public Sub m_AddDoc()
            Dim lobj_Documents As SAPbobsCOM.Documents
            Dim lobj_oSbo As SAPbobsCOM.SBObob
            Dim lobj_oRecSet As SAPbobsCOM.Recordset
            Dim lint_ErrorCode As Integer = 0
            Dim lstr_Err As String = ""
            Dim lint_ReturnCode As Integer = 0
            Dim lstr_ObjKey As String = ""
            Try
                'Instantiate the Document Object as Purchase Orders
                lobj_Documents = B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders)
                'Instantiate the SBo object
                lobj_oSbo = B1Connections.diCompany.GetBusinessObject(BoObjectTypes.BoBridge)
                'Instantiate the Recordset Object
                lobj_oRecSet = B1Connections.diCompany.GetBusinessObject(BoObjectTypes.BoRecordset)
                'Set the Header Information for the Purchase Order
                'Set the Card Code for Vendor
                lobj_Documents.CardCode = "V10000"
                'Set the Confirmation as Yes
                lobj_Documents.Confirmed = BoYesNoEnum.tYES
                'Set the Type of Document As Item
                lobj_Documents.DocType = BoDocumentTypes.dDocument_Items
                'Set the DocDate
                lobj_oRecSet = lobj_oSbo.GetDueDate("V10000", Today.Date)
                'Set the DocDate
                lobj_Documents.DocDate = Today.Date
                'Set the Document Due  Date depending on the Payment Terms set
                lobj_Documents.DocDueDate = lobj_oRecSet.Fields.Item(0).Value
                'Set the Payment Terms as 2P10Net30  Cash  Discount for this is 2%
                lobj_Documents.PaymentGroupCode = 3
                'Set the Payment Method As Outgoing BT
                lobj_Documents.PaymentMethod = "Outgoing BT"
                'Set the Lines Details for a single Line
                'Set the Item Code
                lobj_Documents.Lines.ItemCode = "A00001"
                'Set the Unit Price
                lobj_Documents.Lines.UnitPrice = 500
                'Set the Line Item Qty
                lobj_Documents.Lines.Quantity = 1
                'Set the Vat Group as  I1 (Input Tax)  where Tax Percent is 17.5 %
                lobj_Documents.Lines.VatGroup = "I1"
                'Get the Return Code after adding the Document
                lint_ReturnCode = lobj_Documents.Add
                If lint_ReturnCode = 0 Then
                         MsgBox("Purchase Order added successfully")
                 Else
                         'Get the Last Error Code
                         B1Connections.diCompany.GetLastError(lint_ErrorCode, lstr_Err.ToString)
                        'Display the Error
                        MsgBox(B1Connections.diCompany.GetLastErrorDescription, MsgBoxStyle.OkCancel)
                End If
            Catch ex As Exception
                'Display the exception
                MsgBox(ex.Message.ToString, MsgBoxStyle.OkCancel)
           Finally
            Gc.collect()
           End Try
        End Sub
    After the Purchase Order gets added I get the following results:-
    Line Level  Amounts :-
    Unit Price :- 500 GBP
    Line Discount % :- 0.00
    Price After Discount :- 500 GBP
    Vat Group :- I1
    Gross Price :- 587.50 GBP
    Total Lc :- 500 GBP
    Tax Amount LC :- 87.50 GBP
    Gross Total Lc :- 587.50 GBP
    Header Level Amounts :-
    Total Bef.Discount :- 500 GBP.
    Header Discount :- 0.00 %
    Tax :- 87.50 GBP
    Total Payment Due :- 587.50 %
    But the expected result has to be as follows :-
    Unit Price  = 500 GBP
    Cash Discount Percent :- 2 %
    500 - 500*2 % = 490
    490 * 17.5 % = 85.75 GBP
    So the Tax Amount at the Line level should be 85.75 GBP instead of 87.50 GBP
    I would appreciate if someone could review my code and rectify the problem.
    Regards,
    Jennifer Smith.

    Still no luck
    I was just investigating this and found that;
    When I add Purchase Order through SAP Business One application it keeps the applicable terms discount in field u201CVatDscntPru201D table POR1. 
    But this field is not exposed through SDK Document Lines object.  So I am not able to update this field and thatu2019s the reason my tax amount is incorrect.
    I am worried about this and donu2019t know how can I calculate the tax appropriately.  Can any one please help me out?
    Regards,
    Jennifer Smith.

  • VAT calculation is wrong!!

    Hi,
    Its concerned to Indian Excise.
    <b>Scenario:</b>
    1)Tax code contains only 4% VAT & other excise duty is added manually in PO conditions.
    2)In PO, VAT  Calculation is correct
    3)During invoice verifiavtion with ref to PO,Assessable values are flowing to MIRO for all line items of PO.
    <b>Error:</b> when appropriate tax code is selected (Only 4% VAT) for each line item in MIRO,VAT value which is being calculated is not exactly equals to 4% instead its diiferent for each line items like 4.19%,4.74%,4.09% and 4.37%.
    Can you pls advise,what is reason for this small difference in VAT calculation.
    Regds

    Hi,
    I checked in detail,other things are correct.
    But one more point is,infact there are 2 POs & 1 Invoice related to above issue.If I try to do MIRO for both POs together this Difference in VAT amount is reflecting as said before,If individual PO is considered for Invoice verification there is no such difference in VAT amount i can post the document.
    Regds

  • Problem in VAT Calculation @ the time of MIRO

    Dear All,
    We are using the Tax Procedure TAXINN.
    When we create a LIV document with ref to a PO using the transaction MIRO & when I check the calculate tax button, the tax amount which is displayed in the Basic data is more than the amount which is displayed in the taxes tab.
    For Ex:
    Created a PO with the following details.
    Total Qty in PO -  10
    Base Price - 1000/qty.
    BED - 14% - 1400.00
    ECS - 2% -      28.00
    VAT - 4% - (4% on 11428) - 457.12
    So my total Tax = 1885.12 (Including Excise & VAT).
    Now when I create a MIRO document the tax amount which gets calculated when I check the Calculate button is 1885.12 (Same as above) in the Taxes tab of MIRO.
    But the tax amount which is displayed in the Basic data tab is 1,942.24
    Also when I simulated the MIRO entrys the VAT amount which was simulated was - 514.24  & not 457.12 as in PO.
    Can anyone please advice on the reason for this mismatch in VAT calculation during the time of MIRO?
    Is there any specific settings for VAT in TAXINN ??
    Note :
    The Excise & VAT are calculated correctly during the time of PO creation. Also I havent maintained any additional VAT condition types for my VAT in the tax procedure.
    Awaiting helpful replies.
    Regards,
    Edited by: SAP FC on Dec 5, 2008 3:44 PM

    Hi All,
    Please note that when I removed the VAT condition type JVRD from the Classify condition types settings in IMG  then the VAT amount which is calculated in the Basic data tab of MIRO is equal to the actual Tax amount as in PO (Excise + VAT ), but the amount which is displayed in the tax tab of MIRO is less.
    Now if I maintain the Classify condition types settings in IMG for my VAT condtn type JVRD then the VAT amount which is calculated in basic data is more than both the PO as well as tax tab in MIRO.
    Please note  as you all have suggested I tried this after creating a new material & with the newly maintained condition records in FV11.
    But still the issue persists..
    If anyone have any idea. plz revert.
    Regards,
    Edited by: SAP FC on Dec 9, 2008 10:23 AM

  • Alternate base for ED calculation in PO

    Dear All,
    Kindly guide on below isse.
    Suppose I have to Procure material A @ Rs. 100 then its PBXX / PB00 value will be Rs.100 and system will pick this value as Base for Excise calculation however there is a discount of 25% leading the price of the Material  to Rs. 25.
    Now I want the system to consider this Rs.25 as base for calculation of Excise duty. Please guide to configure the scenario.
    I am using TAXINN procedure.
    Regards,
    Sananna

    Hi,
    As per SAP standard & statutory norms Taxes such as ED and VAT are always calculate on Gross the condition type for the same is BASB in FI tax procedure. If you wish to add any other condition type such as discount & freight which added to Gross and Excise duties should calculate on this ( Basic+ Freight + discount= Excise 10%) to be calculated in that case in subtotal column of MM pricing procedure you need to enter 4
    In the dame way if you wish the system to calculate Excise duties as (Gross u2013 Freight- Discount= Excise 10% ) then you have to adjust in condition record in FV11 for relevant condition type such as JMOP instead of 10% it might be less than 10 you have arrive to that calculation in the reverse way then maintain the condition in the FV11 If you are using TAXINN procedure or if you are using TAXINJ procedure then in FTXP for the relevant tax code you need to change the calculation in the same way but remember if you carry out this changes in FTXP it will be applicable to all the PO which are using  same tax code .Hope this clear.
    Regards

  • Base amount for tax calculation in billing document

    Dear Experts,
    Can you help me in this scenario
    when i create a billing document
    Selling Price :74,766.36
    Output Tax: 5233.65
    Final Amount: 80,000.01
    the total should be 80,000 in this case as per customer PO.
    the actual difference is coming from Tax rounding off done by SAP.Initially we added DIFF condition to adjust the Tax amount.
    But it is affecting the Output VAT report, where it shows 0.01 values. business does not want that, so we added DIFF condition to Selling Price.
    Net                 74,766.35  THB
    Tax                  5,233.65
    This is how it post to accounting
    01  8000485 Custome. 80,000.00
    50  2100100 Revenue Gds - Dom 74,766.36-
    50  2623600 Output Tax 5,233.65-
    40  2100100 Revenue Gds - Dom 0.01
    But the base amount for tax calculation is not chaning even after adding DIFF condition.
       Tax amount         Base amnt           Tx   Tax ra
        5,233.65-          74,766.36-           O7    7.000
               Output Tax rate 7%
    Is it possible to change the base amount for tax calculation to include DIFF value?
    Can you please advise? If i maintain Tax condition at header level, does this solve it.
    Regards
    Pradeep

    Hi,
    Please check your condition type settings for Rounding Rule
    may be it is marked as commercial
    mark as B and check it might work

Maybe you are looking for