InvoiceInfoCreate【创建发票信息模板】

创建发票信息模板

Request Parameters

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

发票类型,有效值 空字符, company

空字符:个人
company:企业
No
title String 发票抬头 Yes
express_addr String 地址 Yes
express_name String 联系人 Yes
express_phone String 联系电话 Yes
tariff String 税务账号 No
bankAccount String 开户账号 No
bank String 开户银行 No
companyAddress String 公司地址 No
fixedTelephone String 公司固话 No

Response Elements

Name Type Description
message String 执行结果信息
code Integer HTTP Resonpe响应状态码

Example

Example Request:

Request Headers:

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

JSON Data:

{
    "action": "InvoiceInfoCreate",
    "type": "company",
    "title": "plcoud",
    "express_addr": "深圳",
    "express_name": "黎明",
    "express_phone": "18888888888",
    "tariff": "7559 1522 6410 801",
    "bankAccount": "7559 1522 6410 801",
    "bank": "中国银行",
    "companyAddress": "深圳",
    "fixedTelephone": "0755-8888888"
}

Example Response:

{
  code: 200
  message: "成功"
}