简要描述:
- 余额发票详情
请求域名:
- http://xx.com
请求URL:
GET/plugin.balance-invoice.frontend.balance-invoice.detail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
rid | 是 | int | 余额充值记录ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "详情",
"data": {
"id": 5,
"uniacid": 6,
"member_id": 2455,
"old_money": "6676.56",
"money": "55.00",
"new_money": "6731.56",
"type": 16,
"created_at": "2018-06-28 10:20:29",
"updated_at": "2018-06-28 10:20:29",
"ordersn": "RV20180628102029628548",
"status": 1,
"remark": null,
"actual_pay": "55.00",
"is_invoice": 0,
"invoice_name": "待开",
"button_models": [
{
"name": "申请开票",
"api": "plugin.balance-invoice.frontend.balance-invoice.apply",
"value": "open"
}
],
"invoice_content": {
"id": 1,
"recharge_id": 5,
"uniacid": 6,
"invoice_type": 82,
"rise_type": 2,
"email": "",
"collect_name": "",
"gmf_taxpayer": "",
"gmf_bank": "",
"gmf_bank_admin": "",
"gmf_mobile": "",
"gmf_address": "",
"col_name": "",
"col_mobile": "",
"col_address": "",
"invoice_no": null,
"invoice_time": null
}
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 充值记录ID |
money | string | 充值余额 |
actual_pay | string | 实付金额、开票金额 |
is_invoice | int | 是否开票:0否1申请2已开 |
invoice_name | string | 开票状态 |
button_models | array | 操作按钮 |
ordersn | string | 充值单号 |
invoice_content | obj | 发票信息 |
actual_pay | string | 开票金额 |
invoice_content参数名 | 类型 | 说明 |
---|---|---|
invoice_type_name | string | 发票类型 |
content | string | 发票内容 |
collect_name | string | 发票抬头 |
created_at | string | 申请时间 |
invoice_time | string | 开票时间 |
备注:
- 更多返回错误代码请看首页的错误代码描述