[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

posting invoice via API



LSMB 1.2 Beta 2

I'm trying to post an invoice via the API in LSMB 1.2. Every time I do so, though, it seems to think I'm using a web browser and returns a screen full of html. Here's what I have:

./is.pl "path=bin/mozilla&
login=bootscootin&
password=boogie&
action=post&
customer=me&oldcustomer=me--51703&
customer_id=51703&
AR=1200&
currency=USD&
defaultcurrency=USD&
employee=Server--10157&
invnumber=chucktest&
transdate=11-23-2006&
duedate=11-26-2006&
partnumber_1=1823100&
description_1=Tricked Out Computer&
qty_1=1&
sellprice_1=4000.00&
id_1=17425&
income_accno_1=10045&
taxaccounts_1=2150&
notes=Invoice posted from the command line&
rowcount=2"

The product exists. The customer exists. There is no error returned within the html. It just adds 3 form entries for parts instead of 2 and the invoice is not posted. What am I doing wrong?

Charley