- OPEN登录
- 业务模型关系接口
- 关联关系:删除
- 关联关系:每刻单据+流水
- 关联关系:自定义单据+每刻单据
- 关联关系:凭证+凭证
- 关联关系:凭证+自定义单据
- 关联关系:凭证+每刻报销单据
- 关联关系:凭证+流水
- 关联关系:凭证+回单
- 关联关系:凭证+承兑汇票
- 迁移老的虚关系表数据到新的虚关系表POST
- 跨系统调阅接口
- open日志接口
- 会计账簿接口
- 基础数据
- 纸档管理
- 会计报表接口
- 流水回单接口
- 承兑汇票接口
- 数据对账接口
- 自定义单据接口
- 借阅接口
- 邮件接口
- 纸质案卷查询接口
- 凭证接口
- 会计凭证分录行
- 会计凭证同步
- 会计凭证查询
- 会计凭证修改
- 会计凭证附件追加
- 会计凭证分录行追加
- 会计凭证删除
- 凭证附件查询接口V2
- 每刻单据
- 完整性检查open接口
凭证附件查询接口V2
POST
/open/voucher/v2/attachments
请求参数
Header 参数
Authorization
string
可选
默认值:
{{token}}
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
exportBills
array[string] | null
导出内容
voucherInfo
array[object (OpenVoucherQueryDto) {21}] | null
可选
pageNo
integer | null
当前页码
默认值:
1
pageSize
integer | null
页大小
默认50
默认值:
50
archiveStatusFilterNull
boolean | null
可选
archiveStatus
enum<string> | enum<null>
档案管理状态
枚举值:
PRE_FILEFILE
archiveStatusList
array[string] | null
档案管理状态
originalType
enum<string> | enum<null>
载体形式
枚举值:
PAPERELECTRONIC
preFileBy
string | null
预归档人
fourCheckStatusList
array[string] | null
四性检测状态
voucherNo
string | null
凭证号
voucherId
string | null
凭证号
businessEntityName
string | null
业务实体
voucherDateStart
string | null
凭证日期开始
voucherDateEnd
string | null
凭证日期结束
voucherTypes
array[string] | null
凭证类型
createdAt
array [array] | null
可选
时间格式为:2022-02-24T15:59:59.999Z
updatedAt
array [array] | null
可选
时间格式为:2022-02-24T15:59:59.999Z
accountingFileSubTypeId
string | null
可选
accountSetNo
string | null
账套编号
filterLine
boolean | null
可选
默认为false,会返回分录行
voucherLineCustomParam
object (Map«Object»)
凭证行自定义字段
lastId
string | null
可选
exportBillRelBill
boolean | null
可选
默认值:
public static final Boolean TRUE = new Boolean(true);
exportAttachmentEnumList
array[string] | null
可选
示例
{
"exportBills": [
"string"
],
"voucherInfo": [
{
"pageNo": "1",
"pageSize": "50",
"archiveStatusFilterNull": true,
"archiveStatus": "PRE_FILE",
"archiveStatusList": [
"string"
],
"originalType": "PAPER",
"preFileBy": "string",
"fourCheckStatusList": [
"string"
],
"voucherNo": "string",
"voucherId": "string",
"businessEntityName": "string",
"voucherDateStart": "string",
"voucherDateEnd": "string",
"voucherTypes": [
"string"
],
"createdAt": [
[
"string"
]
],
"updatedAt": [
[
"string"
]
],
"accountingFileSubTypeId": "string",
"accountSetNo": "string",
"filterLine": true,
"voucherLineCustomParam": {
"key": {}
},
"lastId": "string"
}
],
"exportBillRelBill": "public static final Boolean TRUE = new Boolean(true);",
"exportAttachmentEnumList": [
"string"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/voucher/v2/attachments' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"exportBills": [
"string"
],
"voucherInfo": [
{
"pageNo": "1",
"pageSize": "50",
"archiveStatusFilterNull": true,
"archiveStatus": "PRE_FILE",
"archiveStatusList": [
"string"
],
"originalType": "PAPER",
"preFileBy": "string",
"fourCheckStatusList": [
"string"
],
"voucherNo": "string",
"voucherId": "string",
"businessEntityName": "string",
"voucherDateStart": "string",
"voucherDateEnd": "string",
"voucherTypes": [
"string"
],
"createdAt": [
[
"string"
]
],
"updatedAt": [
[
"string"
]
],
"accountingFileSubTypeId": "string",
"accountSetNo": "string",
"filterLine": true,
"voucherLineCustomParam": {
"key": {}
},
"lastId": "string"
}
],
"exportBillRelBill": "public static final Boolean TRUE = new Boolean(true);",
"exportAttachmentEnumList": [
"string"
]
}'
返回响应
🟢200成功
application/json
Body
code
integer | null
结果代码
message
string | null
结果信息
errMsg
string | null
错误信息
data
array[object (OpenVoucherAttachmentResultV2Dto) {7}] | null
结果数据
id
string | null
可选
voucherNo
string | null
凭证号
businessEntityName
string | null
业务实体名称
voucherType
string | null
凭证类型
voucherPeriod
string | null
凭证期间
accountSetId
string | null
帐套
attachment
object (Map«Object»)
可选
timestamp
string | null
时间戳
示例
{
"code": 0,
"message": "",
"errMsg": "",
"data": [
{
"id": "",
"voucherNo": "",
"businessEntityName": "",
"voucherType": "",
"voucherPeriod": "",
"accountSetId": "",
"attachment": {
"": {}
}
}
],
"timestamp": ""
}
修改于 2024-08-01 02:46:06