文档
测试

2、开票

POST
https://ledger-stag-internal.cyy928.com/api/ledgerService/self/receivable/addInvoice

请求参数

参数名
类型
描述
必填
agencyId
Long
agencyId
必填
selfReceivableId
Long
账单ID
必填
invoiceNo
String
发票号
必填
taxRate
BigDecimal
税率
必填
type
String
发票类型:general("普票"), special("专票");
必填
invoiceAmount
String
发票金额
必填
invoiceDt
String
开票日期
必填
invoiceCode
String
发票代码
必填
imageUrl[]
String[]
图片数组,支持多张上传
必填
optName
String
操作人
必填
remark
String
备注
可选

说明 / 示例

``` { "code": 200, "message": "操作成功", "data": { "id": 18, "invoiceNo": "666666", "agencyId": 1240, "invoiceAmount": 100, "invoiceYear": "2021", "remark": "local test", "type": "special", "taxRate": 3, "invoiceCode": "888888", "imageUrl": "[\"http://p6ym080y3.bkt.clouddn.com/img/20180614/1448/1528966965109.jpg\"]", "syncStatus": "UNSYNC", "syncResultDesc": null, "syncCompletedTime": null, "isDiscard": null, "createDate": "2021-09-16 16:05:34", "createBy": "66666", "updateDate": "2021-09-16 16:05:34", "updateBy": "66666" } } ```