AP Invoice force no discount

Hello again,
We are sending AP Invoices to SAP using the DI API but SAP is putting in a discount % and value on the invoice totals. Is there a way to force SAP to not use the discount % and only accept the values passed to it?
Cheers
Peter de Klerk

Hi,
You may assign value to both unit price and price with the same value.  That will ensure calculated line total no discount.
Thanks,
Gordon

Similar Messages

  • Query  for report to show Invoices, Payments and Discounts

    Hi All
    I am hoping someone can help me with this query.
    What the customer needs is the invoices for a specific date range, the payments applied to the invoices and the discount amount
    Eg...
    Invoice    payment   discount
    100         90              10   
    This would be easy to get from the ORCT and RCT2 tables.
    However, sometime the users add the payment on account and reconciles the invoices and a manual journal for the discounts.
    So it would be best to look at the OITR and ITR1 tables?
    This is what I have so far and it almost balances...
    I am using this query to create the report in crystal,
    To create the discount amount from the incoming payment window i said (T0.ReconSum - T3.TrsfrSum)
    I also took out the vat amount within that formula.
    With the amounts from the manual journal, i just took the amount as is.
    select T2.CardCode, T2.CardName, T0.SrcObjTyp, T0.SrcObjAbs, T0.ReconSum, T3.TrsfrSum, T4.ReconDate, T2.U_FundedNonFunded, (T5.Debit - T5.Credit), T6.PymntGroup
    from ITR1 T0
                 inner join OCRD T2 on T0.Shortname = T2.CardCode
                 left outer join ORCT T3 on T3.DocEntry = T0.SrcObjAbs  and T3.CardCode = T0.ShortName
                 inner join OITR T4 on T4.ReconNum = T0.ReconNum
                 left outer join JDT1 T5 on T5.TransId = T0.TransId and T5.ObjType = T0.SrcObjAbs and T0.ShortName = T5.ShortName
                 inner join OCTG T6 on T6.GroupNum = T2.GroupNum
                where T3.DocDate <= getdate() or T5.ContraAct = '1127331'
    the account 1127331 is the Discount GL account.
    Based on the example the Payment + discount = Invoices
    however not all the customers are balancing..
    any ideas? it looks like my query is getting only the invoices where a payment has been done. The amounts just dont seem to match.
    Thank you
    Jerusha

    hi
    I think your join with OJDT is wrong in this part : T5.ObjType = T0.SrcObjAbs
    you should write
    T5.ObjType = T0.SrcObjTyp
    (I think you don't need this part at all )
    try this:
    select T2.CardCode, T2.CardName, T0.SrcObjTyp, T0.SrcObjAbs, T0.ReconSum, T3.TrsfrSum, T4.ReconDate, T2.U_FundedNonFunded, (T5.Debit - T5.Credit), T6.PymntGroup
    from
    ITR1 T0
    inner
    join OITR T4 on T4.ReconNum = T0.ReconNum
    inner
    join OCRD T2 on T0.Shortname = T2.CardCode
    left
    outer join ORCT T3 on T3.DocEntry = T0.SrcObjAbs and T3.CardCode = T0.ShortName
    left
    outer join JDT1 T5 on T5.TransId = T0.TransId and T5.ObjType = T0.SrcObjTyp and T0.ShortName = T5.ShortName
    inner
    join OCTG T6 on T6.GroupNum = T2.GroupNum
    where
    T3.DocDate <= getdate() or T5.ContraAct =
    '1127331'
    please let me know if it works now
    shachar

  • Invoice Idocs - adding discounts

    I am using basic type INVOIC01 to create an invoice idoc. But I can not get the idoc to work when using payment terms (segment E1EDK18). I am attempting to create an invoice with a discount by using payment terms, but the most common error I get is 'The baseline date does not exist'. Can any offer any help?
    Here are the main segments I think are requried for the discount???
    E1EDK03
    QUALF 044 (baseline date)
    DATE 20051123
    E1EDK04
    MWSKZ VS
    MSATZ 17.50
    MWSBT 15.75 (100 - 10% discount Then 17.5% of 90 = 15.75)
    E1EDK18
    QUALF 001
    TAGE 30
    PRZNT 10
    ZTERM_TXT TEST1
    E1EDS01
    SUMID 005
    SUMME 15.75 (total VAT)
    WAERQ GBP
    E1EDS01
    SUMID 010
    SUMME 100 (net total must be orig. 100 for payment run)
    E1EDS01
    SUMID 011
    SUMME 115.75 (total)

    Hello,
    I got the similar issue.  see my post "Idoc INVOIC error Baseline date for payment does not exist"
    Date for starting the calculation of the baseline date is indeed managed in the TC OME2 (document date, posting date, etc..).
    I solved this issue by putting a payment term in the vendors master data (company & purchasing views) and also in the customers views (company / sales orga) otherwise the structure of the idoc is different.
    Regards
    Arnaud

  • Sales invoice with 100% discount

    Hi,
    Can you tell me if there is a way in SAP where the system allows a ZERO value to reflect in the customer account and the reconciliation account.
    The scenario is,  material A is sold at a price of $100 to customer. A 100% Discount is given and the journal entry that gets generated is
    Discount A/C Dr  $100
    Sales A/C     Cr   $100.
    The requirement is to reflect the Zero value(i.e after 100% discount) in the customer A/C and the recon A/C so that the accounting Document entry is
    Discount A/C  Dr  $100
    Customer A/C Dr $0.00
    Sales A/C      Cr   $100.
    When a discount of 99.99% is given, the customer a/c gets displayed with $0.01 value, but the aim is not to bill the customer, but to reflect the invoice in the customer A/C and the subsidiary ledger.
    Can you please advise if this is even achievable in the system.
    Thanks and Regards,
    Shilpa.

    Hello,
    In SD we have free goods scenario. Please check with your SD consultant if it would be possible to configure your scenario there.
    Normally it is not possible to configure term of payment with 100% cash discount.
    Best Regards,
    Raju

  • Prices on invoices not mantained - Discounts - Special Prices

    Hello everybody,
    I'm developing with SBO2005 A PL7 and DI API.
    I have this problem with an our addon that generates invoices.
    If I set this properties:
    .Lines.Price = X
    .Lines.DiscountPercent = Y
    and I have Stock Management - Price Lists - Special Prices - Discount Groups setted for this customer,
    the price X comes mantained ok, but the DiscountPercent Y comes overwritten on this instruction:
    objInvoice.Add as if it takes another PriceList.
    Do you know why?
    How can I set this field AR/Invoice - Form Settings  - Price List (for the document)?
    Thank you
    Andy

    I intended the field Price List field in [Form 998, Item = 31, Variable = 2, OCTG.ListNum]
    Thank you again

  • AR Invoice Unit price/Discount change

    Hi Experts,
    I need your help regarding this....
    In Sales A/R process of SAP B1 8.82, we first do sales order then copy to AR Invoice to process the invoice.
    At some time users do the sales order and then copy to AR invoice and modify either unit price or discount as per the customer's requirement.
    I need a query to get all these type of invoices where there is a either unit price change or discount change.
    I found that any AR invoice update goes to ADOC and ADO1 table, but this table populates only when the AR invoice is saved once and then opened again and modify. but if the unit price or discount has been changed at first and saved then these table does not populate.
    So how can I get this changes log, from which table so that I can frame the query.
    Your assistance is highly appreciated.
    Rgds
    Suman

    Hi Gordon,
    I have got the solution through this query...
    SELECT T0.[DocNum],  T0.[CardCode], T0.[CardName], T1.[ItemCode],   T3.[PriceBefDi] ordrprice, T3.[DiscPrcnt] ordrdisc,T1.[PriceBefDi] invprice, T1.[DiscPrcnt] invdisc
    FROM [dbo].[OINV]  T0
    INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry
    inner join ORDR T2 on t2.docnum=t1.baseref
    INNER JOIN RDR1 T3 ON T2.DocEntry = T3.DocEntry and 
    t1.itemcode=t3.itemcode
    WHERE T0.[DocDate] >=[%0]
    AND T1.BaseLine=T3.LineNum
    and  (T1.[Price] <> T3.[Price] or  T1.[DiscPrcnt] <> T3.[DiscPrcnt])
    Thanks to all

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    where these setting incurred in this process. i have verifies all the routies, there is no such kind of logic to calculate in a particular palce.
    treat this one as high priority and let me know.
    Thanks
    Raju.

    Hi
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    Please check your Pricing Procedure, whetehr against your Cash Discount Condition Type, Requirement 24 or 23 is maintained? If it is maintained remove these requirements and save. Then try to run the transaction.
    Regards,
    Amitesh Anand

  • Discount in 2 pages invoice Smartform

    Hi;
    i calculate the given discount in an invoice, if the invoice is a one page invoice the total discount is ok, but if it is a 2 pages invoice, in the first page the calculate of the discount is just for the items of the first page, then i turn to the 2nd page and the total of the discount is for the items of the 2nd page:
    example:
    page 1 discount: 85.11
    page 2 discount: 00.38
    the total should be 85.49 and should be shown in each page but instead is shown in parts in the 2 pages.
    what should i do to get this discount in on variable that doesn't change on each page?
    Thanks on advace.
    David Fúnez
    Corp. Mandofer/Asin
    Tegucigalpa, Honduras

    It is going to be little bit tricky. But I hope I will explain you better.
    1. Create a one Dummy Window just before after the main window and before the Discount window.
    Set the flag "Only After End of Main window"
    Create one Code under this window
    Put code like:
    L_LAST = 'X'.
    2. In Discount window:
    Put this code:
    if l_last = 'X'.
    clear l_last.
    clear: l_sub_tot_dis.
    print_tot = 'X'.
    endif.
    l_sub_tot_dis = l_sub_tot_dis + discount_amt.
    l_Tot_dis = l_tot_dis + discount_amt.
    Print these both variables in separate text element
    Put condition as PRINT_TOT = 'X' for the TOT_Discount
    Hope this works.
    Regards,
    Naimesh Patel

  • No line item for Cash discount in customer invoice

    Hi Experts,
      Can anyone please suggest with configuration details for customising the customer invoice,  to display invoice with cash discount line item.  Currently i have assigned the customer master data with payment terms to include cash discount of 10% on for invoice with credit period of 20 days.
    Thanks in advance
    satish

    I think first thing you should be looking for is are you following net discount method or gross discount method . As that will define whether the posting of discount will be at invoice or when you post the payment document against that invoice. + you have to configure cash discount accounts before you can post in cash discount.
    Net: Cash discount clearing account and Cash discount loss/gain account (At the time of Invoice posting )
    Gross: Cash discount given and Cash discount recieved account (At the time of payment)

  • Invoice - discount

    Hi Guys,
    I want to find out the discount amount a customer can take on a invoice (not the discount a customer has taken).
    Do i have to go back to the billing document for that. But on the billing document i dont find anything like this. Is it a calculated field?
    Please help me out with it.
    Thanks,
    MS

    look the following fields in table bseg:
    ZTERM
    ZBD1T
    ZBD2T
    ZBD3T
    ZBD1P
    ZBD2P
    SKFBT
    SKNTO
    WSKTO
    A.

  • Uploading Invoice with Discount in Line with DTW

    I am trying to upload some invoices with line discount with the DTW . These is an example. There is one item A00001 with 12.00 unit price and 10% discount on that item and 12 quantity. I tried to upload it but doesnt put the discount in the discount column and changes the unit price to 10.8 even though i tell it to be 12.00
    I tried putting only the priceaftervat AND also putting only the price but same results
    Here is an example. These test only has 1 article so i didnt paste the header, only the lines
    RecordKey     LineNum     DiscountPercent     ItemCode     LineTotal     PriceAfterVAT     Price     Quantity     TaxCode
    RecordKey     LineNum     $     ItemCode     LineTotal     PriceAfterVAT     Price     Quantity     TaxCode
    1     1     10     A00001     108     10.8     12     10     IVA
    any ideas??

    Hector,
    In Administration > System Initialization > Document Setting > General Tab.....Calculate the Row Total using Unit Price should be unchecked
    Now try entering the price and discount and it should work
    Suda

  • Lockbox Issue with payment on exact day as Cash Discount Days 1 Due Date

    Dear Gurus
    We are running into an issue in as much as when we receive a payment against our Lockbox on the exact day as the Cash Discount Days 1 due date the system posts this as an on account posting as opposed to applying the cash against the open receivable and posting the difference to the Cash Discount Account.
    E.g. Invoice 10000 Payment term 34 days 2% Net 35. I created the AR invoice today with invoice date and posting date of Oct 9, 2009 and posted the same. Received payment $ 9800 on Lockbox file today Nov 12 using the BAI2 format Lockbox file and found that the system did not even show the invoice # on the Lockbox reports but it recognized the customer based on the MICR # and posted an on account payment. It gave the error" F5 263 Difference too large for Clearing"
    The users have prior complained that this situation arises in F-28 as well where they would have to force the discount instead of the system recognizing the same if cash was being applied on the same date as the Cash discount Days 1 due date.
    Any help in this regards will be geratly appreciated and points awarded.
    Regards
    Satpal Narang

    Hi Satpal,
    Please check the net due date of the document which you are trying to do the payment. As it is critical information to calculate the cash discount.
    I hope this helps.
    Regards
    Ravinagh Boni

  • Posting incoming invoice

    Hi,
    I defined a new "Terms of Payment" in configuration and defined the appropriate cash discount percentage rate.  I also created a customer master record and assigned the newly created terms of payment.  Using this new master record, I successfully posted an invoice in AR using FB70.  Now, I am trying to post an incoming invoice using F-28.  But for some reason unknown to me, the terms of payment (that I just created and assigned to the customer master record) is not being shown in the "Post Incoming Payments Process Open Items" screen in the Cash discnt field. 
    I have no problems posting the invoice without the cash discount percentage rate.  However, when I manually try to give a discount rate, I get a warning message that says Cash discount-relevant amount is zero; check entry at the bottom left corner of the screen.  When I click this warning, I get a pop-up screen with the same message and message no. F5073.
    I am sure I am missing a key configuration step in this process, but am not able to understand where.  Any light you can throw on this situation is greatly appreciated.
    Thanks,
    Vijay.

    Hi,
    In the FB70 you can see the payment term in the tab Payments in the header data.
    In F-22, the payment term is displayed in the screen where you enter the amount for customer invoice.
    For payment transaction F-28 is not relevant as payment term is entered in invoice and the discount etc for that invoice is calculated based on that payment term. In F-28 you are just making the payment for the net amount. However you can change the discount amount here.
    ( Also check that in transaction OB41, Payment term is maintained as optional field in field status group Payment Transactions for posting key 31.
    Also go to FS00 for the reconciliation account assigned to your vendor, the go to tab 'Create/bank/interest" and double click on the field status gorup.Check that in group Payment Transactions, the field Payment term is marked as optional field.)
    Regards,
    Gaurav

  • Discount in Outgoing Payment  and Cheque for payment PLD

    Hi,
    Using SBO2007A PL30
    I have tried to find whether there are system variables for amount outstanding and discount which show amounts in foreign and local currency.
    I can't find any references in the .xls document how to use system variables in SBO 2007., and strangely there is no reference in that document to the system variables which already exist in the in- built layouts
    Cheque for Payment
    - total amount paid ( variable 97 )
    Outgoing Payment
    - posting date ( variable 202)
    - Doc Ref ( var 200)
    - Your Ref ( var 201)
    - amount paid ( var 63)
    This leads me to suspect that system variables for outstanding amount and discount may well exist.
    In the meantime I have had to do this using references to database fields Outgoing Payments - Invoices: Discount Amount and Outgoing Payments - Invoices : Amount before Discount with formulae to determin whether the document is in local or foreign currency.
    A further downside to this is that a credit memo is displayed from the latter database field without a negative sign
    Does anyone have any suggestions here?
    Thanks

    Managed to figure out most of it but for the record I have discovered an additional 4 system variables in use for paid document details at line level. Here is the complete list so far:
    outgoing Payment
    PostingDate 202
    our Ref        200
    your Ref      201
    o/S Amt       ?     ( used formula based on db fields instead)
    Discount       ?    (  used formula based on db fields instead)
    Payment       63
    Cheque for Payment
    posting Date  104
    our ref            101
    your ref          100
    O/s amt         96
    Discount           ? ( use formula :difference between 96 and 97)
    Payment        97
    If anyone can supply the missing variables if they exist, I'd be grateful.

  • Vendor Trade Discounts in SAP

    We are using a scenario where Purchase Orders are getting created by Vehicle Management System. The material being purchased is split valuated & Batch managed ( i.e Valuation Category X ). The Purchase Order is created for a gross amount. say 100 USD. During Goods Receipt, there are deductions carried out i.e to the extent of 50% ( via MM Discount Condition type ). However we need the Stock to be valuated @ 100 USD which we can achieve by making the Condition type as statistical. However, we need the Vendor Invoice to be posted @ 50 USD ( based upon 50% deduction ). The difference could be posted to Purchase Price Variance. Could you please advise how to carry out this configuration.

    Hi,
    Cash discount is given when the vendor is paid according to the payment terms. If the vendor is not paid within the date mentioned in the payment term, the cash discount is lost. This is not reflected on the invoice.
    Trade discount is given based on the deal finalised. This discount is given on the price of the material and the net payable is reduced in the bill itself.
    Based on the above explanation - normally cash discount is calculated at the time of payment and based on the payment terms while trade discount being a component of invoice, is calculted based on the pricing procedure.
    If there is a discount calculated based on the pricing procedure, the accounting entry will be passed based on the GL account assigned to the account key which is linked to the condition type for discount.
    please revert for further clarification.
    Thanks and Regards,
    Anit

Maybe you are looking for