POST api/Invoice/ImportEInvoice

电子发票导入

Request Information

URI Parameters

None.

Body Parameters

请求数据

ImportEInvoiceRequest
NameDescriptionTypeAdditional information
invoice_type

发票类型

integer

None.

docu_type

单据类型

integer

None.

bank_code

银行编码

string

None.

bank_time

银行录入所选时间

string

None.

strJson

字符串:名称:name 路径:file_url strJson: "[{\"name\":\"dzfp_23322000000001374882_20230629165552\",\"file_url\":\"https://i.xinminghui.com/oms/wxUserAvatar/20230809/20230809110900527.pdf\"}]"

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "invoice_type": 1,
  "docu_type": 2,
  "bank_code": "sample string 3",
  "bank_time": "sample string 4",
  "strJson": "sample string 5",
  "user_id": "sample string 6",
  "token": "sample string 7"
}

application/xml, text/xml

Sample:
<ImportEInvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 7</token>
  <user_id>sample string 6</user_id>
  <bank_code>sample string 3</bank_code>
  <bank_time>sample string 4</bank_time>
  <docu_type>2</docu_type>
  <invoice_type>1</invoice_type>
  <strJson>sample string 5</strJson>
</ImportEInvoiceRequest>

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 'ImportEInvoiceRequest'.

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.