POST api/Servo/Tax/Task/Kpcx
开票查询
Request Information
URI Parameters
None.
Body Parameters
TaxkpcxContent| Name | Description | Type | Additional information |
|---|---|---|---|
| fpqqlsh |
发票请求流水号 |
string |
None. |
| xfsh |
销方税号 |
string |
None. |
| zfjh |
主分机号 |
string |
None. |
| zdh |
终端号 |
string |
None. |
| fplx |
发票类型 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"fpqqlsh": "sample string 1",
"xfsh": "sample string 3",
"zfjh": "sample string 4",
"zdh": "sample string 5",
"fplx": "sample string 6"
}
application/xml, text/xml
Sample:
<TaxkpcxContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Tax"> <fplx>sample string 6</fplx> <xfsh>sample string 3</xfsh> <zdh>sample string 5</zdh> <zfjh>sample string 4</zfjh> <fpqqlsh>sample string 1</fpqqlsh> </TaxkpcxContent>
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
开票查询
CommonOperationResultWithTagOfTaxkpcxResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | TaxkpcxResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"xfsh": "sample string 1",
"salecd": "sample string 2",
"fpqqlsh": "sample string 3",
"list": [
{
"t_gfmc": "sample string 1",
"t_gfsh": "sample string 2",
"t_fplx": "sample string 3",
"t_fpdm": "sample string 4",
"t_fphm": "sample string 5",
"t_kprq": "sample string 6",
"t_hjse": "sample string 7",
"t_bhsje": "sample string 8",
"t_status": "sample string 9",
"t_msg": "sample string 10",
"t_resultmsg": "sample string 11",
"t_url": "sample string 12"
},
{
"t_gfmc": "sample string 1",
"t_gfsh": "sample string 2",
"t_fplx": "sample string 3",
"t_fpdm": "sample string 4",
"t_fphm": "sample string 5",
"t_kprq": "sample string 6",
"t_hjse": "sample string 7",
"t_bhsje": "sample string 8",
"t_status": "sample string 9",
"t_msg": "sample string 10",
"t_resultmsg": "sample string 11",
"t_url": "sample string 12"
}
],
"code": "sample string 4",
"message": "sample string 5",
"interfacetype": "sample string 6"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTaxkpcxResultYrAe0Cso 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Tax">
<d2p1:code>sample string 4</d2p1:code>
<d2p1:interfacetype>sample string 6</d2p1:interfacetype>
<d2p1:message>sample string 5</d2p1:message>
<d2p1:fpqqlsh>sample string 3</d2p1:fpqqlsh>
<d2p1:list>
<d2p1:TaxkpcxListItem>
<d2p1:t_bhsje>sample string 8</d2p1:t_bhsje>
<d2p1:t_fpdm>sample string 4</d2p1:t_fpdm>
<d2p1:t_fphm>sample string 5</d2p1:t_fphm>
<d2p1:t_fplx>sample string 3</d2p1:t_fplx>
<d2p1:t_gfmc>sample string 1</d2p1:t_gfmc>
<d2p1:t_gfsh>sample string 2</d2p1:t_gfsh>
<d2p1:t_hjse>sample string 7</d2p1:t_hjse>
<d2p1:t_kprq>sample string 6</d2p1:t_kprq>
<d2p1:t_msg>sample string 10</d2p1:t_msg>
<d2p1:t_resultmsg>sample string 11</d2p1:t_resultmsg>
<d2p1:t_status>sample string 9</d2p1:t_status>
<d2p1:t_url>sample string 12</d2p1:t_url>
</d2p1:TaxkpcxListItem>
<d2p1:TaxkpcxListItem>
<d2p1:t_bhsje>sample string 8</d2p1:t_bhsje>
<d2p1:t_fpdm>sample string 4</d2p1:t_fpdm>
<d2p1:t_fphm>sample string 5</d2p1:t_fphm>
<d2p1:t_fplx>sample string 3</d2p1:t_fplx>
<d2p1:t_gfmc>sample string 1</d2p1:t_gfmc>
<d2p1:t_gfsh>sample string 2</d2p1:t_gfsh>
<d2p1:t_hjse>sample string 7</d2p1:t_hjse>
<d2p1:t_kprq>sample string 6</d2p1:t_kprq>
<d2p1:t_msg>sample string 10</d2p1:t_msg>
<d2p1:t_resultmsg>sample string 11</d2p1:t_resultmsg>
<d2p1:t_status>sample string 9</d2p1:t_status>
<d2p1:t_url>sample string 12</d2p1:t_url>
</d2p1:TaxkpcxListItem>
</d2p1:list>
<d2p1:salecd>sample string 2</d2p1:salecd>
<d2p1:xfsh>sample string 1</d2p1:xfsh>
</tag>
</CommonOperationResultWithTagOfTaxkpcxResultYrAe0Cso>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.