InvoiceInfoUpdate【更新发票模板信息】¶
更新发票模板信息:可根据发票信息ID来更新发票模板信息。如果发票类型选择企业,需提供企业信息,否则会返回错误信息。
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 |
invoice_info_id | String | 发票模版ID | Yes |
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": "InvoiceInfoUpdate",
"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-6666666",
"invoice_info_id": "f2b7daa09fc5472e8ab8713b4c4282f4"
}
Example Response:
{
code: 200
message: "成功"
}