POST api/Invoice/HandEntryInvoice
发票手动录入
Request Information
URI Parameters
None.
Body Parameters
HandEnterRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| invoice_type | integer |
None. |
|
| invoice_type_name | string |
None. |
|
| docu_type | integer |
None. |
|
| invoice_code | string |
None. |
|
| invoice_num | string |
None. |
|
| invoice_time | string |
None. |
|
| total_money | string |
None. |
|
| total_tax | string |
None. |
|
| total_tax_money | string |
None. |
|
| debit_account | string |
None. |
|
| debit_tax_account | string |
None. |
|
| credit_account | string |
None. |
|
| invoice_file | string |
None. |
|
| bank_time | string |
None. |
|
| bank_code | string |
None. |
|
| seller_name | string |
None. |
|
| check_code | string |
None. |
|
| remarks | string |
None. |
|
| user_id |
当前登录者Id |
string |
None. |
| token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"invoice_type": 1,
"invoice_type_name": "sample string 2",
"docu_type": 3,
"invoice_code": "sample string 4",
"invoice_num": "sample string 5",
"invoice_time": "sample string 6",
"total_money": "sample string 7",
"total_tax": "sample string 8",
"total_tax_money": "sample string 9",
"debit_account": "sample string 10",
"debit_tax_account": "sample string 11",
"credit_account": "sample string 12",
"invoice_file": "sample string 13",
"bank_time": "sample string 14",
"bank_code": "sample string 15",
"seller_name": "sample string 16",
"check_code": "sample string 17",
"remarks": "sample string 18",
"user_id": "sample string 19",
"token": "sample string 20"
}
application/xml, text/xml
Sample:
<HandEnterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 20</token> <user_id>sample string 19</user_id> <bank_code>sample string 15</bank_code> <bank_time>sample string 14</bank_time> <check_code>sample string 17</check_code> <credit_account>sample string 12</credit_account> <debit_account>sample string 10</debit_account> <debit_tax_account>sample string 11</debit_tax_account> <docu_type>3</docu_type> <invoice_code>sample string 4</invoice_code> <invoice_file>sample string 13</invoice_file> <invoice_num>sample string 5</invoice_num> <invoice_time>sample string 6</invoice_time> <invoice_type>1</invoice_type> <invoice_type_name>sample string 2</invoice_type_name> <remarks>sample string 18</remarks> <seller_name>sample string 16</seller_name> <total_money>sample string 7</total_money> <total_tax>sample string 8</total_tax> <total_tax_money>sample string 9</total_tax_money> </HandEnterRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
发票手动录入
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |