Create invoice
I want creating an invoice to receive "sales revenue received in advance" before issue goods to customer.
How can i do it ?
Hi Shawn,
For your scenario yo can use down payment request. Whatever the payment you received as advance is posted through this down payment order, it will be shown as liability in the accounts. Once you deliver the goods and do PGI, then create an invoice which adjusts with down payment order. This is the general business scenario.
Hope you understood.
thanks
Venkat
Similar Messages
-
How to create Invoice with ref to PO
Dear sd gurus..
i know we can create invoice with ref to sales order not with po
But i want to create Invoice with ref to po only
please guide me
Thanks a lotVenu, thanks for your reply.
So in this case your idea wont work but the main imp thing is we cant create invoice with ref to po
Please read my post once again, i never said we can create customer invoice with ref to Purchase order. I said very clearly, " you can follow the normal 3rd party sales process", which means we create customer invoice with ref to sales order only.
Coming into another query,
but some time PO Is generated 110 qth to vendor but vendor may be he will send 105 due to shortage ... and he will tell i will send the the remaining stock after next 10 days now Generally miro will happen only for 105 not 110 ( even we can do MIRO110 also ) but i am talking generally because he received the stock 105 only
But company wants billing for 110 not for 105 because here customer accepted to pay full money
and vendor gave promise to delivery 5 qty in next 10 days
Why will the customer agree to be billed the full qty, when he receive the partial qty?
Let us assume as you said customer agree to pay for full qty, then there are two options.
1. Do the MIRO for full qty since you would be invoicing the customer for full qty
Or
2. Do the MIRO for partial qty and customer should agree for partial invoice
Please note in the normal case also if there is if condition then you don't have other option.
Example:
Order = 100 qty
PO = 100 qty
MIGO = 50 qty and remaining 50 qty Vendor delivery in next 10 days
MIRO =50 qty
But here also customer agreed to pay for full qty, then what will you do ? you don't have other option but to bill the partial qty in standard.
And let me know if you need any more clarity?
thanks,
Srinu. -
How to create invoice using bapi base on delivery number with example
hi,
Pl give me one example to create invoice using bapi base on delivery number (PGI).Use this code
* Pass the delivery no to the FM to create the invoice
wa_vbsk-smart = u2018Fu2019.
wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
APPEND wa_komfk TO it_komfk.
CLEAR wa_komfk.
* To fill the message structure
* l_wa_error-vbeln_vl = nast-objky. " Delivery No.
* l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
* delivery_date = 0
invoice_date = v_date u201C<- date
* invoice_type = ' '
* pricing_date = 0
vbsk_i = wa_vbsk
with_posting = u2018Du2019
* select_date = 0
i_no_vblog = ' '
i_analyze_mode = ' '
id_utasy = ' '
id_utswl = ' '
id_utsnl = ' '
id_no_enqueue = ' '
id_new_cancellation = ' '
** IMPORTING
* VBSK_E =
* OD_BAD_DATA =
* DET_REBATE =
TABLES
xkomfk = it_komfk
xkomv = it_komv
xthead = it_thead
xvbfs = it_vbfs
xvbpa = it_vbpa
xvbrk = it_xvbrk
xvbrp = it_vbrp
xvbss = it_vbss
* XKOMFKGN =
* XKOMFKKO = -
Hi Experts,
While Creating Invoice i am getting below error
G/L account 0001 11002 cannot be posted to, please correct your entry
Message no. >0205
Diagnosis
This G/L account is blocked against posting or is a reconciliation account and cannot be posted to directly.
System Response
The G/L account cannot be posted to.
Procedure for System Administration
Check you entry for errors, or change the master record of the G/L account: Proceed.
I have taken lot of experts advises, but unable to solve. I have checked FS00, EK01 and EK02 and unable to find what problem is with these Tcodes.
When i was trying to check Tcode FS00 i found G/L Account is "11002 - Constructions" and when i tried to see account group it was Balance Sheet Account and by experts advise i changed it to P&L Statement Acct, when i am opening Initially after saving Account Grp.Tcode FS00 it is showing Acct. Grp. as P&L Statement Acct and when i am choosing other tabs in FS00 the Acct Grp is Changing back to Balance sheet acct.. I am unable to find what wrong with this.
I want to ask whether the problem is with above mentioned thing or with other, i believe i have explained my error in detail. Please advise how can i overcome this error.
Regards,
Kushal
Moderator note - thread locked, same issue identified in G/L error while posting an amount - TXN: FPE1 - SAP ISU and Error while trying to do BillingHi friends,
The error thats triggered is "For object RV_BELEGnumber range 19 does not exist".
I have deleted all the existing no ranges in VN01 and customized the nuber range for invoice doc and set it at Z1(Internal no range :1000-1999) and the existing no range entry in OBA7 for RV is 18(1800000000- 1899999999).
Z1(Internal no range :1000-1999) for Invoices
Z2(Internal no range :2000-2999) for Deliveries
Z3 (Internal no range :3000-3999) for sales orders
So my VN01 entries consists of Z1(Internal no range :1000-1999) ,Z2(Internal no range :2000-2999) ,Z3 (Internal no range :3000-3999) .
The sales orders and deliveries are working out fine but while generating the invoice its triggering the above message.
Pl help on this.
Thanks
Ivy -
Problem while creating Invoice
Hi all,
I am trying to create an invoice in BusinessOne using DI API. While creating invoice i am facing "Exchange Rate not Update "USD" " Error.
In BusinessOne Foreign Exchange Rate was given for the docDate. Still i am getting the same error. I am able to create the Invoice from the BusinessOne UI.It is not throwing any Error. What may be the error. What are the cases for the above error. When this error will occur?
Thanks in Advance,
Ramu.Hi Ramu,
Don't set the doc date property of the document. This is system related. Try to add it through the DI API - if is still fails don't set the due date property of the document. This is system calculated... -
Error when creating Invoice via DI API
Can you help me, I have a problem about DI
When I create invoice with serial number and create transaction with 1 item in many serial number itu2019s no problem but
If i create transaction with 2 diffrent item with many serial number has error the error code -5002([inv1.docentry][line:0],u2019item serial us not found in whseu2026.u2019)
I using sap 2005 pl 40, I have debug my coding there is nothing wrong with it, than I suspec this is bug in DI is that rightu2026
This is my code
Dim oInvoices As SAPbobsCOM.Documents
Dim iRetVal As Integer = -1
Dim sErrMsg As String = ""
Dim isAddHeader As Boolean = True
Dim iRow As Integer = 0
Dim sWhsCode As String = ""
Dim iAddedQty As Integer
Dim iCurrLine As Double = 0
Dim iBasedDoc As Integer = 0
Dim sNewDocNum As String = ""
Dim sCardCode As String = ""
Dim isdocnum As String = ""
Dim CompleteOrder As DataRow
Try
oInvoices = myCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
For iRow = 0 To myOrderDetailsTable.Rows.Count - 1
Console.WriteLine(myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD))
If myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD) = 1 Then
Console.WriteLine(myOrderDetailsTable.Rows(iRow))
CompleteOrder = myOrderDetailsTable.Rows(iRow)
Console.WriteLine(sWhsCode & " " & CompleteOrder(WHSCODE_FIELD))
sWhsCode = CompleteOrder(WHSCODE_FIELD)
With oInvoices
If isAddHeader Then
isdocnum = CompleteOrder(DOCNUM_FIELD)
iBasedDoc = CompleteOrder(DOCENTRY_FIELD)
sCardCode = CompleteOrder(CARDCODE_FIELD)
'.DocObjectCode = SAPbobsCOM.BoObjectTypes.oInvoices
.Reference2 = CompleteOrder(DOCENTRY_FIELD)
.DocDate = Today.Date
.DocDueDate = Today.Date
.TaxDate = Today.Date
Console.WriteLine("cardcode : " & sCardCode)
.CardCode = sCardCode
Console.WriteLine("ibasedDoc :" & iBasedDoc)
.Reference1 = iBasedDoc
isAddHeader = False
ElseIf isAddHeader = False Then
' .Lines.Delete()
.Lines.Add()
End If ' isAddHeader
iAddedQty = 0
iCurrLine = 0
Console.WriteLine("CompleteOrder(ITEMCODE_FIELD) : " & CompleteOrder(ITEMCODE_FIELD))
.Lines.ItemCode = CompleteOrder(ITEMCODE_FIELD)
Console.WriteLine(".Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD) : " & CompleteOrder(WHSCODE_FIELD))
.Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD)
Console.WriteLine("Lines.UnitPrice = CompleteOrder(PRICE_FIELD) " & CompleteOrder(PRICE_FIELD))
.Lines.UnitPrice = CompleteOrder(PRICE_FIELD)
Console.WriteLine("CompleteOrder(ISUSEBATCH_FIELD) : " & CompleteOrder(ISUSEBATCH_FIELD))
If CompleteOrder(ISUSEBATCH_FIELD) = 1 Then
For iCurrLine = 0 To CompleteOrder(QUANTITY_FIELD) - 1
If iCurrLine > 0 Then .Lines.BatchNumbers.Add()
.Lines.BatchNumbers.SetCurrentLine(iCurrLine)
.Lines.BatchNumbers.Quantity = 1
Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
.Lines.BatchNumbers.BatchNumber = CompleteOrder(SCANNED_FIELD)
'.Lines.BaseEntry = iBasedDoc
Next
ElseIf CompleteOrder(ISUSEBATCH_FIELD) = 0 Then
Console.WriteLine("CompleteOrder(WHSCODE_FIELD) :" & CompleteOrder(WHSCODE_FIELD))
While sWhsCode = CompleteOrder(WHSCODE_FIELD)
If iCurrLine > 0 Then .Lines.SerialNumbers.Add()
.Lines.SerialNumbers.SetCurrentLine(iCurrLine)
Console.WriteLine("CompleteOrder(SYSSERIAL_FIELD)" & CompleteOrder(SYSSERIAL_FIELD))
CompleteOrder(SYSSERIAL_FIELD) = IIf(IsDBNull(CompleteOrder(SYSSERIAL_FIELD)), 0, CompleteOrder(SYSSERIAL_FIELD))
.Lines.SerialNumbers.SystemSerialNumber = CompleteOrder(SYSSERIAL_FIELD)
Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
.Lines.SerialNumbers.InternalSerialNumber = CompleteOrder(SCANNED_FIELD)
' .Lines.BaseEntry = iBasedDoc
iCurrLine = iCurrLine + 1
iRow = iRow + 1
If iRow <= myOrderDetailsTable.Rows.Count - 1 Then
CompleteOrder = myOrderDetailsTable.Rows(iRow)
ElseIf iRow > myOrderDetailsTable.Rows.Count - 1 Then
Exit While
End If
End While
iRow = iRow - 1
End If
.Lines.Quantity = iCurrLine
End With ' oInvoices
End If ' CompleteOrder(ISSCANNED_FIELD) = 1
Next iRow
iRetVal = oInvoices.Add()
thnx for your attentionHello tony,
Please check the following:
1.Make sure the item is managed by serials
2.The serials number have been auto created in GRPO/AP invoice etc puchase document
3.You need to set the system serial number for the lines. How do you know the system serial number of the serial number? refer to the Serial Number Details form
Inventory=>Item management=>Serials Numbers=>Serial Number Details
SystemSerialNumber Sets or returns the successive numerator starting from1 issued for each item with serial numbers management. This numerator progresses according to the creation of new units of the same sort (for the same item).
This property is mandatory when using Serial Numbers for outgoing documents. Field name: SysSerial.This is a foreign key to the SerialNumbers object
Sample code to add invoice with items managed by serials:
Private Sub btnSerials_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSerials.Click
ConnectViaDI()
Dim oInvoice As SAPbobsCOM.Documents = Nothing
oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oInvoice.CardCode = "C001"
oInvoice.DocDueDate = Date.Now
Dim oLines As SAPbobsCOM.Document_Lines = oInvoice.Lines
oLines.ItemCode = "S00002"
oLines.UnitPrice = 1500
oLines.Quantity = 2
oLines.TaxCode = "CA"
'Set the system serial no. for the 1st item
oLines.SerialNumbers.SystemSerialNumber = 3
'Set the system serial no. for the 2nd item
oLines.SerialNumbers.Add()
oLines.SerialNumbers.SystemSerialNumber = 4
lRetCode = oInvoice.Add
If 0 <> lRetCode Then
oCompany.GetLastError(lErrCode, errMsg)
MsgBox(errMsg)
Else
MsgBox("AR Invoice with serials number added.")
End If
End Sub
Kind Regards, yatsea -
Budget exceeded BP604 (when create Invoice)
Hi All,
User got an error message budget exceeded BP604 when create invoice. How can i know what the configuration to check why system check budget( Investment management). I tried to check the configuration in SPRO (Define tolerance limit for availability control) shows that budget profile use ++ which are : (no invoice checking) but in actual it checks budget.
++ All activity groups
00 Purchase requisition
01 Purchase order
02 Orders for project
03 Goods issue
04 Financial accounting document
05 CO document
06 Budgeting
07 Funds reservation
08 Fixed prices in project
09 Payroll
Many thanks in advance.
NiesBusiness transaction group 04 (Financial accounting document) contains below transactions:
G/L account posting
FI invoice parking
Invoice verification
Goods receipt for the order
Cash budget management
Payment transfer
Down payment posting
Inventory difference
Regards
Sreenivas -
when creating invoice using the API AR_INVOICE_AP_PUB.Create_Single_invoice Am Getting the below Error:
Transaction type is invalid with current transaction date
invalid transaction type
either an inventory item description must be provided
Kindly help me hereHi Team,
I tried creating the invoice and I got the above errors, however, when updated the batch source ID I am now getting this following error only, i am just left with the following Error only
Either an inventory item or description must be provided.
Please help me on this. -
Problems in creating Invoice using BAPI
Hello Friends,
I am using a BAPI BAPI_BILLINGDOC_CREATEMULTIPLE to create invoice from a sales order, but i am not able to change the payer value.
The payer is by default taken from Sales-Order, even if i change it in Payer value passed to BAPI.
Please suggest me a solution.
Sandeep.To answer your question I would need to know what stack trace comes back with.
I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
Lee -
Create Invoice with RV_INVOICE_CREATE
hi buddies, I want to create invoice with reference to sales orders and delivery notes, Can I use FM:RV_INVOICE_CREATE for both?
I have tested this FM, and seems no errors, but no documents created when check the invoice table vbrk...
thanks!Hi,
you can use RV_INVOICE_CREATE, you can do commit only after checking the XVBFS internal table , and look for Success message then only you need to use COMMIT.
Note: XVBFS is the log internal table, here you can see success and error log.
check this internal table after execution of the FM for log details(success/error).
Regards
vijay -
Problem while creating INVOIC idoc
Dear All,
I am facing a error messege while creating INVOIC(using MIRO transaction) idoc through EDI for a partner(vendor).
In MIRO transaction after selecting one Item I clicked GoTo>Messege>Item
Then I selected output type (Z output type) , Medium EDI, Function VN ,Partner number (say 123) language EN.
After that when I presse enter I am geting a messege "Partner 123 does not exist for partner function LF".
All the configuration is done including partner profile for 123(partner type is LI).
Please let me know what is the reason for this error. Do i need to make any changes in configuration?
Regards
ArindamGo to BD54 and maintain table view for ur partner type
hope this helps u..
Thanks,
Anil
Edited by: anil sasidharan on Apr 17, 2009 11:42 AM -
Sales invoice seting for create invoice in new finacial year
Wat are the sales invoice seting for open in new finacial year , that mean before createing invoice in new FY
Edited by: Gopi Krishna Gutti on Apr 9, 2009 2:48 PM
Edited by: Gopi Krishna Gutti on Apr 9, 2009 2:55 PMFrom the SD side no change wrt fiscal year..... u just need to maintain the RV number range for the new FY......
-
How to create invoice but accounting document is cleared already?
Hi,
I cannot able to create invoice for the return order, for this return order accounting document has been cleared
but the invoice is not created.
Here i need to create the invoice.
Advice me to solve this issue.
Thanks
Raghufor this return order accounting document has been cleared
For return order, accounting document will not be generated. Not sure what do you mean by this.
thanks
G. Lakshmipathi -
How to create Invoice using SDK?
Hi Friends,
I m creating invoice using SDK functions..
Company comp = new Company();
comp.Server = "CSNSYS026";
comp.CompanyDB = "SBODemo_US";
comp.UserName = "manager";
comp.Password = "manager";
comp.Connect();
comp.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_NodesAsProperties;
SAPbobsCOM.SBObob oSBObob = (SBObob)comp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge);
Documents inv = (Documents)comp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
inv.ManualNumber = "20000";
inv.DocDate = DateTime.Now;
inv.DocDueDate = DateTime.Now;
inv.CardCode = "C40001";
inv.CardName = "EarthshakerCorp.";
inv.DocCurrency = "USD";
inv.Lines.ItemCode = "A00001";
inv.Lines.Quantity = 10;
inv.Lines.Price = 100;
inv.DocTotal = 1000;
int i = inv.Add();
MessageBox.Show("Invoice created "+i);
<b>While i execute the above c# code,Invoice din't created,Wht's missing in the above code</b>..
Thanks in Advance
regards
Sooriyakala.PHo Sooriya,
what is the returncode from inv.add?
If you call comp.getLastErrorDescription, you get the errordescription
you should also set handwritten to true
Regards
Ad -
SRM-SUS: "Create Invoice" button not available in "Confirmation"
A confirmation is created from SUS(702) and posted to ECC (607). Service Entry sheet is released in ECC.
Supplier unable to see the "Create Invoice" button in the confirmation. Please advise what could be missing here?
Is there any status update to Confirmation about the acceptance of service entry. I can see a Service-acknowledgement is posted into SUS but is not visible in the SUS portal.Hi,
Did you check whether 'GR based IV' is clicked for respective vendor?
Regards, -
Hi experts,
I am creating invoice by using BAPI_INCOMINGINVOICE_CREATE.
this is for Invoice with Planned Delivery Costs.
Here i am giving the following data.
header data
INVOICE_IND = x
DOC_TYPE = kr
doc_date
post-date
reff-doc-no = 3006828
comp-code =
diff-inv = 1110025
curr = inr
gr-amount = 50
bline-date
headertext
del-costs
del-costs-tax = v0
po-ref-no = 3006828
item data:
invoice = 000001
po-number =3006828
po-it
ref-doc
ref-year
ref-doc-it
tax
item-amount
quantity
po-unit
po-pr-uom
cond-type
item-text
Accounting data:
invoice doc item = 000001
serial no = 01
tax = v0
item amount = 50
quantity = 5
po unit =
cmmt- item
fund-cntr
bus-area
these are data I have given but it is not posted the invoice
the following message is coming
<b>account assignment 01 for purchasing document does not exist</b>
Plz tell me what i have to do for thisHi nagaraj,
Can u tell me where can i find the purchase order is existed with
Account group or not?
thanks in advance
regards,
srinivas
Maybe you are looking for
-
Attaching remote event receiver to a list on host web.
We have an O365 Sharepoint 2013 site. I am trying to create a remote event receiver and attach it to a list on host web instead of appweb. Below are the links that I am referencing to do it: http://www.codeproject.com/Articles/636058/Adventures-with
-
Disk Repair, not repaired
I've been having some problems with my G5 and thought I'd do a disk repair from the start up disk (also, I may be upgrading to 10.5.3 and always do this repair before an OS upgrade) After running Disk Utility to repair the start up disk, I received t
-
Trouble saving PS files in Illustrator
I have several files that I created in PSCS3. They are all simple, with two or three flat colors, one color per layer, no effects, shadows, etc. My client is having these printed in China using a type of silk screening process on mug-like items. The
-
MS Office Professional Plus 2010 cannot verify the license (in use for more than a year)
After more than a year of use, I now receive the following error message for all Office Applications .... "Microsoft Office Professional Plus 2010 cannot verify the license for this product. You should repair the Office program by using the Control P
-
How can solve the problem? I don't want to modify my db
An unhandled exception of type 'System.Web.Services.Protocols.SoapHeaderException' occurred in system.web.services.dll Additional information: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.Databas