税盘

# 新增税盘 请求路径: `/openapi/taxDisc/add` 请求方法: `POST` 接口参数 | 字段名 | 类型 | 必填 | 说明 | | ------------ | ------------ | ------------ | ------------ | |certificatePassword|String|是|证书密码| |comment|String|否|税盘备注| |companyId|Long|是|公司ID| |password|String|是|密码,百旺税盘必填,航信税盘与certificatePassword相同| |terminalNo|String|是|终端编号| |type|String|是|税盘类型,航信税盘:"0" 百旺税盘:"1"| 请求参数示例: ```json { "certificatePassword": "123456", "comment": "xxx", "companyId": 100000637, "password": "123456", "terminalNo": "0", "type": "0" } ``` 响应结果: | 字段名 | 类型 | 说明 | | ------------ | ------------ | ------------ | | code | Integer | 处理结果 | | message | String | 结果描述 | | data | Object | 如果成功返回"1" | # 更新税盘 修改税盘的相关信息注意,若税盘已成功开票,则不可以修改税盘类型。 请求路径: `/openapi/taxDisc/update` 请求方法: `POST` 接口参数 | 字段名 | 类型 | 是否必填 | 说明 | | ------------ | ------------ | ------------ | ------------ | |certificatePassword|String|是|证书密码| |comment|String|否|税盘备注| |companyId|Long|是|公司ID| |name|String|是|税盘名称,由 税号+"机号"+机号组成,示例:"138282192833357_机号4"| |password|String|是|密码,百旺税盘必填,航信税盘与certificatePassword相同| |id|Long|是|税盘ID| |terminalNo|String|是|终端编号| |type|String|是|税盘类型,航信税盘:"0" 百旺税盘:"1"| 请求参数示例: ```json { "certificatePassword": "123456", "comment": "xxx", "companyId": 100000637, "name": "138282192833311_机号0", "password": "123456", "taxNum": "138282192833311", "terminalNo": "0", "type": "0" } ``` 响应结果: | 字段名 | 类型 | 说明 | | ------------ | ------------ | ------------ | | code | Integer | 处理结果 | | message | String | 结果描述 | | data | Object | 更新信息 | # 查询税盘 请求路径: `/openapi/taxDisc/list` 请求方法: `GET` 接口参数: 无 响应结果: | 字段名 | 类型 | 说明 | | ------------ | ------------ | ------------ | | code | Integer | 处理结果 | | message | String | 结果描述 | | data | Object | 税盘信息列表 List<TaxDiscDTO> | TaxDiscDTO: |字段名|类型|说明| | ------------ | ------------ | ------------ | | certificatePassword |String|税盘证书密码| | comment |String|备注| | id |Long|平台公司ID| | itemImportTimes |Integer|导入时间| | name |String|税盘名称| | password |String|税盘密码| | pwdUpdateTime |String|密码更新时间| | status |Integer|状态 0:开启 1:关闭| | terminalNo |String|终端编号| | type |Integer|税盘类型 0[航信金税盘]、1[百旺税盘]| | updateTime |String|更新时间| | createTime|String | 创建时间|