INVOICE의 TAX LINE TYPE이 'IPI' 로 생성

제품 : FIN_AP
작성날짜 : 2003-05-12
INVOICE의 TAX LINE TYPE이 'IPI' 로 생성
==================================
PURPOSE
AP Period Closing 시 발생하는 data 문제를 아래 방법으로 해결한다.
Problem Description
Oracle Applications 11i
Ap Period closing 을 할 수 없고 다음과 같은 Error가 발생한다.
"Total debits are not equal to total credits in base currency for
the invoice"
원인을 살펴보면 Invoice의 tax line type이 'ipi'로 저장되었음을 알 수 있다.
Workaround
Solution Description
1. Unaccounting script를 수행한다.
2. 다음 문장을 수행한다.
- 1. select LINE_TYPE_LOOKUP_CODE
from AP_INVOICE_DISTRIBUTIONS_ALL
where INVOICE_ID = (enter the invoice id whose type is ipi)
- 2. UPDATE AP_INVOICE_DISTRIBUTIONS_ALL
SET LINE_TYPE_LOOKUP_CODE = TAX
WHERE INVOICE_ID = <from above>
3. 다시 Accounting 처리하고 Period Close 한다.
Reference Documents
Note 178291.1

Similar Messages

  • AP Invoice import and tax line

    Hello
    I would like to import ap invoice tax lines in v11i
    For suppliers set up with calculation level at line, I managed to create the invoice with tax line and miscelleneous line but when I validate the invoice, a new tax line is created .
    How can I avoid this without modifying the supplier set up ?
    Thanks in advance for your help.
    Aurelie
    Edited by: user12010732 on 11 janv. 2013 06:08

    Populate tables
    ap_invoices_interface;
    ap_invoice_lines_interface;
    You can take a look the logic in AP_IMPORT_INVOICES_PKG.
    Like as;
    INSERT INTO ap_invoices_interface
    (invoice_id,
    invoice_num,
    invoice_type_lookup_code,
    invoice_date,
    exchange_date,
    exchange_rate_type,
    vendor_id,
    vendor_site_id,
    invoice_amount,
    invoice_currency_code,
    terms_name,
    doc_category_code,
    last_update_date,
    last_updated_by,
    last_update_login,
    creation_date,
    created_by,
    SOURCE,
    accts_pay_code_combination_id,
    org_id,
    attribute15)
    VALUES
    (x_invoice_id,
    x_invoice_num,
    x_invoice_type_lookup_code,
    x_invoice_date,
    x_exchange_date,
    x_exchange_rate_type,
    x_vendor_id,
    x_vendor_site_id,
    x_invoice_amount,
    x_invoice_currency_code,
    x_terms_name,
    x_doc_category_code,
    x_last_update_date,
    x_last_updated_by,
    x_last_update_login,
    x_creation_date,
    x_created_by,
    x_source,
    x_accts_pay_code_com_id,
    x_org_id,
    x_vendor_site_code);
    INSERT INTO ap_invoice_lines_interface
    (invoice_id,
    invoice_line_id,
    line_number,
    line_type_lookup_code,
    amount,
    accounting_date,
    description,
    last_update_date,
    last_updated_by,
    last_update_login,
    creation_date,
    created_by,
    tax_code,
    po_header_id,
    po_line_id,
    po_line_location_id,
    po_distribution_id,
    quantity_invoiced,
    tax_code_override_flag,
    dist_code_combination_id,
    tax_recoverable_flag,----1.4
    tax_recovery_rate,----1.4
    org_id,
    attribute15)
    VALUES
    (x_invoice_id,
    x_invoice_line_id,
    x_line_number,
    x_line_type_lookup_code,
    x_amount,
    x_accounting_date,
    x_description,
    x_last_update_date,
    x_last_updated_by,
    x_last_update_login,
    x_creation_date,
    x_created_by,
    x_tax_code,
    x_po_header_id,
    x_po_line_id,
    x_po_line_location_id,
    x_po_distribution_id,
    x_quantity_invoiced,
    x_tax_code_override_flag,
    x_dist_code_combination_id,
    x_tax_recoverable_flag,----1.4
    x_tax_recovery_rate,----1.4
    x_org_id,
    x_concatenated_expense);
    Run import program.
    Regards,
    Bilal SARIOZ

  • Tax Line in R12 in Quick Invoices Screen

    Hi Friends,
    Actually, am facing some problems relating to eB Tax architecture of R12.
    In R12, I am trying to create one invoice through Quick Invoices screen.
    The invoice contains.. 2 Lines.
    1. Item Line.
    2. Tax Line. I have entered all the information related to Tax (Tax Regime, Tax, Tax Status, Tax Rate Name).
    I saved the invoice and ran the Payables Open interface import program.
    It is getting rejected during import process with the following error.
    "The invoice cannot contain Tax Lines as tax calculation will be done for the invoice".
    Kindly help me with this issue.
    Regards,
    Ajit

    Hi Suhasar,
    Thanks for your response. But the main thihng, i would like to know is:
    In 11i, we used to create a new line of type TAX and work.
    Doesn't the same thing work in R12?
    If not, then why are we allowed to create a line of type, "Tax" in R12?
    What could be the reason for providing it but the same thing does not work out while importing, which works very well in 11i?
    I am quite confused about this. It would be great, if you could help out with this.
    Thanks in advance.
    Regards,
    Ajit

  • How to apply a PO-matched prepayment invoice that has an extra tax line??

    I have a situation where I created a prepayment that's matched to a PO, but since the prepayment invoice document has VAT associated to it and not the PO, I need to add that extra line. So after matching the prepayment to the PO, I added an extra line on the prepayment as Item type TAX.
    Now after creating the actual invoice, when trying to apply the prepayment on the invoice, I can only see the actual PO amount and not the VAT line that was added afterwards to the prepayment. Therefore the invoice goes on a distribution variance hold.
    My question is how would I be able to create a prepayment that's matched to a PO and that has an additional TAX line and then later on apply the full amount to an invoice?
    All responses appreciated!

    Hello
    I still have to investigate for a problem with prepayments and line level calculation also (no PO matching involved), here is what I foundin the main AP doc (115apug.pdf, 4-150 to 4-155)
    *Applying Prepayments in the Invoice Workbench*Payables creates Tax distributions automatically either when you choose the Calculate
    Tax button in the Distributions window, or when you submit Invoice Validation for the
    invoice. For invoices you enter in the Invoice Workbench, you can apply a prepayment
    either before or after you validate an invoice, or while you are entering it. If you use Line
    level or Tax Code level automatic tax calculation, Payables always creates separate tax
    lines for your Item and Prepayment type distributions.
    Note: Use automatic tax calculation to create tax distributions for
    prepayments. Manually created tax distributions for prepayments are
    not included in the Distribution Total. If the Distribution Total does
    not match the Invoice Amount, Payables applies a hold to your invoice
    during Invoice Validation.>
    Hope it helps ;°)
    I'll keep you inform if I have further info about my case
    Xavier

  • AP: Invoice Imports/ Miscellaneous Invoice Line types

    Hi All,
    I had two issues while I was importing my invoices in AP through AP Invoices Open interface:
    1. Freight Charges
    2. Some Unit Royality Charges.
    Both of these things are not included in my PO, so I needed to create additonal invoice distribution lines with in the same invoice and also had to assign a GL account while creating the invoices. The other Item type lines get the GL account code from PO while matching is done during AP Open Import process.
    The Freight charges problem is resolved. The solution for that is as follows for your reference.
    Functional Steps:
    1. With Accounts Payables Manager responsibility , go to
    Setup->Options->Payables.
    2. Select Invoice from drop down list box.
    3. In invoice region Ceck the Automatically Create Freight Distribution Option.
    4. Supply default Freight Account for Freight Distributions.
    Technical Steps:
    1. Create an additional Invoice distributions line for freight in AP_INVOICE_LINES_INTERFACE table which should not have the PO level information.
    2. Set AP_INVOICE_LINES_INTERFACE.Prorate_across_flag = 'Y'
    3. AP_INVOICE_LINES_INTERFACE.line_type_lookup_code = 'FREIGHT'
    4. Set AP_INVOICE_LINES_INTERFACE.LINE_GROUP_Number as same in both the ITEM and Freight Invoice distribtuion line which are interrelated.
    The above resolves the Freight issue and you can reproduce it in your environment.
    However, I have another amount from my supplier which is called "Royality Charge" on every item which are also not present in my PO. My supplier sends these charges with Invoice lines the same way Freight charges are sent. I am thinking of creating additional Invoice lines marked as "Miscellaneous" Invoice Lines type for this charge. The problem I am facing with Miscellaneous Lines is that I cannot find a place where I can setup the Account code for such Invoice distribution lines, like I got for Freight Type Distribution lines as described above in Functional steps. Can anyone guide me in this regard or can give me an alternative workaround to handle my Unit Royality Charges?
    Thanks
    Faisal .
    [email protected]
    null

    Apologies for the late response, have only just spotted the question.
    You will need to register "line-item job-level chains of approval" under payables transaction type before you can select it from the picklist:
    Setup\Action Types\"Use Existing Action Type" button, then select action type and continue.
    Hope this helps (if you haven't already resolved yourself)
    James

  • Substitution of Business Area for Tax Line Items for Invoices posted in MM

    Hi
    We have one Business Area for every company code. A substitution rule has been created to populate Business Area in Tax Line Items, while booking vendor invoice. The substitution rule has been defined as
    Prerequite
    Company Code = 1234 and GL = 1323232
    Substitution
    Business Area = 6668
    The system is working fine, when the Vendor Invoice is posted through FI. However, when the vendor invoice is generated through MIRO or MIR7, the Business Area is not substituted.
    In Table VWTYGB01, we have maintained BSEG-GSBER as a field allowed for substitution with Boolean Class 09.
    We have created the susbstitution rule for Text and Assignment also and the rules are working fine for all document posted through FI and MM
    Regards
    Sanil
    Sanil K Bhandari

    Hi
    Business Area is a sensitive field, agreed. However, the substitution rule is working fine for FI posted documents and the issue is in MM generated documents.
    Regards
    Sanil Bhandari

  • India Localization - AP - Asset Invoice with Tax Lines

    Dear Experts,
    In India Localization If I have Asset Invoice with Tax Lines and If I Perform Mass Additions will Tax Lines also Interfaced to FA or only Asset cost will be transferred FA (Excluding Tax Lines)
    Please help me out.
    Thanks
    Bharath

    Bharath,
    even though the tax lines are independently transferred to mass addition and merged ... it is merged to its owning transaction ... like if the invoice in AP is created for a capital asset using the Capital asset clearing account, the tax lines in that invoice is merged automatically to that invoice cost line in the mass addition stage ... similary for CIP clearing account ....
    Regards,
    Ivruksha

  • Relation column for Tax Line and Item Line in AP Invoice Ditributions 11i

    Hi,
    We have requirement of populating Line_Group_Number in AP_invoice_lines_interface for a related item line and a Tax Lines. We are getting the data for AP invoices from 11i.
    Could you please let us know column which can show the relation between a Tax Line and a corresponding Item Line in AP_invoice_distributions Table in 11i.
    Thanks,
    Bhanu Kiran

    hi,
    If you are using business area method then you want to create all sales tax GL with business area optional. And You create one GL like Tax clearing account(business area optional)and assign the same in OBXM against all the sales tax GLs.
    Then you want to run F.5d and F.5e on everymonth.
    govind.

  • ISupplier invoice on hold whn cancelled the tax line from AP invoice screen

    Hi Friends,
    Invoice with tax amount has been created from iSupplier and AP user cancelled the tax line(invoice workbench) and click in validate invoice.
    Invoice is now on hold, "Line Variance" hold. and AP team unable to update the invoice header amount as it is grayed out. Please suggest how to correct and process the invoice.
    Thanks
    Nishita
    Edited by: 928295 on Jan 7, 2013 2:06 PM

    Hi Nishita,
    1) were you able to make modifications to the invoices that are created from i supplier in Payables earlier ..?
    2) If this issue is not happening earlier, and started to happen very recently is there any change taken place in the environment like patch applications etc...
    3) When an issue is reproducible at will, it can be concluded in two ways, either it is an intended functionality or it is a Bug ..
    I am unable to gather any documentation stating this is an issue, however i was able to find a reference which states one cannot modify the invoices that are imported from isupplier as it will cause mismatch between the modules ... if one needs to make any adjustments they are to cancel the invoice and create a new one ....
    References:
    Unable To Adjust or Discard Freight On iSupplier Invoice Imported into Payables [ID 1431537.1]
    Regards,
    Ivruksha

  • AP Invoice Validation Program deleting the tax lines after reclassification

    Hi,
    Environment:
    R12 Oracle Payables
    Database: 10.2.0.4.0
    Whenever I run the AP Invoice Validation Program after reclassification, it is deleting the original and reclss tax entries.
    Does anybody know the reason for this, and how to prevent the deletion of tax lines ?
    Thanks in Advance
    Karbi

    THanks V.kras for the information...
    Is is possible to make the system find rules after reclassification....??
    Is it a bad idea to perform validation after reclaasification, as I am losing the existing (original) tax lines....??
    Thanks in Advance
    Karbi

  • API to cancel tax line in Invoice in R12

    Please let me know the API which can be used to cancel the tax line in invoice in R12 in backend. From front-end, In the “Tax Lines Summary” block there is something called ‘Cancel’ checkbox. If I click on the same and then press OK button then oracle makes the tax amount to zero. It is actually cancelling the tax line. So, For the tax line with amount 100 when we press OK button after clicking on the cancel checkbox, it makes the line amount of tax line to 0.
    I need to do the same thing from backend also. Please let me know which API can be used for the same purpose.
    Regards,
    Amitava.

    Amit
    It is not public but you can use
    ap_etax_pkg.callETax with invoice and line id (line number). calling action should be DISCARD LINE.
    Thanks
    Nagamohan

  • Splited tax line for IN invoice

    Hi Guru,
    Could you please help me to fix issue of SAP SD for Tax in India. Please find the below expectation of user: The below scenario is pertaining to India.
    If we book one order of worth INR 1000 (labors + Parts price ). System split the tax like into two tax line and tax treatment  for 65% of labor should be at 12.36% and 35% at CST 2%.
    Total Base Price
    1000
    Labors
    650
    Service Tax @ 12.36 %
    80.36
    Parts
    350
    CST @ 2% against form C
    7
    Total Tax
    87.36
    KR
    Riti

    Hi,
        You can config 5 condition type, and add them to a pricing procedure like this:
    step     ctyp     from     to     statistics     Acckey
       10          ct1                                     X
        20         ct2           10      10                              acckey1 
        30         ct3           10      10                              acckey2  
        40         ct4           20      20                              acckey3
        50         ct5           30      30                              acckey4
    After that, you should allocate G/L account by the combination of sales organization/distribution channel/division/acckey. Such as:
    acckey1     labor revenue account
    acckey2     part revenue account
    acckey3     tax1 account
    acckey4     tax2 account

  • How to bring tax Lines in AP Invoices - R12 ?

    Hi All,
    I have  item and tax lines in the inbound file . I need to bring it .
    Wrokaround  :
       I can generate tax line with tax control amont in header level / populating tax classification code in Item Line . But my requirement is to bring tax line as per the inbond file.
    Appreciate if you can provide sample code /suggestion.
    Thanks,
       Arya

    First of all are you setting up your EBTax as rule based engine or you want it to behave as in 11i i.e you are using the STCC(Standard Tax Classification Code) option.
    If you are setting it up as a rule based engine the tax engine should be able to determine all the applicable taxes and apply the same. So setting up of tax groups should not be necesary.
    For the STCC case not sure...will get back....
    Regards

  • Withholding tax line items are not post

    Hi,
    I was configured all the steps for extended withholding tax up to Assign withholding tax to vendor master data
    and the i am used to post an vendor invoice
    given all required feild and press enrer and display the withhoding tax codes screen here also press enter button ....  i entered all required field and go to simulation this posting i am getting only 2 line items
    like for eg: --- Inventory Debit ,   Vendor Credit  only
    here my problem is i am not getting the all with holding tax line items
    please hepl
    Sree

    Dear Sree,
    if You defined the WT type at the payment time, the WT line items will be created at the payment time and not during the invoice posting.
    Please check.
    Mauri

  • Business Area postings in Tax line items

    Hi Experts,
    As we know that Business Area is not updated in the tax line items, In one our company code we have done BA adjustment through F.5D and F.5E in 2007, after that there are thousands of line items in the system without business areas, now my client wants a tallied business area trial balance from 2007 onwards or aleast to ensure that the tax line items should get business area assignments from hereafter,  and also recently we have created one more company code, Please help how do I ensure that all the tax line items and items with blank business areas get the business area postings. Is there any user exit or any work around available for this... At present we have only one GL for Inter business area clearing for all types of accounts (reconciliation, tax accounts) in OBXM.
    Please help...
    Regards,
    Khan

    Hello,
    Are NewGL and document splitting active in your system? If yes, you should solve this problem with using splitting function.
    Otherwise, you can use business transaction event 00001120.
    I explained step by step how can you activate BTE 00001120. I give you message below.
    Re: FBCJ - Cash Journal Transaction
    In this exit, you must update t_bsegsub-gsber field which t_bseg-buzid = 'T' for tax item.
    But you can not split tax line items in this exit. For example in invoice you have 2 or more business area, but tax line item doesn't create for each buiness area (If you don't use document splitting functon). So in this exit you can only assign a business area to tax line item which is automatically generate while posting FI document.
    Regards,
    Burak

Maybe you are looking for

  • LAN performance is really slow

    Generally I get a maximum transferrate of 1.7Mb per second. The valet M20 that is rated upto 300 megabits per second which should deliver upto 37.5 megabytes per second (at maximum) perfomance over a lan (1mb = 8mbps).   Considering the two computers

  • Adobe Story Will Not Update

    Hello. I have been trying for the longest time to get back on to Adobe Story to continue working on a screenplay I am writing. But all I ever get when clicking on it is that it insists on updating. After it does that, Adobe Air says it's preparing to

  • Merging PDF files

    Can someone please tell me how to merge multiple PDF files into one PDF file?

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All, I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use <  but it's not working, I have attached sample code. <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="

  • Data sometimes not showing

    Hi All, I have a strange problem. I have made a workbook with multiple sheets. Some of these sheets report on the same field from the database. I now have the strange issue that sometimes in one of the sheets the field is filled while in another shee