GetInvoiceInfo【获取发票模版列表】

获取发票模版信息列表

Request Parameters

Parameter name Type Description Required
action String API 标识符 Yes

Response Elements

Name Type Description
message String 执行结果信息
code Integer HTTP Resonpe响应状态码
data Array JSON 格式的发票模版信息列表,每项参数可见下面 Data Item

Data Item

Name Type Description
bank String 开户银行
bankAccount String 开户账号
companyAddress String 公司地址
express_addr String 快递地址
express_name String 联系人
express_phone String 联系电话
fixedTelephone String 公司固话
id String 模板 ID
tariff String 税务账号
title String 发票开头
type String

发票类型,有效值:空,company

空:个人
company:企业

Example

Example Request:

Request Headers:

POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/x-www-form-urlencoded

Form Data:

action: GetInvoiceInfo

Example Response:

{
  "message": "成功",
  "code": 200,
  "data": [
    {
      "bankAccount": "",
      "express_phone": "18576677780",
      "fixedTelephone": "",
      "tariff": "",
      "id": "5e1b4c2be46640fe952631eba0d033b2",
      "bank": "",
      "express_name": "kevin",
      "title": "test_kevin",
      "companyAddress": "",
      "express_addr": "深圳",
      "type": ""
    }
  ]
}