Я работаю над Tally XML API и мне нужно создать заказ на продажу с состоянием ожидания.
Но когда я пытаюсь создать порядок с помощью следующего XML-запроса, он становится выполненным.
Итак, что я понимаю, так это когда счет генерируется для любого заказа, то он завершен. в противном случае он ожидает рассмотрения.
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Import Data</TALLYREQUEST>
</HEADER>
<BODY>
<IMPORTDATA>
<REQUESTDESC>
<REPORTNAME>Vouchers</REPORTNAME>
<STATICVARIABLES>
<SVCURRENTCOMPANY>V & J FURNISHINGS PVT LTD</SVCURRENTCOMPANY>
</STATICVARIABLES>
</REQUESTDESC>
<REQUESTDATA>
<TALLYMESSAGE xmlns:UDF="TallyUDF">
<VOUCHER VCHTYPE="Sales Order" ACTION="Create" OBJVIEW="Invoice Voucher View">
<DATE>20180508</DATE>
<PRICELEVEL>Sales Price</PRICELEVEL>
<NARRATION>this is test</NARRATION>
<PARTYNAME>AAVKAR FURNISHING</PARTYNAME>
<VOUCHERTYPENAME>Sales Order</VOUCHERTYPENAME>
<PARTYLEDGERNAME>AAVKAR FURNISHING</PARTYLEDGERNAME>
<BASICBASEPARTYNAME>AAVKAR FURNISHING</BASICBASEPARTYNAME>
<CSTFORMISSUETYPE/>
<CSTFORMRECVTYPE/>
<PERSISTEDVIEW>Invoice Voucher View</PERSISTEDVIEW>
<BASICBUYERNAME>AAVKAR FURNISHING</BASICBUYERNAME>
<BASICDUEDATEOFPYMT>30 Days</BASICDUEDATEOFPYMT>
<BUYERADDRESSTYPE/>
<PARTYADDRESSTYPE/>
<VCHGSTCLASS/>
<DIFFACTUALQTY>No</DIFFACTUALQTY>
<ASORIGINAL>No</ASORIGINAL>
<FORJOBCOSTING>No</FORJOBCOSTING>
<ISOPTIONAL>No</ISOPTIONAL>
<USEFOREXCISE>No</USEFOREXCISE>
<USEFORINTEREST>No</USEFORINTEREST>
<USEFORGAINLOSS>No</USEFORGAINLOSS>
<USEFORGODOWNTRANSFER>No</USEFORGODOWNTRANSFER>
<USEFORCOMPOUND>No</USEFORCOMPOUND>
<USEFORSERVICETAX>No</USEFORSERVICETAX>
<EXCISETAXOVERRIDE>No</EXCISETAXOVERRIDE>
<ISTDSOVERRIDDEN>No</ISTDSOVERRIDDEN>
<ISTCSOVERRIDDEN>No</ISTCSOVERRIDDEN>
<ISVATOVERRIDDEN>No</ISVATOVERRIDDEN>
<ISSERVICETAXOVERRIDDEN>No</ISSERVICETAXOVERRIDDEN>
<ISEXCISEOVERRIDDEN>No</ISEXCISEOVERRIDDEN>
<ISGSTOVERRIDDEN>No</ISGSTOVERRIDDEN>
<ISCANCELLED>No</ISCANCELLED>
<HASCASHFLOW>No</HASCASHFLOW>
<ISPOSTDATED>No</ISPOSTDATED>
<USETRACKINGNUMBER>No</USETRACKINGNUMBER>
<ISINVOICE>No</ISINVOICE>
<MFGJOURNAL>No</MFGJOURNAL>
<HASDISCOUNTS>No</HASDISCOUNTS>
<ASPAYSLIP>No</ASPAYSLIP>
<ISCOSTCENTRE>No</ISCOSTCENTRE>
<ISSTXNONREALIZEDVCH>No</ISSTXNONREALIZEDVCH>
<ISBLANKCHEQUE>No</ISBLANKCHEQUE>
<ISVOID>No</ISVOID>
<ISONHOLD>No</ISONHOLD>
<ORDERLINESTATUS>Yes</ORDERLINESTATUS>
<ISVATDUTYPAID>Yes</ISVATDUTYPAID>
<ISDELETED>No</ISDELETED>
<CURRPARTYLEDGERNAME>AAVKAR FURNISHING</CURRPARTYLEDGERNAME>
<CURRBASICBUYERNAME>AAVKAR FURNISHING</CURRBASICBUYERNAME>
<CURRPARTYNAME>AAVKAR FURNISHING</CURRPARTYNAME>
<CURRBUYERADDRESSTYPE/>
<CURRPARTYADDRESSTYPE/>
<CURRBASICSHIPDELIVERYNOTE/>
<ISCSTAGTFORMC>No</ISCSTAGTFORMC>
<EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST>
<OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST>
<ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST>
<AUDITENTRIES.LIST> </AUDITENTRIES.LIST>
<DUTYHEADDETAILS.LIST> </DUTYHEADDETAILS.LIST>
<SUPPLEMENTARYDUTYHEADDETAILS.LIST> </SUPPLEMENTARYDUTYHEADDETAILS.LIST>
<INVOICEDELNOTES.LIST> </INVOICEDELNOTES.LIST>
<INVOICEORDERLIST.LIST> </INVOICEORDERLIST.LIST>
<INVOICEINDENTLIST.LIST> </INVOICEINDENTLIST.LIST>
<ATTENDANCEENTRIES.LIST> </ATTENDANCEENTRIES.LIST>
<ORIGINVOICEDETAILS.LIST> </ORIGINVOICEDETAILS.LIST>
<INVOICEEXPORTLIST.LIST> </INVOICEEXPORTLIST.LIST>
<LEDGERENTRIES.LIST>
<LEDGERNAME>AAVKAR FURNISHING</LEDGERNAME>
<GSTCLASS/>
<ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>
<LEDGERFROMITEM>No</LEDGERFROMITEM>
<ISPARTYLEDGER>No</ISPARTYLEDGER>
<ISLASTDEEMEDPOSITIVE>Yes</ISLASTDEEMEDPOSITIVE>
<AMOUNT>-313.36</AMOUNT>
<SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST>
<BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST>
<BILLALLOCATIONS.LIST>
<NAME>14906</NAME>
<BILLCREDITPERIOD JD="43189" P="30 Days">30 Days</BILLCREDITPERIOD>
<BILLTYPE>New Ref</BILLTYPE>
<TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE>
<AMOUNT>-313.36</AMOUNT>
<INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST>
<STBILLCATEGORIES.LIST> </STBILLCATEGORIES.LIST>
</BILLALLOCATIONS.LIST>
<INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST>
<OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST>
<ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST>
<AUDITENTRIES.LIST> </AUDITENTRIES.LIST>
<INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST>
<INVENTORYALLOCATIONS.LIST> </INVENTORYALLOCATIONS.LIST>
<DUTYHEADDETAILS.LIST> </DUTYHEADDETAILS.LIST>
<EXCISEDUTYHEADDETAILS.LIST> </EXCISEDUTYHEADDETAILS.LIST>
<RATEDETAILS.LIST> </RATEDETAILS.LIST>
<SUMMARYALLOCS.LIST> </SUMMARYALLOCS.LIST>
<STPYMTDETAILS.LIST> </STPYMTDETAILS.LIST>
<EXCISEPAYMENTALLOCATIONS.LIST> </EXCISEPAYMENTALLOCATIONS.LIST>
<TAXBILLALLOCATIONS.LIST> </TAXBILLALLOCATIONS.LIST>
<TAXOBJECTALLOCATIONS.LIST> </TAXOBJECTALLOCATIONS.LIST>
<TDSEXPENSEALLOCATIONS.LIST> </TDSEXPENSEALLOCATIONS.LIST>
<VATSTATUTORYDETAILS.LIST> </VATSTATUTORYDETAILS.LIST>
<REFVOUCHERDETAILS.LIST> </REFVOUCHERDETAILS.LIST>
<INVOICEWISEDETAILS.LIST> </INVOICEWISEDETAILS.LIST>
<VATITCDETAILS.LIST> </VATITCDETAILS.LIST>
<ADVANCETAXDETAILS.LIST> </ADVANCETAXDETAILS.LIST>
</LEDGERENTRIES.LIST>
<ALLINVENTORYENTRIES.LIST>
<STOCKITEMNAME>PACIFIC-00000-815-A</STOCKITEMNAME>
<ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
<ISLASTDEEMEDPOSITIVE>No</ISLASTDEEMEDPOSITIVE>
<ISAUTONEGATE>No</ISAUTONEGATE>
<ISSCRAP>No</ISSCRAP>
<RATE>313.36/MTR</RATE>
<AMOUNT>313.36</AMOUNT>
<ACTUALQTY> 1 MTR</ACTUALQTY>
<BILLEDQTY> 1 MTR</BILLEDQTY>
<ISEXCISEOVERRIDEDETAILS>No</ISEXCISEOVERRIDEDETAILS>
<BATCHALLOCATIONS.LIST>
<ORDERTYPE>Default</ORDERTYPE>
<ORDERNO>4</ORDERNO>
<DYNAMICCSTISCLEARED>No</DYNAMICCSTISCLEARED>
<AMOUNT>313.36</AMOUNT>
<ACTUALQTY> 1 MTR</ACTUALQTY>
<BILLEDQTY> 1 MTR</BILLEDQTY>
<ORDERDUEDATE JD="42825" P="1 Days">1 Days</ORDERDUEDATE>
<ADDITIONALDETAILS.LIST> </ADDITIONALDETAILS.LIST>
<VOUCHERCOMPONENTLIST.LIST> </VOUCHERCOMPONENTLIST.LIST>
</BATCHALLOCATIONS.LIST>
<ACCOUNTINGALLOCATIONS.LIST>
<LEDGERNAME>GST Sales</LEDGERNAME>
<GSTCLASS/>
<ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
<LEDGERFROMITEM>No</LEDGERFROMITEM>
<ISPARTYLEDGER>No</ISPARTYLEDGER>
<ISLASTDEEMEDPOSITIVE>No</ISLASTDEEMEDPOSITIVE>
<AMOUNT>313.36</AMOUNT>
<SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST>
<BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST>
<BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST>
<INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST>
<OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST>
<ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST>
<AUDITENTRIES.LIST> </AUDITENTRIES.LIST>
<INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST>
<DUTYHEADDETAILS.LIST> </DUTYHEADDETAILS.LIST>
<EXCISEDUTYHEADDETAILS.LIST> </EXCISEDUTYHEADDETAILS.LIST>
<RATEDETAILS.LIST> </RATEDETAILS.LIST>
<SUMMARYALLOCS.LIST> </SUMMARYALLOCS.LIST>
<STPYMTDETAILS.LIST> </STPYMTDETAILS.LIST>
<EXCISEPAYMENTALLOCATIONS.LIST> </EXCISEPAYMENTALLOCATIONS.LIST>
<TAXBILLALLOCATIONS.LIST> </TAXBILLALLOCATIONS.LIST>
<TAXOBJECTALLOCATIONS.LIST> </TAXOBJECTALLOCATIONS.LIST>
<TDSEXPENSEALLOCATIONS.LIST> </TDSEXPENSEALLOCATIONS.LIST>
<VATSTATUTORYDETAILS.LIST> </VATSTATUTORYDETAILS.LIST>
<REFVOUCHERDETAILS.LIST> </REFVOUCHERDETAILS.LIST>
<INVOICEWISEDETAILS.LIST> </INVOICEWISEDETAILS.LIST>
<VATITCDETAILS.LIST> </VATITCDETAILS.LIST>
<ADVANCETAXDETAILS.LIST> </ADVANCETAXDETAILS.LIST>
</ACCOUNTINGALLOCATIONS.LIST>
<DUTYHEADDETAILS.LIST> </DUTYHEADDETAILS.LIST>
<SUPPLEMENTARYDUTYHEADDETAILS.LIST> </SUPPLEMENTARYDUTYHEADDETAILS.LIST>
<TAXOBJECTALLOCATIONS.LIST> </TAXOBJECTALLOCATIONS.LIST>
<REFVOUCHERDETAILS.LIST> </REFVOUCHERDETAILS.LIST>
<EXCISEALLOCATIONS.LIST> </EXCISEALLOCATIONS.LIST>
<EXPENSEALLOCATIONS.LIST> </EXPENSEALLOCATIONS.LIST>
</ALLINVENTORYENTRIES.LIST>
<CONTRIBUTEDVCHENTRIES.LIST> </CONTRIBUTEDVCHENTRIES.LIST>
<VCHLEDTOTALTREE.LIST> </VCHLEDTOTALTREE.LIST>
<PAYROLLMODEOFPAYMENT.LIST> </PAYROLLMODEOFPAYMENT.LIST>
<ATTDRECORDS.LIST> </ATTDRECORDS.LIST>
<TEMPGSTRATEDETAILS.LIST> </TEMPGSTRATEDETAILS.LIST>
</VOUCHER>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
Кто-нибудь знает, что не так с этим запросом.
Я запускаю его с PHP с запросом Curl.
Задача ещё не решена.
Других решений пока нет …