### 查看单据详情 #### URL pattern: {host}/formviewer/#/report?entCode={entCode}&tokenId={tokenId}&reportId={reportId}&type={reportType} #### 请求参数 | 参数 | 类型 | 必须 | 默认值 | 主键 | 描述 | | :--- | :--- | :--- | :--- | :--- | :--- | |entCode | string | Y | | Y | 公司编码 | |tokenId | string | Y | | Y | 登陆授权码 | |reportId | string | Y | | Y | 单据业务编码 | |reportType | string | Y | | Y | 单据类型, 可选值: reimburse, corp, preconsume | #### 说明: ** 可以访问 [https://gitee.com/maycur_infra/maycur-openapi-demo](https://gitee.com/maycur_infra/maycur-openapi-demo/blob/master/src/main/java/com/maycur/demo/report/ReportService.java)查看生成访问链接的示例;** ** 可以通过[openapi登陆](login.md)获得entCode, tokenId; ** ** 先通过[单据列表](report.md)获得单据列表,然后根据每条单据的reportId, reportType生成访问链接; ** ** openapi tokenId 过期时间为2小时, 届时该链接会失效 ** ** reimburse 表示对私报销, copr表示对公报销, preconsume表示消费申请 **