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 |
银行编码,fms_bank_list_excel表中collection_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:
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. |