POST api/Invoice/ExportInvoice

发票导出

Request Information

URI Parameters

None.

Body Parameters

InvoiceRequest
NameDescriptionTypeAdditional information
page_type

页面类型:发票录入:传all 已审核页面:audit 未归档页面:file

string

None.

invoice_code

发票代码

string

None.

invoice_num

发票号码

string

None.

invoice_type

发票类型

integer

None.

docu_type

单据类型

integer

None.

seller_name

销售名称

string

None.

money_start

开始金额

string

None.

money_end

结束金额

string

None.

invoice_start_time

开票日期

string

None.

invoice_end_time

开票日期

string

None.

is_flie_status

是否归档:0-未审核 1-已审核 2-未归档 3-已归档

integer

None.

enter_mode

录入方式:0-拍照录入 1-手动录入 2-模板录入

integer

None.

enter_emp_name

录入人

string

None.

enter_start_time

录入日期

string

None.

enter_end_time

录入日期

string

None.

voucher_no

凭证号

string

None.

voucher_start_time

凭证日期

string

None.

voucher_end_time

凭证日期

string

None.

is_create_voucher

是否生成凭证:0-未生成 1-已生成

integer

None.

flow_code

费用单号

string

None.

t_account

科目搜索

string

None.

remarks

备注

string

None.

bank_code

银行编码

string

None.

mark_type

列表标志 进项销项-0 费用银行其他-1

integer

None.

is_correct

是否需要校准:0-无需校准 1-待校准 2-系统校准 3-人为校准

integer

None.

flow_status

报销单完成状态 0-未完成 1-完成 2-空

integer

None.

flow_pay_time_start

报销单完成日期

string

None.

flow_pay_time_end

报销单完成日期

string

None.

sortname

排序字段

string

None.

sortorder

降序desc 升序 asc

string

None.

page

页码

integer

None.

page_size

每页显示条数

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "page_type": "sample string 1",
  "invoice_code": "sample string 2",
  "invoice_num": "sample string 3",
  "invoice_type": 1,
  "docu_type": 1,
  "seller_name": "sample string 4",
  "money_start": "sample string 5",
  "money_end": "sample string 6",
  "invoice_start_time": "sample string 7",
  "invoice_end_time": "sample string 8",
  "is_flie_status": 1,
  "enter_mode": 1,
  "enter_emp_name": "sample string 9",
  "enter_start_time": "sample string 10",
  "enter_end_time": "sample string 11",
  "voucher_no": "sample string 12",
  "voucher_start_time": "sample string 13",
  "voucher_end_time": "sample string 14",
  "is_create_voucher": 1,
  "flow_code": "sample string 15",
  "t_account": "sample string 16",
  "remarks": "sample string 17",
  "bank_code": "sample string 18",
  "mark_type": 1,
  "is_correct": 1,
  "flow_status": 1,
  "flow_pay_time_start": "sample string 19",
  "flow_pay_time_end": "sample string 20",
  "sortname": "sample string 21",
  "sortorder": "sample string 22",
  "page": 23,
  "page_size": 24,
  "user_id": "sample string 25",
  "token": "sample string 26"
}

application/xml, text/xml

Sample:
<InvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 26</token>
  <user_id>sample string 25</user_id>
  <page>23</page>
  <page_size>24</page_size>
  <bank_code>sample string 18</bank_code>
  <docu_type>1</docu_type>
  <enter_emp_name>sample string 9</enter_emp_name>
  <enter_end_time>sample string 11</enter_end_time>
  <enter_mode>1</enter_mode>
  <enter_start_time>sample string 10</enter_start_time>
  <flow_code>sample string 15</flow_code>
  <flow_pay_time_end>sample string 20</flow_pay_time_end>
  <flow_pay_time_start>sample string 19</flow_pay_time_start>
  <flow_status>1</flow_status>
  <invoice_code>sample string 2</invoice_code>
  <invoice_end_time>sample string 8</invoice_end_time>
  <invoice_num>sample string 3</invoice_num>
  <invoice_start_time>sample string 7</invoice_start_time>
  <invoice_type>1</invoice_type>
  <is_correct>1</is_correct>
  <is_create_voucher>1</is_create_voucher>
  <is_flie_status>1</is_flie_status>
  <mark_type>1</mark_type>
  <money_end>sample string 6</money_end>
  <money_start>sample string 5</money_start>
  <page_type>sample string 1</page_type>
  <remarks>sample string 17</remarks>
  <seller_name>sample string 4</seller_name>
  <sortname>sample string 21</sortname>
  <sortorder>sample string 22</sortorder>
  <t_account>sample string 16</t_account>
  <voucher_end_time>sample string 14</voucher_end_time>
  <voucher_no>sample string 12</voucher_no>
  <voucher_start_time>sample string 13</voucher_start_time>
</InvoiceRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvoiceRequest'.

Response Information

Resource Description

发票导出

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.