How to create Payment against the invoices in R12 using API/Interface table

Hi Experts,
I need your help.
As per my requirement , we need to create the payments against the invoices using the payment information provided.
Earlier the Payments against the invoice is done by (3rd party system) in 11i.
But, as a part of R12 implementation,
The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
COLUMNS PROVIDED
SOURCE
INVOICE INTERNAL NUMBER #
ACCOUNTING SEGMENTS
DEBIT/CREDIT
AMOUNT
CURRENCY
BANK ACCOUNT
PAYMENT DATE
DUE DATE
PAYMENT METHOD
PAYMENT TERMS
BATCH ID
We need to create an inbound interface to achieve the below requirement.
1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
3. Finally we have to posting the same into GL.-- Interface & Import programs available.
Is there any api or interface tables can be used to create the payment against the invoices in r12?
Could you please help me to achive my above requirements.
Any sample code or reference will be a great help for me.
Waiting for your response.
Thanks,
Thiru.

Hi Thiru,
Perhaps these links can help:
http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
See "Understanding Oracle Payments APIs" here:
http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
If this answers your question, please mark the post. Thanks.
Kristofer Cruz
Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM

Similar Messages

  • How to treminate or endate the supplier In R12 using API

    Hi ,
    I want to terminate the supplier in R12 is thier any API?
    Thanks
    Triveni

    You may try:
    POS_VENDOR_PUB_PKG.UPDATE_VENDOR
    or
    AP_VENDOR_PUB_PKG.UPDATE_VENDOR
    I think you can update the effectivity dates with those APIs.
    Hope it helps

  • How to do Payment against Proforma invoice with excise duty?

    Hi all
    I am using SAP B1 9.0
    I have a scenario like, I want to make a proforma invoice partially/fully for the customer order(sales order) with excise duty and I will receive payment against this invoice.
    I tried to use AR down payment request , thus I can create proforma invoice for partially/fully and I can do incoming payment also, but the problem is I can't use Excise duty(CENVAT) in down payment document. Is there a way or work around for my issue?
    Thanks in advance.
    Pravin

    Hi,
    In standard SAP B1, we can't select Excise tax code in Down payment request document and it will not allow also
    Find below the workaround solution:
    1. When you are raising Down payment request, enter DPM value including Excise Duty. i.e. If the base value is 1000 and Excise duty 120, enter 1120 in DPM value, the percentage will become 112%. In case of partial also calculate partial excise duty and add in base value and enter in DPM value.
    2. Based on Down payment request book the incoming payment
    3. Adjust Down payment request in final AR Invoice it will get adjusted in total value.
    Note: The Excise duties will book at the time of OEI booking (as per legal req). We can't book the excise at the time of Down payment. 
    Regards,
    Kiran 

  • Can't create payment for the invoice created by DI Server

    I can not create payment for my invoice that created by DI Server.  The error -2028 appears. I investigated this issue and found that the OINV.CtlAccount is empty. After I filled it manually, I can create the payment for it. Any suggestions? BTW, the version used is SBO2005B.

    It's resolved by apply the patch. Before that, I create a trigger as the work-around

  • How to create new cost groups in inventory org using API or open interface?

    Hi,
    I would be very kind of you if you can provide me with a solution to my question below.
    I have a requirement of copying all the cost groups from one inventory org and creating the same cost groups in another inventory org using programmatically. Is there any API or Open interface that can be used to create the cost groups in the new inventory organization? If not can you suggest any other way of fulfilling this requirement?
    I would highly appreciate your help.
    Thanks,
    Ranajit

    hi,
    think, it's not possible.
    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/71e05a448011d189f00000e81ddfac/frameset.htm
    "The field groups and their respective fields are defined in system tables"
    kind regards
    Andreas

  • How to clear the down payment against the vendor invoice in the payment program?

    A down payment is made $25 Later an invoice is posted for $100 Now i want to Pay $75 to Vendor But the Automatic payment program  is not clearing the down payment against the vendor invoice. Could you please help how to clear the down payment against the vendor invoice in the payment program?

    Swathi,
    Need your help i have a strange situation
    1) F-48 and document posted with document no = 15..... in company code = L002 with payment block getting populated automatically
    2) F-48 and document posted with document no= 15..... in company code = Us11 without payment block and the screen does not even show payment block, I had to check this from BSEG table
    My question is
    a) How and where does this payment block is triggered through configured and how to process next steps.
    b) when I use F-48, how do we do the actual payment, is there a check printing and linking it to the KZ document or is check printing done outside the system and the KZ document type does not have any linkage.
    c) If I do FB60 for a higher amount how do we pay partial amount.
    Your response is appreciated.

  • Purchase bills payments against the PO (URGENT)

    hi experts
    i am finding ap invoices payments against the Purchase orders. where i can get this informations stores ..can anybody tells me where should i focus .. and in which tables i can get this information combination stores.
    In the depth explans that i create 1 po and against that po i have received goods ..and now i create ap_invoice and create my liability and finally i paid- off these dues .. now question is the payment i made is against which PO ? in the application you can see but easily but where these information stored in tables ...i search all the ap tables and po tables but i failed to findout the relation between po and payments.
    any help and any idea would be appriciatable
    regards
    Anwer

    Thanksfor reply
    But if i am not doing the progressive payment thru downpayments but thru other trancation then how this will be shown.Another point of concern is that if i am doing the  payments F-53 then will i can get the downpayment history from for a particular PO .This is required as finanace guy wants to know how much advance and progressive payment i have made to my vendor against particular PO .
    Need your help and suggestion
    regards

  • Down payment against the Internal Order - for Capital Expenditure

    Dear friends
    I am getting an error while making down payment against the purchase order.
    The order of my entries or steps are as follows:
    Created one internal order for Capital WIP with budget and availability control activation.
    Created one purchase order against a vendor with reference to the above Internal Order.
    When I am making the down payment to the vendor through tcode:F-48, the system throwing an error
    "Define Cost Elements for Down Payments".
    Can any one please explain why this error is coming. When I checked in Internal orders, there is a TCode: OKEP for Define Default Cost Elements for Down Payments.
    System is asking for cost element, but where as what ever the down payment we are making is nothing but advance which is current asset. Why system is asking for cost element?
    Can any one give me the guidance how to handle the issue.
    Thanks in Advance
    Kiran Kumar A

    The reason is when you want the down payment for AUC to be capitalised, then you would need to create cost element for Downpayments.
    Normally as per design of SAP, down payment being a Balance Sheet Account (Current Asset as you rightly mentioned) doesnot need / accept an Cost object, as a special case since down payments for AUC needs to be capitalised and hence need to be carried to Controlling (Internal Order) by creating Cost Element for Downpayments.
    Go ahead and create the cost element. That would resolve your issue.

  • Payment against Reserved Invoice

    Hi Experts,
    We are creating Reserved Invoices through the DI API.  The Reserved Invoice is received in just fine.  After the Invoice is processed through the DI API, we then process a payment for the Invoice.  We are getting an error that states "The Base Document Card does not match the Target Document Card".
    Orginally we were processing Sales Orders and then bringing in the payment.  Both were received into SAP with no errors.  We discovered that we could not link the Payment to the Order, so we changed to using Reserved Invoices.  Now we are getting the above mentioned error when processing the payments.
    Does anyone have any suggestions has to why we could be getting this error?  What would be considered the Target Document?
    here is the payment code:
    SAPbobsCOM.Payments vPays = default(SAPbobsCOM.Payments);
                        vPays = (SAPbobsCOM.Payments)vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments);
    SAPbobsCOM.Documents SapInvoice = default(SAPbobsCOM.Documents);
                        SapInvoice = (SAPbobsCOM.Documents)vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
    int SapOrder = GetSapInvoiceNumber(OrderNumber);
    SapInvoice.GetByKey(SapOrder);
    vPays.Address = SapInvoice.Address;
    vPays.CardCode = SapInvoice.CardCode;
    vPays.DocDate = PayDate;
    vPays.DocType = SAPbobsCOM.BoRcptTypes.rCustomer;
    vPays.DocObjectCode = SAPbobsCOM.BoPaymentsObjectType.bopot_IncomingPayments;
    vPays.CashAccount = "23500000";
    vPays.JournalRemarks = journal;
    vPays.Invoices.DocEntry = SapInvoice.DocEntry;
    vPays.Invoices.DocLine = 0;
    vPays.Invoices.SumApplied = SapInvoice.DocTotal;
    vPays.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Receipt;
    lRetCode = vPays.Add();
    Thanks,
    Josh
    Edited by: Josh Mellette on Apr 28, 2009 5:09 PM

    Dear Josh Mellette,
    The invoice type should be invoice 13 but not Receipt
    vPays.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Invoice;
    and you need to set cash sum if you pay the invoice by cash
    vPay.CashSum = SapInvoice.DocTotal;
    and please check if the DocEntry of the invoice is correct by check OINV table.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Error whilst posting a payment against an invoice ..

    I'm trying to post a payment against an invoice but i'm getting an error saying 
    "Error -10: Base Document Card and Target Document Card do not match"
    The code is shown below
    // Post a payment against this invoice  ..
                Payments oPay = (Payments)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments);
                oPay.CardCode = form.DataSources.DBDataSources.Item("@MyFileName").GetValue("U_BPCode", 0);
                oPay.CardName = ((EditText)form.Items.Item("CardName").Specific).Value;
                oPay.Reference1 = ((EditText)form.Items.Item("DocEntry").Specific).Value;
                string workFld = ((EditText)form.Items.Item("U_Balance").Specific).Value;
                oPay.CashSum = Convert.ToDouble(workFld);
                oPay.CashAccount = "161010";
                oPay.DocType = BoRcptTypes.rCustomer;
                oPay.Invoices.DocEntry = invoice.DocNum;
                oPay.Invoices.DocLine = 0;
                oPay.Invoices.InvoiceType = BoRcptInvTypes.it_Receipt;
                oPay.Invoices.DiscountPercent = 0;
                oPay.Invoices.SumApplied = invoice.BaseAmount;
                oPay.Invoices.Add();
                int rtnCode = oPay.Add();
               Utility.handleAnError(rtnCode);
    I've checked the obvious that the invoice.DocNum does relate to the business partner in oPay.CardCode ..
    Anyone any ideas ?  The invoice is a service invoice and I don't have any Sales Order or anything for it  ..
    TIA

    Rob,
    which ?
    Robins or mine ?
    EDIT: is see Robin was right
    i place this in my "answered questions" book for other members
    regards
    David
    Edited by: David Nussböck on Jun 3, 2008 3:11 PM

  • How to create payment terms in AP Supplier Interface

    Hi Folks.
    May I know How to create payment terms(for ex:45 days) through AP Supplier Interface.
    Kindly suggest me the exact column name in interface.
    Regards,
    Raj

    Hi Raj,
    To populate the terms information, you use the ap_invoices_interface.terms_name or ap_invoices_interface.terms_id fields. This assumes that the terms themselves are already created.
    Currently there is no functionality to add new terms through the supplier interface.
    Cheryl

  • Error at the time of down payment against the PO

    Dear friends
    I have created a purchase order for Rs.10000 is net and gross amount for Rs.12000 which is including 2000 for taxes etc.
    When I am making a down payment request for Rs.12000/- system is throwing an error order value will be exceded.  System is allowing me only for Net amount of Rs.10000, beyond that it is not allowing me.
    (Here I have changed the warning message to Error message on request of the client, as the down payment against the purchase order should not allow more than Purchase order value.)
    Is there any provision to make the down payment on gross payment basis instead of net amount.
    Thanks in advance
    Kiran A

    not answered

  • How to create payment mode in jsp and its process

    How to create payment mode and validate creditcard number
    plz anyone tel the process?

    can you be more specific

  • How to create a new AP invoice type? (R12)

    Hi Experts,
    I'm trying to create a new AP invoice type, I wonder why there is no functions where to create a new one.
    Could you please tell how to create a new AP invoice type in R12?
    Thanks in advance,
    Nuel

    Hi
    We also have a requirement which can be fulfilled only by creating a new invoice type, because its a system defined am unable to change the access type to User. So what i have done is i have created a DFF in invoice header with new invoice type and doing a customization based on that.
    Regards,
    Vicky

  • How to create F4 for the standard transaction

    Hi all ,
    How to create F4 for the standard transaction for a particular field .
    Bye

    Santosh,
        You can create F4 values for a field in a standard Transaction .
    1. First search for a standard search help meeting your requirement .
    2. If you don't find one, create your own custom (z) serach help .
    ( 1 is preferable )
    After that, include that serch help to the standard field in the transaction .
    For this u need to go to the screen
    ( F1->F9-> screen-> Field )
    Click on the property of the field and include the search help .
    You ll require the access key from the basisi guys as u r changing standard .
    Hope it helps,
    ~ laxmi
    Reward for helpful answers

Maybe you are looking for

  • Java IOException:exceeded the configured maximum no.of connections

    Folks, I need some urgent help please, I have developed an application that sends messages in XML Format to the Server and the server sends a response back. A new request is sent by the client as soon as it receives a response from the client So if I

  • EDI order on quota block before EDI block

    Hi, Order xxxx is received via EDI. Checking the order in VA14L shows that the order is on quota block where it is expected to be on EDI block first. Checking the change log of the order shows there was no release of the order from EDI block. Please

  • Virtualbox disk partitions

    I am trying to install Arch as a virtualbox guest inside a Windows host. I have created a dynamically expanding 300G vdi. I booted Arch and attempted to make the partitions with fdisk. "fdisk -l" lists /dev/sda as being 1M in size. When I attempt to

  • Installing Word2007 via Fusion

    I installed Fusion, installed Windows XP Pro, and now I want to install Word2007. The CD shows up on my Mac desktop, but I do not know how to get the program/application into Fusion. I do have the Word for Mac, but I particularly like a Word feature

  • How do you identify and delete constraints

    Within my container, i have 3 unique constraints that are not associated to any tables. They remain there after 3 tables were deleted from the repository. Anyway that asside, I would like to know how I can: a) find these 3 constraints and b) delete t