- OPEN登录
- 业务模型关系接口
- 关联关系:删除
- 关联关系:每刻单据+流水
- 关联关系:自定义单据+每刻单据
- 关联关系:凭证+凭证
- 关联关系:凭证+自定义单据
- 关联关系:凭证+每刻报销单据
- 关联关系:凭证+流水
- 关联关系:凭证+回单
- 关联关系:凭证+承兑汇票
- 迁移老的虚关系表数据到新的虚关系表POST
- 跨系统调阅接口
- open日志接口
- 会计账簿接口
- 基础数据
- 纸档管理
- 会计报表接口
- 流水回单接口
- 承兑汇票接口
- 数据对账接口
- 自定义单据接口
- 借阅接口
- 邮件接口
- 纸质案卷查询接口
- 凭证接口
- 会计凭证分录行
- 会计凭证同步
- 会计凭证查询
- 会计凭证修改
- 会计凭证附件追加
- 会计凭证分录行追加
- 会计凭证删除
- 凭证附件查询接口V2
- 每刻单据
- 完整性检查open接口
凭证批量同步接口
POST
/open/voucher
请求参数
Header 参数
Authorization
string
可选
默认值:
{{token}}
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
array of:
voucherId
string | null
可选
用户系统凭证唯一编码。启用凭证ID情况下必传
不传则数据以 业务实体名、凭证类型、凭证期间、凭证号 四要素确定唯一
businessEntityName
string | null
可选
V2接口为四要素之一
当不传业务实体名时,需要传业务实体编码
businessEntityCode
string | null
可选
支持版本:3.5之后
当不传业务实体编码时,需要传业务实体名
voucherPeriod
string | null
必需
四要素之一
凭证期间必须为[yyyy-mm]格式且在系统中维护,例如:2022-02
voucherType
string | null
必需
四要素之一
voucherNo
string | null
凭证号
四要素之一
accountSetNo
string | null
可选
支持版本:4.0之后
V3接口为四要素之一
V2接口不支持该参数
setNo
string | null
账套
voucherDate
string | null
必需
最好是:yyyy-MM-dd格式,例如:2022-02-22
voucherWord
string | null
凭证字
attachmentsNumber
integer | null
附件数
preparedBy
string | null
可选
凭证完整性检查要素,如为空,传“-”
approvedBy
string | null
可选
凭证完整性检查要素,如为空,传“-”
operator
string | null
可选
凭证完整性检查要素,如为空,传“-”
reviewer
string | null
可选
凭证完整性检查要素,如为空,传“-”
postingMan
string | null
过账
cashier
string | null
出纳
lines
array[object (OpenVoucherLineUpsertDto) {32}] | null
可选
更新时覆盖之前的分录行
voucherAbstract
string | null
摘要
subjectCode
string | null
科目代码
subjectName
string | null
科目名称
originalAmount
number | null
原币金额
debitAmount
number | null
借方金额
creditAmount
number | null
贷方金额
entrySequenceNo
string | null
分录顺序号
quantity
number | null
数量
unitPrice
number | null
单价
currency
string | null
可选
不校验,例如:人民币或CNY皆可传
exchangeRate
number |