简要描述
- 功能
功能
- 权限标签
prj:invoice:detail
- 新建 by zj 2022-03-10 11:50:28 星期四
- 修改 by llz 2022-03-11 17:11:58 星期五
修改 修改请求字段invoiceType -> invoiceTypeCode
添加 添加返回字段invoiceTypeCode
- 修改 by zj 2022-05-06 15:37:31 星期五
返回参数 添加 |managerMemberId |num | 经办人id |
|managerMemberName |string | 经办人姓名 |
请求URL
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
id |
是 |
num |
数据id |
返回示例
{
"code": 0,
"data": {
"id":12,
"projectId":1223,
"projectName":"项目名称",
"fileId":1,
"fileUrl":"http://localhost:8090/pic/5678351662745600.file",
"fileName":"文件名称",
"itemName": "货物名称",
"invoiceDate":"开票时间",
"invoiceNumber":"代码",
"sellerName":"开票公司",
"purchaserName":"收票公司",
"invoiceType":"发票类型",
"invoiceTypeCode":"发票类型编码",
"unitPrice":11.1,
"quantity":1,
"remark":"摘要",
"taxRate":"税率",
"invoiceTax":11.1,
"invoiceAmountPreTax":11.1,
"totalAmount":11.1,
"managerMemberId":123,
"managerMemberName":"经办人姓名",
"itemList":[{
"itemName":"货物名称",
"specification":"规格型号",
"unit":"单位",
"quantity":"123",
"unitPrice":"12.34",
"amount":"12.34",
"taxRate":"2.3%",
"tax":"123"
}]
},
"message": ""
}
返回参数说明
参数名 |
类型 |
说明 |
code |
int |
返回结果 0 成功 500 异常 |
message |
int |
返回信息 |
data |
object |
返回结果 |
id |
num |
数据id |
projectId |
num |
项目id |
projectName |
string |
项目名称 |
fileId |
num |
发票文件id 关联x_aliyun_oss_upload |
fileUrl |
string |
发票文件url |
fileName |
string |
发票文件名称 |
itemName |
string |
货物名称 |
invoiceDate |
string |
开票时间 |
invoiceNumber |
string |
代码 |
sellerName |
string |
开票公司 |
purchaserName |
string |
收票公司 |
invoiceType |
string |
发票类型(普票、专票) |
unitPrice |
num |
单价 |
quantity |
num |
数量 |
remark |
string |
摘要 |
taxRate |
string |
税率 |
invoiceTax |
num |
进项税额 |
invoiceAmountPreTax |
num |
不含税价格 |
totalAmount |
num |
含税价格 |
managerMemberId |
num |
经办人id |
managerMemberName |
string |
经办人姓名 |
itemList |
list |
详情列表 |
itemName |
string |
货物或应税劳务、服务名称 |
specification |
string |
规格型号 |
unit |
string |
单位 |
quantity |
string |
数量 |
unitPrice |
string |
单价 |
amount |
string |
金额 |
taxRate |
string |
税率 |
tax |
string |
税额 |
invoiceTypeCode |
string |
发票类型编码 普票 General 专票 Special 其他Others |