POST api/WebInterface/Tax/Task/Running/Add
添加一个在途开票任务 TaxAddRunningTaskParm
Request Information
URI Parameters
None.
Body Parameters
TaxAddRunningTaskParmName | Description | Type | Additional information |
---|---|---|---|
TaskNum |
任务单据号 |
string |
None. |
BusiType |
业务类型 |
string |
None. |
BusiBillNum |
业务单据号 |
string |
None. |
TaskType |
任务类型 |
string |
None. |
ReqTime |
申请时间 |
string |
None. |
BusiFrom |
业务来源 |
string |
None. |
InvoiceType |
发票类型 |
string |
None. |
CustomerName |
购方名称 |
string |
None. |
CustomerTaxNum |
购方税号 |
string |
None. |
CustomerAddress |
购方地址 |
string |
None. |
CustomerPhone |
购方电话 |
string |
None. |
CustomerBankAccount |
购方银行账号 |
string |
None. |
Note |
备注 |
string |
None. |
SendType |
推送方式 |
string |
None. |
Phone |
购方手机 |
string |
None. |
推送邮箱 |
string |
None. |
|
IsRed |
是否红票 |
string |
None. |
OriginalFapiaoCode |
原发票代码 |
string |
None. |
OriginalFapiaoNum |
原发票号码 |
string |
None. |
RedNum |
红字信息表 |
string |
None. |
IsMakeOutInvoices |
代开标志 |
string |
None. |
WEBYHM |
网络账户ID |
string |
None. |
YHDLM |
用户登录名 |
string |
None. |
HYDM |
会员代码 |
integer |
None. |
DYZH |
导游证号 |
string |
None. |
Define01 | string |
None. |
|
Define02 | string |
None. |
|
Define03 | string |
None. |
|
Define04 | string |
None. |
|
Define05 | string |
None. |
|
FapiaoTime |
开票时间 |
date |
None. |
Fpqqlsh |
发票请求号 |
string |
Max length: 32 |
FapiaoCode |
发票代码 |
string |
Max length: 12 |
FapiaoNum |
发票号码 |
string |
Max length: 32 |
AmountIncludingTax |
合计税额 |
decimal number |
None. |
AmountExcludingTax |
不含税金额 |
decimal number |
None. |
Reserved01 | string |
None. |
|
Reserved02 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskNum": "sample string 1", "BusiType": "sample string 2", "BusiBillNum": "sample string 3", "TaskType": "sample string 4", "ReqTime": "sample string 5", "BusiFrom": "sample string 6", "InvoiceType": "sample string 7", "CustomerName": "sample string 8", "CustomerTaxNum": "sample string 9", "CustomerAddress": "sample string 10", "CustomerPhone": "sample string 11", "CustomerBankAccount": "sample string 12", "Note": "sample string 13", "SendType": "sample string 14", "Phone": "sample string 15", "Email": "sample string 16", "IsRed": "sample string 17", "OriginalFapiaoCode": "sample string 18", "OriginalFapiaoNum": "sample string 19", "RedNum": "sample string 20", "IsMakeOutInvoices": "sample string 21", "WEBYHM": "sample string 22", "YHDLM": "sample string 23", "HYDM": 24, "DYZH": "sample string 25", "Define01": "sample string 26", "Define02": "sample string 27", "Define03": "sample string 28", "Define04": "sample string 29", "Define05": "sample string 30", "FapiaoTime": "2025-01-22T01:06:19.2639776+08:00", "Fpqqlsh": "sample string 32", "FapiaoCode": "sample string 33", "FapiaoNum": "sample string 34", "AmountIncludingTax": 35.0, "AmountExcludingTax": 36.0, "Reserved01": "sample string 37", "Reserved02": "sample string 38" }
application/xml, text/xml
Sample:
<TaxAddRunningTaskParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Tax"> <AmountExcludingTax>36</AmountExcludingTax> <AmountIncludingTax>35</AmountIncludingTax> <BusiBillNum>sample string 3</BusiBillNum> <BusiFrom>sample string 6</BusiFrom> <BusiType>sample string 2</BusiType> <CustomerAddress>sample string 10</CustomerAddress> <CustomerBankAccount>sample string 12</CustomerBankAccount> <CustomerName>sample string 8</CustomerName> <CustomerPhone>sample string 11</CustomerPhone> <CustomerTaxNum>sample string 9</CustomerTaxNum> <DYZH>sample string 25</DYZH> <Define01>sample string 26</Define01> <Define02>sample string 27</Define02> <Define03>sample string 28</Define03> <Define04>sample string 29</Define04> <Define05>sample string 30</Define05> <Email>sample string 16</Email> <FapiaoCode>sample string 33</FapiaoCode> <FapiaoNum>sample string 34</FapiaoNum> <FapiaoTime>2025-01-22T01:06:19.2639776+08:00</FapiaoTime> <Fpqqlsh>sample string 32</Fpqqlsh> <HYDM>24</HYDM> <InvoiceType>sample string 7</InvoiceType> <IsMakeOutInvoices>sample string 21</IsMakeOutInvoices> <IsRed>sample string 17</IsRed> <Note>sample string 13</Note> <OriginalFapiaoCode>sample string 18</OriginalFapiaoCode> <OriginalFapiaoNum>sample string 19</OriginalFapiaoNum> <Phone>sample string 15</Phone> <RedNum>sample string 20</RedNum> <ReqTime>sample string 5</ReqTime> <Reserved01>sample string 37</Reserved01> <Reserved02>sample string 38</Reserved02> <SendType>sample string 14</SendType> <TaskNum>sample string 1</TaskNum> <TaskType>sample string 4</TaskType> <WEBYHM>sample string 22</WEBYHM> <YHDLM>sample string 23</YHDLM> </TaxAddRunningTaskParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
添加一个在途开票任务 TaxAddRunningTaskParm
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.