微报账API文档
  1. 单据
微报账API文档
  • 介绍
  • 鉴权
  • 公司人员
    • 查询公司人员列表
      GET
  • 发票
    • 查询全票种列表
      GET
    • 查询全票种详情
      GET
    • 全票种状态批量修改
      PATCH
  • 单据
    • 查询员工报账单列表
      GET
    • 查询公司报账单列表
      GET
    • 查询付款单详情
      GET
    • 查询付款单列表
      GET
  • 公司配置信息
    • 查询公司的费用类型列表
      GET
  • 公共信息
    • 发票票种
    • 发票查验状态
    • 抬头校验状态
    • 发票使用状态
    • 发票推送状态
    • 发票录入方式
    • 手工记账类型
    • 付款单状态
    • 接口返回码
  1. 单据

查询公司报账单列表

GET
/ext/v2/getPeriodReimbursements
查询appid对应的公司所属员工申请的报账单列表,支持分页,可以根据账单申请日期进行搜索

请求参数

Query 参数
appId
string 
签名所用的应用ID
必需
timestamp
string 
签名所用的时间戳
必需
sig
string 
签名
必需
fromDate
string 
可选
起始日期(yyyy-MM-hh(从0点开始))
toDate
string 
可选
结束日期(yyyy-MM-hh(从0点开始,当天请加1天);默认当前时间)
status
integer 
可选
状态(默认值9;全部)
page
integer 
当前页
可选
pageSize
integer 
每页显示的记录数量
可选

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/ext/v2/getPeriodReimbursements?appId&timestamp&sig&fromDate&toDate&status&page&pageSize'

返回响应

🟢200成功
application/json
Body
code
integer 
状态码
必需
data
object 
结果集
必需
forms
array [object {27}] 
数据集
必需
page
integer 
页码
必需
pageSize
integer 
每页条数
必需
total
integer 
总页数
必需
message
string 
消息
必需
示例
{
    "code": 10000,
    "data": [
        {
            "applicant": "xxxxx",
            "applyCode": "00000000000000",
            "applyStatus": 9,
            "avatarUrl": "https://xxxxx",
            "certificate": null,
            "createTime": "2021-07-12 16:46:01",
            "creator": {
                "atpId": 0,
                "company": "某某公司",
                "headUrl": "https://xxxxxx",
                "name": "xxxxx",
                "tel": "xxxxx",
                "title": "采购经理到学校",
                "workNumber": "xxxxxx",
                "uuid": "xxxxx"
            },
            "hasRedSpot": false,
            "headUrl": "https://xxxxx",
            "instanceId": "25901",
            "invoiceList": [
                {
                    "applyMoney": 2000,
                    "applyStatus": 9,
                    "costTag": "其他",
                    "costTagId": 9779853,
                    "costTagImg": "https://xxxxx",
                    "createTime": "2021-07-06 19:34:37",
                    "creator": "xxxxx",
                    "externalUUID": "283806",
                    "feeFlag": 1,
                    "images": [
                        "https://xxxxx"
                    ],
                    "invoiceDate": "2021-06-25 00:00:00",
                    "invoiceSource": "notocr",
                    "invoiceType": "invoiceEleNormal",
                    "invoice_no": "77157209",
                    "money": 4599,
                    "remark": "",
                    "taxAmount": 529.09,
                    "taxRate": null,
                    "tel": null,
                    "updateTime": "2021-07-12 17:01:58",
                    "uuid": "xxxxx"
                }
            ],
            "modelId": 1,
            "name": "xxxxx",
            "nickName": "进击的石头",
            "preTax": 3063,
            "qrString": "https://xxxxx",
            "recordingInfo": {
                "company": "某某公司",
                "companyId": 0,
                "department": "某某部门",
                "project": "某某项目"
            },
            "remark": "请江小白的人吃饭",
            "sheetNumber": "xxxxxxxx",
            "tax": 0,
            "templateName": "xxx",
            "title": "6月11日招待报销",
            "topicImage": "/wbz/images/banner.png",
            "totalAmount": 3063,
            "updateTime": "2021-07-12 17:01:58",
            "uuid": "xxxxx",
            "wfTime": {
                "endTime": "2021-07-12 16:57:56",
                "paymentTime": "2021-07-12 17:01:59",
                "reviewTime": "2021-07-12 16:59:23",
                "submitTime": "2021-07-12 16:56:59"
            }
        }
    ],
    "message": "成功"
}
上一页
查询员工报账单列表
下一页
查询付款单详情
Built with