摊销流水查询接口
url:/corp/amortize/account/list
method:POST
说明:本接口用于根据条件查询摊销明细的集合,采用分页返回的方式,每页最多返回200条,如果分页参数不传,默认返回前50条数据。
Request param:
参数 | 类型 | 描述 |
---|---|---|
statusList | List |
查询的摊销状态集合, 取值:DOING("未摊销"), DONE("已摊销"), CANCEL("作废") |
statusCodes | List |
查询的摊销状态码集合,取值:客户自定义状态码 |
maxAmortizeMonth | String | 查询的摊销期间(会返回摊销期间小于和等于此期间的流水) |
offset | int | 分页起始 |
limit | int | 分页条数 |
Response 字段:
字段名称 | 数据类型 | 描述 |
---|---|---|
code | String | 摊销明细编码 |
subsidiaryBizCode | String | 业务实体业业务编码 |
coverEmployeeId | String | 承担员工工号 |
coverDepartmentBizCode | String | 承担部门编码 |
costCenterCode | String | 成本中心编码 |
feeTypeBizCode | String | 费用类型业务编码 |
paymentTypeBizCode | String | 支付类型编码 |
departmentName | String | 摊销期间 |
actAmortizeMonth | String | 实际摊销期间 |
amortizeAmount | String | 摊销金额 |
nuTaxAmount | String | 非税金额 |
currency | String | 币种 |
createdAt | Date | 创建时间 |
formCode | String | 单据业务编码 |
status | String | 摊销状态,DOING("未摊销"), DONE("已摊销"), CANCEL("作废") |
statusCode | String | 状态码 |
report | String | 凭证号 |
comment | String | 导出备注 |
accountingSubjectBizCode | String | 会计科目编码 |
accountingSubjectFullName | String | 会计科目名称 |
accountingSubjectCashFlowCode | String | 现金银行科目编码 |
accountingSubjectCashFlowName | String | 现金银行科目名称 |
accountingSubjectAccountingItems | List | 会计科目选项 |
└name | String | 摊销会计科目的核算项目名称 |
└ businessCode | String | 摊销会计科目的核算项目代码 |
└ seq | Integer | 摊销会计科目的核算项目序号 |
请求示例:
{
"timestamp":1622801877766,
"data":{
"statusList":["DOING"],
"offset":0,
"limit":10
}
}
返回示例:
{
"code": "ACK",
"message": "",
"data": [
{
"code": "CAA21071512J4GWE8",
"subsidiaryBizCode": "SI2003101J2U9EM7",
"coverEmployeeId": "200012",
"coverDepartmentBizCode": "Test-2",
"costCenterCode":"test1",
"feeTypeBizCode": "",
"paymentTypeBizCode": null,
"amortizeMonth": "2021-01",
"actAmortizeMonth": "2021-01",
"amortizeAmount": 833.33,
"nuTaxAmount": 833.33,
"currentCcy": "CNY",
"createdAt": null,
"formCode": "MK321070032",
"status": "DOING",
"statusCode": null,
"report": null,
"comment": null,
"accountingSubjectBizCode": null,
"accountingSubjectFullName": null,
"accountingSubjectCashFlowCode": null,
"accountingSubjectCashFlowName": null,
"accountingSubjectAccountingItems": null
}
],
"args": null,
"linkDetail": false,
"nonBizError": false
}