Tax Code in PO under Invoice tab

Hi,
  I want to know how Tax code is getting populated in PO under Invoice tab.
is it thru config or anywhere in ME21N code we can write the custom code.
i have to findout how its getting populated, reason is for same kind of po data it is populating different tax code.Thanks in advance
Suresh

Hi,
The tax code gets populated from the vendor you would have given in the PO.
If the  vendor's address is given along with the tax code during the vendor creation, then the tax code gets automatically populated.
Please do confirm this. But this is what i have found out.
Thanks.

Similar Messages

  • Tax code field under INVOICE Tab to be Mandatory for Inter Company PO

    Dear All,
    In MIRO  Tax code field under INVOICE Tab to be Mandatory for Inter Company PO u2013 ZNB & ZRT for company code 0001.
    How do we set as mandatory fields for those two intercompany document types.
    Regards,
    Teja

    Hi
    If u want to maintain tax code as mandatory field in PO?
    Then SPRO- SAP IMG- MM- Purchasing - Purchase order- Define document types
    In this check the filed selection key for the document types.
    Then select the SPRO- SAP IMG- MM- Purchasing - Purchase order- Define svreen lay out at document level.
    In this for the field selection key select GR/IR control and click on tax as required. and then save
    It will not allow to create PO with out maintaoning tax code.
    If u want to do tax code as mandatory in MIRO
    Then Go to OLMRLIST and make changes accordingly.
    Thanks
    Raman

  • Cannot change Tax Code of A/R Invoice line

    Hello,
    I had this small problem where i cannot change the tax code of A/R invoice line.
    ARInvoice.Lines.TaxCode = "O1";
    But after i added the invoice, it seems that SAP still used the default TaxCode which is X1. Am i missing something? I've been stuck in this problem for over two weeks now.
    Thank you, any help will be appreciated.

    Here is my SAP Settings.
    G/L Account Determination
       Sales - Tax
              Sales Tax Group (Service) = Exempt Output
    Business Partner Master Data
       Accounting - Tax
              Tax Status = Liable
    And here is my code snippet for creating and adding of A/R Invoice :
    SAPbobsCOM.Documents _oARInvoice = (SAPbobsCOM.Documents)this.COMPANY.GetBusinessObject(BoObjectTypes.oInvoices);
                _oARInvoice.CardCode = pCustomerId;
                _oARInvoice.HandWritten = BoYesNoEnum.tNO;
                _oARInvoice.DocDate = pPostingDate;
                _oARInvoice.DocDueDate = pPostingDate;
    double _total = 0;
                if (pInvoiceType == SAPVariables.INVOICETYPE.SERVICE)
                    _oARInvoice.DocType = BoDocumentTypes.dDocument_Service;
                    for (int i = 0; i < pARInvoice.Rows.Count; i++)
                        if (i > 0) _oARInvoice.Lines.Add();
                        _oARInvoice.Lines.SetCurrentLine(i);
                        _oARInvoice.Lines.ItemDescription = pARInvoice.Rows<i>["SERVICEDESCRIPTION"].ToString();
                        _oARInvoice.Lines.AccountCode = pARInvoice.Rows<i>["GLACCOUNT"].ToString();
                        double _discountPercent = 0;
                        double.TryParse(pARInvoice.Rows<i>["DISCOUNTPERCENT"].ToString(), out _discountPercent);
                        _oARInvoice.Lines.DiscountPercent = _discountPercent;                   
                        double _lineTotal = 0;
                        double.TryParse(pARInvoice.Rows<i>["AMOUNT"].ToString(), out _lineTotal);
                       // This part here, does not reflect in SAP
                        if (_lineTotal >= 2500000)
                            _oARInvoice.Lines.TaxCode = "O1";
                        else
                            _oARInvoice.Lines.TaxCode = "X0";
                        _oARInvoice.Lines.PriceAfterVAT = _lineTotal;                   
                        _total += _lineTotal;
    else
                    this.ERRORMESSAGE = "Invalid Invoice Type.";
                    throw new Exception("Invalid Invoice Type.");
                _oARInvoice.DocTotal = _total;
                _oARInvoice.Comments = pComments;
                this.LASTINSERTINVOICEID = "";
                this.RETURNCODE = _oARInvoice.Add();
                if (this.RETURNCODE != 0)
                    int _tempErrorCode = 0;
                    string _tempErrorString = "";
                    this.COMPANY.GetLastError(out _tempErrorCode, out _tempErrorString);
                    this.ERRORCODE = _tempErrorCode;
                    this.ERRORMESSAGE = _tempErrorString;
                    _result = false;
                else
                    this.RECORDSET = (SAPbobsCOM.Recordset)this.COMPANY.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    this.RECORDSET.DoQuery("SELECT MAX(DocEntry) FROM OINV");
                    this.LASTINSERTINVOICEID = this.RECORDSET.Fields.Item(0).Value.ToString();
                    _result = true;

  • Tax Code in PO and Invoice

    Is there a config to validate whether Tax code in Purchase Order and Invoice are same ?
    My requirement is as follows:
    PO is created with a specific tax code.  If Invoice in MIRO is created with a different tax code, there should be an error or warning msg saying "Tax code in Invoice differs from PO".  Is there any config to do this ?

    hi
    see this you can control by seeting message as error and the system will give you warining that the tax code you have enterd is different from th ePO.
    this you can check in the message attribute for the LI V.you have see that message number and make it as error in the define attribute for the message.
    Regards
    sunny

  • Tax code in A/R Invoice drops when the Ware House Code is changed

    Hello All,
    I am Using SAP Business One 2005A PL12 with Canadian Settings.
    When I add an Item in the A/R Invoice, it comes with a default TAXCODE, but when i change the ware house code the Taxcode drops,
    Can any one tell me why is this so?
    Thanks in advance
    Manish

    Manish,
    I am not sure if you mean you are using Business One 2005A SP00 PL12 or 2005A SP01 PL12.  In both cases, PL 12 is very old.  You should download the latest patches for your specific version, apply and retry your code.
    Eddy

  • Defaulting tax code at the time of PO creation

    Hi Friends
    How do i default  tax code in a PO
    for a combination of
    COCD
    pur. org.
    PO doc. type
    when ever
    COCD == X &
    Pur. org -== Y
    P.o Doc type == NB
    then i should have Tax code == Z in the invoice tab of PO item details.
    if some thing other than Z is used then system should issue an
    error message at time of Saving the P.O.
    i do not want to hard code Tax code for a GL account,
    as this GL account will be used by many other Pur org.
    thanks
    Prasanna

    Hello Prasanna,
    Come to the practical business.. The tax code may varies based on Vendor, material, location then how can you set tax code with the combination of your entities i.e. Com code, pur org and doc type.
    You can maintain in Inforecord that will copied to Purchase order.
    If you still want to make it default then use the relevent user exit as suggested by Charlie.
    Hope this will clear.

  • Tax code accounting

    Hi Gurus,
    I need to configure the Tax code as per below requirement for my client. Say I have created 2 tax codes V1 & V2
    For V1 tax code in PO at invoice tab the system will display
    Base amount --100 USD
    Input tax -- 8%-- 8 USD
    Total -
    108 USD
    But during Invoice Verification my client wants like this
    Vendor Account=100 USD (Credit)
    GR/IR Account = 100 USD (Debit)
    Tax Account = 8 USD (Credit)
    Expenses A/c = 8 USD (Debit)
    As per his explanation he will not pay the tax amount to Vendor as Vendor is not passing the tax but the client has to pay to Government.
    How to avoid the tax amount not to add to vendor account ?
    So please explain me is it possible in SAP how can we do it.
    rgds
    Swamy

    Hello,
    Can some body help me in this, Its an Urgent issue.
    Shall I proceed to OSS to check the process, or anybody has the knowledge on this issue.
    thanks in advance.
    rgds
    Swamy

  • Excluding Freight Value from PO after insert CST Tax Code in Invoice Tab

    Hi,
    While we are creating PO, in Condition insert Freight & CST Conditions.
    Problem is that when we insert the CST Tax Code (C2) under Invoice Tab, then Freight Value should exclude from the Conditions. So, user have to insert CST Conditions manually in PO.
    We want that when we insert the CST tax code in invoice tab, CST value calculate with Basic Price and should no impact on Freight Value.
    Plz guide..

    Hi,
    Have a thought to capture freight cost to be captured in separate G/L,
    1.Select freight condition type in M/06 ,go to details & select accrual flag in control data 2 TAB & save.
    2. Also for freight condition type in M/06 , select delivery cost(B) in condition category in contorl data 1 segment.
    3.Have account key & accrual key for the freight condition type in calculation schema in M/08.
    4.In OBYC, you need to assign account key with your Freight G/L.
    In PO, you can see all value &  NET Price is calculated without freight cost. Now you can have a logic( in tax procedure) to calculate all taxes from BASE AMOUNT(BASB) from net price.
    Regards,
    Biju K

  • Tax code on the basis of Invoice Date in MIRO

    Hi Gurus!
    Tax rate change from 12.5% to 15 % is due on 1st October in NZ._________________
    Client requirement is that in MIRO transaction w.r.t. PO instead of the tax code being picked up from PO, the Tax code should be picked up depending upon the Invoice Date. _____________
    For Eg. Tax rate changes from 12.5% to 15% on 1/Oct/2010,
    Invoice Date = 20/Sep/2010, Posting Date = 20/Sep/2010, Tax Code = H1 (12.5%)
    Invoice Date = 20/Sep/2010, Posting Date = 01/Oct/2010, Tax Code = H1 (12.5%)
    Invoice Date = 01/Oct/2010, Posting Date = 01/Oct/2010, Tax Code = H3 (15%)
    Is there a way this can be achieved?
    Kind Regards,
    Mehul

    Hi Mehul,
    We just had such situation in Canada.
    It is recommended not to change the tax rate in the Tax code which is being used in open invoices because that could cause reporting and discount problems. And I am sure there will be open invoices with tax rates 12.5% come october 1. The solution is:
    Create a new Tax code in transaction code FTXP with rate 15%( effective date Oct 1 and set the same GL Tax account) everything as old tax code except for 15%  which will used for POs initiated from Oct1 onwards. For PO's prior to Oct 1. just use the same tax code with 12.5%.
    During MIRO the Tax code/rate  used in PO will be default,  you will have the option to go with old Tax code-12.5% or new tax code 15%.

  • Table for purachse order tax( Invoice tab)

    Hi,
    Can anybody tell me table name for purchase order taxes which are matainined in invoice tab.
      Thanks and Regards
        Anil

    hi
    check KONP table in SE16
    following are condition related tables
    check following tables
    TSTL Taxes: Valid Tax Categories for Each Country
    KNVI Customer Master Tax Indicator
    KNAT Customer Master Record (Tax Groupings)
    KONH Conditions (Header)
    KONP Conditions (Item)
    KONV Conditions (Transaction Data)
    Vishal...

  • We are Not able to Add, approved A/P invoice - Error - Tax code Missing

    Dear Experts,
    In A/P -> A/P service Invoice
    When We are going to Add Approved Invoice ,system can not allow . This
    invoice is go through a approval process ,system can not allow to change any
    of document row during approval process or after approval process.
    we are unable to add tax or remove line item after approval.
    We are Not able to Add, approved A/P invoice - Error - Tax code Missing
    [A/p Invoice Row -Tax code] Line 3 [Message 3513-14]
    I think ,It should allow the system to edit the row tax or amount after or during
    approval process

    Don't worry,AP invoice is not get posted,it will be saved as draft only,
    Default tax code for purchase documents using tax code determination.
    Create new ap invoice with tax code and send it for approval.
    Orginator should ensure all mandatory fields in document are entered correctly before
    sending it for approval.

  • Diff. between Tax Code and Condition Types

    Hi,
    What is the diff. between Tax Code and Condition Type???
    Why we maintain Tax Codes under Invoice Tab in PO, when Condition Types are available for Calculation Procedure...???
    Please guide..

    hi..
    Tax code : Tax code in some what more specific for calculating the tax...some material is having 2% tax..some having 3 % tax..etc..and these are input tax...so..these tax code will be of type input tax..
    now..based on the nature of tax type amount will be calculated....
    suppose tax code is calculation of 2 condtion type so ..we can do it in tax code conditon record fv11 also..
    so..tax code can be a combination of cond type...
    where as through cond type also we can also achieve this..by using one statistical cond type...
    Cond Type :  cond type is for the daily pricing configuration..how system will calculate the price for a centain material we can make define the rules here...
    Try this out..
    Thans

  • Acquisition tax in Belgium/Germany-Posting with different tax codes

    Dear Friends,
    Does anyone have experience working with Acquisition tax in Belgium and German where the goods and services purchased within EU have 21% -input and output tax such that it is ZERO. But still Tax authorities need to see both input and output tax amount with different tax code such as under:
    Expense a/c Dr 100
    Payable a/c Cr 100
    Input VAT a/c Dr 21 - Tax code A1
    Output VAT a/c Cr 21 - Tax code B1
    Any help as to how to post the above entry and how to customize tax code to get the above result and any changes if required in country code tax calculation procedure will be greatly appreciated.
    Thanks,
    Pinky

    Hi Pinky,
    When you define your tax codes, the system defaults certain tax types that have been defined in the system for specific countries. Input tax, output tax, and non-deductible input tax are examples of tax types used in Germany.
    The system determines which tax types are to be displayed by means of the country key. A calculation procedure is specified for each country key, and this procedure contains the country-specific specifications for calculating and posting the different tax types.
    When you define the calculation procedure, you must answer the following questions concerning each tax type:
    What is the base amount for calculating the tax? This can be the expense or revenue amount or, as with sales equalization tax in Belgium, a tax amount.
    Which calculation type is used to determine the base amount: percentage included or percentage separate? With very few exceptions (such as for travel expense accounting in Germany), the base amount is normally determined percentage included.
    The tax amount is 15%.
    Percentage included
    Tax amount = invoice gross amount * (tax rate/100 + tax rate)
    150 = 1150 * ( 15 / 100 + 15)
    Percentage separate
    Tax amount = invoice net gross * tax rate/100
    150 = 1000 * 15 / 100
    To which side of the account must the tax amount be posted? The input and output tax is always posted in accordance with the G/L account and asset line items. For the tax to be posted additionally, the side of the account is determined depending on the input or output tax. For the acquisition and investment tax, for example, you post to the opposite side of the account.
    Should a possible tax expense be divided between the G/L account and asset line items or posted separately? If, for example, you have a non-deductible input tax amount, you can choose whether to post to a separate expense account or apportion the tax expense between the G/L account and asset line items.
    The type of tax calculation and posting depends on the answers to these questions and the combination of those answers.
    The following topics introduce individual tax types and explain the necessary specifications for calculating and posting tax. For more information on the calculation procedure, see The Calculation Procedure.
    See also:
    Tax on Sales/Purchases: Input and Output Tax
    Non-Deductible Input Tax
    Deferred Tax: Italy
    Sales Tax
    Use Tax
    Tax Calculation With or Without Jurisdiction Code?
    Entering Taxes with Jurisdiction Code
    Acquisition Tax
    Investment Tax
    Sales Equalization Tax
    I hope this link will help you
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/e5/077e394acd11d182b90000e829fbfe/frameset.htm
    Regards
    Odaiah

  • Tax error while posting an invoice in SRM

    We are using SRM 5.5 SP4, ECS and ECC 6.0. We are using vertex for tax caluculation and we configured the tax calculation to always occur in ECC.
    One more important point is, client has decided to use invoicing in SRM. Now the problem is we ran in to so many tax related issues and we opened OSS messages for this but SAP did not help. Let me explain the problem in detail.
    1) We used to get "Tax jurisdiction code could not be determined" error while creating shopping cart, but we implemented note 436760 and hardcoded a value and got rid of that error.
    2) When we create a SC, the copy of PO is created in ECC and vertex is called for tax calculation and tax is calculated properly based on the tax hierarchy except when you use the Shipping Address (external), so when I used the delivery address other than plant, it should calculate based on that address but it was not doing that, its calculating based on the cost object's jurisdiction code. For this problem, we have implemented ME_ADDRESS BADI in ECC, but with this BADI, it is always taking delivery address's jurisdiction code, which is also wrong.
    The tax jurisdiction determination should be from 1) Delivery address if its different from plant, else it should look in to the cost object, else storage location then plant.
    So we implemented the above logic in that BADI and there is no problem with PO taxes.
    3) When we create an invoice with reference to PO, the invoice verification program is always determining the tax jurisdiction code from plant even though the taxes on PO are calculated based on cost object, hence the IDOC is erroring out by saying there is a difference in tax.
    So we implemented the user exit and used the same logic of tax determination and its fixed now.
    4) Finally, we are trying to create invoices without PO's in SRM, here no tax calculation is happending in SRM, but when we try to post the invoice in to ECC, we are getting the following error
    "SAX processing failed on input stream#SAX processing failed when attempting to add child element to parent.  (parent element=com.vertexinc.tps.common.domain.LineItem, child element=com.vertexinc.tps.x.."
    So I am not sure how to fix this, we are at the dead end now out of ideas, so trying to get some help from experts like you about looking at this problem in a different angle. Now there are a couple of questions I can ask you
    1) Did we do something wrong by selecting R/3 as the tax calculation system, if not is it difficult to fix this error and move forward?
    2) What if we need to change the design and start calculating the taxes in SRM by connecting SRM to Vertex, will there be any new challenges? and do you have any config doc for this? Also we are implementing this rollout for US, Canada and Mexico companies.
    I would really appreciate if you can reply me with your valuable input. You can also email me if @ [email protected]
    Thanks a lot,
    Sreedhar

    Hi
    <b>It's recommended to have the same Tax related configuration data replicated in SRM system from R/3 as well.
    I don't recommeded you to go with Hard-coding of tax codes.
    We have faced similar issues with Delivery address and we have to solve it using our custom logic inside the BBP_DOC_CHANGE_BADI  and BBP_CREATE_PO_BACK BADIs.</b>
    Anyways, send the detailed business requirements to my mail which are already having with you.        )
    I will definitely help you out.
    <u>Please refer to following threads as well.</u>
    <b>sales tax gurus
    How to display country related tax codes in SRM
    e-Invoice tax calculation.
    Tax code T1 does not exist for jurisdiction code error in shopping basket
    Drill down facility not working for Tax codes ....Urgent!!!!!
    Tax Issue
    Tax Calculation
    Tax setting in Extended Classic Scenario
    Withholding Tax in SRM5.0
    IDOCS for Tax Information
    Taxes in Bid Invitation
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Calculation of  tax via tax code

    Dears,
    There are some concepts about the pricing in PO that I never got it clear. I really appriciate it if someone can help me.
    1. What is the base amount for calculate the tax via tax code?
    In the invoice verification there often is a tax code in which a tax rate is decided. But what is the base amount of the tax? How does the system get the base amount from all kinds of conditions from purchase order? Does it related to the configuration in the condition type, or in the calculation schema?
    I looked into the tax code configuration to find the base amount condition type as BASB without any access sequence. and for India there is a basetype 362 in the pricing schema. I can not understand the code in routine 362, and for example there even isn't a basetype in China. Then how does the system get the proper amount for calculate the tax?

    You can create the Reg Info with the Plant and this message will not happens...

Maybe you are looking for

  • Can I install Windows 7 (64 bit) on late 2013 edition of MacBook Pro?

    Can I install Windows 7 (64 bit) on late 2013 edition of MacBook Pro using Bootcamp? Before today, I would have never even asked this question due to the large number of users who continue to use Windows 7 in the PC world!  However, there seems to be

  • Petstore cannot finish the transaction

    I have setup a iplanet application server 6.5, and web server 4.1sp9, i want to test the petstore 1.1.2. i according to http://developer.iplanet.com/appserver/samples/jps1.1.2/docs/index.html install, all the thing is okay, i can install database tab

  • Forum problem?

    Many questions with last post today show the question is answered but when opened they indicate not answered...

  • Desktop won't see Outlook

    I've got a new Curve 8530.  Phone set up went fine.  The next step is to sync it to my Microsoft Outlook Calendar, Contacts, Tasks, and Notes.  I installed the Desktop software from the CD that came with the phone.  It takes me through the point were

  • Talk to me about iWeb

    Currently, I'm using Homepage for my business site. I have an domain name which is set to forward to my .mac homepage. For the past couple of months I've been creating new pages using HTML(in notepad) which have not been uploaded yet. I had planned t