财税软件API
  1. 凭证操作
财税软件API
  • 基础数据
    • 账套列表
      GET
    • 账套模板列表
      GET
    • 新建账套
      POST
  • 辅助数据
    • 科目
      • 全部科目列表
      • 可使用科目列表
    • 币别
      • 币别列表
      • 创建币种
      • 删除币种
    • 凭证字
      • 凭证字列表
      • 创建凭证字
      • 更新凭证字
      • 删除凭证字
    • 辅助核算
      • 辅助类别
        • 类别列表
        • 创建类别
        • 更新类别
        • 删除类别
      • 客户
        • 客户列表
        • 创建客户
        • 更新客户
        • 删除客户
      • 供应商
        • 供应商列表
        • 创建供应商
        • 更新供应商
        • 删除供应商
      • 职员
        • 职员列表
        • 创建职员
        • 更新职员
        • 删除职员
      • 部门
        • 部门列表
        • 创建部门
        • 更新部门
        • 删除部门
      • 组织机构
        • 组织机构列表
        • 创建组织机构
        • 更新组织机构
        • 删除组织机构
      • 项目
        • 项目列表
        • 创建项目
        • 更新项目
        • 删除项目
      • 存货
        • 存货列表
        • 创建存货
        • 更新存货
        • 删除存货
  • 凭证操作
    • 凭证列表
      POST
    • 创建凭证
      POST
    • 更新凭证
      PUT
    • 删除凭证
      POST
    • 根据凭证ID获取凭证
      GET
  1. 凭证操作

凭证列表

POST
/api/voucher/list

请求参数

Authorization
在 header 添加参数
F-API-KEY
示例:
F-API-KEY: ********************
Query 参数

Header 参数

Body 参数application/json必填

示例

返回响应

🟢200成功
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/voucher/list?page=1&pageSize=20&property=code&order=asc' \
--header 'accountSetId: 794981295003285450' \
--header 'F-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "voucherDate": {
        "start": "2025年10月",
        "end": "2025年10月"
    },
    "auxiliary": {
        "id": null
    },
    "audit": 0,
    "summary": null,
    "remark": null,
    "word": null,
    "createMember": null,
    "subjectId": null,
    "codeStart": null,
    "codeEnd": null,
    "minAmount": null,
    "maxAmount": null
}'
响应示例响应示例
{
    "success": true,
    "code": 200,
    "msg": "",
    "data": {
        "pageSize": 20,
        "size": 20,
        "page": 1,
        "totalPage": 1,
        "total": 2,
        "results": [
            {
                "id": "794981480618014683",
                "word": "记",
                "code": 1,
                "remark": "",
                "receiptNum": 0,
                "createMember": "501052358659146973",
                "createMemberName": "企万慧",
                "createMemberMobile": "18329078628",
                "createDate": "2025-12-26 17:32",
                "debitAmount": 2200.00,
                "creditAmount": 2200.00,
                "accountSetsId": "794981295003285450",
                "year": 2025,
                "month": 10,
                "voucherDate": "2025-10-01",
                "lastUpdateMember": "501052358659146973",
                "lastUpdateDate": "2025-12-26 17:32",
                "lastUpdateMemberName": "企万慧",
                "carryForward": false,
                "billList": [],
                "details": [
                    {
                        "id": "794981480651569116",
                        "accountSetsId": "794981295003285450",
                        "voucherId": "794981480618014683",
                        "year": 2025,
                        "month": 10,
                        "voucherDate": "2025-10-01",
                        "currencyId": "433722807319433217",
                        "currencyName": "人民币",
                        "currencyCode": "RMB",
                        "originalAmount": "0",
                        "summary": "费用",
                        "subjectId": "433708451747745924",
                        "subjectName": "5602001 管理费用_管理人员职工薪酬",
                        "subjectCode": "5602001",
                        "subject": {
                            "id": "433708451747745924",
                            "accountSetsId": "794981295003285450",
                            "type": "损益",
                            "code": "5602001",
                            "queryCode": "56020010000",
                            "name": "管理人员职工薪酬",
                            "mnemonicCode": "glfy_glryzgxc",
                            "balanceDirection": "借",
                            "status": true,
                            "parentId": "433708451743551619",
                            "level": 2,
                            "systemDefault": true,
                            "cash": false,
                            "unit": "",
                            "fullName": "管理费用_管理人员职工薪酬",
                            "leaf": true,
                            "adjustments": false,
                            "qualifiedType": "NON_LIMITING",
                            "auxiliaryAccounting": [],
                            "nonAuxiliaryAccounting": [],
                            "currencyAccounting": [],
                            "cashFlowIn": "434018668213694470",
                            "cashFlowOut": "434018603667550212",
                            "children": [],
                            "typeAlias": "损益类"
                        },
                        "debitAmount": 2200.00,
                        "num": "0",
                        "price": "0",
                        "auxiliary": [],
                        "debitAmountFor": 0.00,
                        "creditAmountFor": 0.00,
                        "exchangeRate": "1",
                        "debitNum": "0",
                        "creditNum": "0",
                        "carryForward": false,
                        "cashFlow": true,
                        "rowNum": 1,
                        "amount": 2200.00,
                        "auxiliaryTitle": "",
                        "subjectPrintTitle": "5602001 管理费用_管理人员职工薪酬"
                    },
                    {
                        "id": "794981480668346333",
                        "accountSetsId": "794981295003285450",
                        "voucherId": "794981480618014683",
                        "year": 2025,
                        "month": 10,
                        "voucherDate": "2025-10-01",
                        "currencyId": "433722807319433217",
                        "currencyName": "人民币",
                        "currencyCode": "RMB",
                        "originalAmount": "0",
                        "summary": "费用",
                        "subjectId": "433708450254573570",
                        "subjectName": "1002 银行存款",
                        "subjectCode": "1002",
                        "subject": {
                            "id": "433708450254573570",
                            "accountSetsId": "794981295003285450",
                            "type": "资产",
                            "code": "1002",
                            "queryCode": "10020000000",
                            "name": "银行存款",
                            "mnemonicCode": "yxck",
                            "balanceDirection": "借",
                            "status": true,
                            "parentId": "0",
                            "level": 1,
                            "systemDefault": true,
                            "cash": true,
                            "unit": "",
                            "fullName": "银行存款",
                            "leaf": true,
                            "adjustments": false,
                            "qualifiedType": "NON_LIMITING",
                            "auxiliaryAccounting": [],
                            "nonAuxiliaryAccounting": [],
                            "currencyAccounting": [],
                            "children": [],
                            "typeAlias": "资产类"
                        },
                        "creditAmount": 2200.00,
                        "num": "0",
                        "price": "0",
                        "auxiliary": [],
                        "debitAmountFor": 0.00,
                        "creditAmountFor": 0.00,
                        "exchangeRate": "1",
                        "debitNum": "0",
                        "creditNum": "0",
                        "carryForward": false,
                        "cashFlow": true,
                        "rowNum": 2,
                        "amount": 2200.00,
                        "auxiliaryTitle": "",
                        "subjectPrintTitle": "1002 银行存款"
                    }
                ],
                "locked": false,
                "insert": false,
                "cash": false,
                "printTitle": "记账凭证"
            },
            {
                "id": "794981575631581287",
                "word": "记",
                "code": 2,
                "remark": "",
                "receiptNum": 0,
                "createMember": "501052358659146973",
                "createMemberName": "企万慧",
                "createMemberMobile": "18329078628",
                "createDate": "2025-12-26 17:32",
                "debitAmount": 1200.00,
                "creditAmount": 1200.00,
                "accountSetsId": "794981295003285450",
                "year": 2025,
                "month": 10,
                "voucherDate": "2025-10-01",
                "lastUpdateMember": "501052358659146973",
                "lastUpdateDate": "2025-12-26 17:32",
                "lastUpdateMemberName": "企万慧",
                "carryForward": false,
                "billList": [],
                "details": [
                    {
                        "id": "794981575660941416",
                        "accountSetsId": "794981295003285450",
                        "voucherId": "794981575631581287",
                        "year": 2025,
                        "month": 10,
                        "voucherDate": "2025-10-01",
                        "currencyId": "433722807319433217",
                        "currencyName": "人民币",
                        "currencyCode": "RMB",
                        "originalAmount": "0",
                        "summary": "计提",
                        "subjectId": "433708451772911751",
                        "subjectName": "5602004 管理费用_办公费",
                        "subjectCode": "5602004",
                        "subject": {
                            "id": "433708451772911751",
                            "accountSetsId": "794981295003285450",
                            "type": "损益",
                            "code": "5602004",
                            "queryCode": "56020040000",
                            "name": "办公费",
                            "mnemonicCode": "glfy_bgf",
                            "balanceDirection": "借",
                            "status": true,
                            "parentId": "433708451743551619",
                            "level": 2,
                            "systemDefault": true,
                            "cash": false,
                            "unit": "",
                            "fullName": "管理费用_办公费",
                            "leaf": true,
                            "adjustments": false,
                            "qualifiedType": "NON_LIMITING",
                            "auxiliaryAccounting": [],
                            "nonAuxiliaryAccounting": [],
                            "currencyAccounting": [],
                            "cashFlowIn": "434018668213694470",
                            "cashFlowOut": "434018668213694470",
                            "children": [],
                            "typeAlias": "损益类"
                        },
                        "debitAmount": 1200.00,
                        "num": "0",
                        "price": "0",
                        "auxiliary": [],
                        "debitAmountFor": 0.00,
                        "creditAmountFor": 0.00,
                        "exchangeRate": "1",
                        "debitNum": "0",
                        "creditNum": "0",
                        "carryForward": false,
                        "cashFlow": true,
                        "rowNum": 1,
                        "amount": 1200.00,
                        "auxiliaryTitle": "",
                        "subjectPrintTitle": "5602004 管理费用_办公费"
                    },
                    {
                        "id": "794981575673524329",
                        "accountSetsId": "794981295003285450",
                        "voucherId": "794981575631581287",
                        "year": 2025,
                        "month": 10,
                        "voucherDate": "2025-10-01",
                        "currencyId": "433722807319433217",
                        "currencyName": "人民币",
                        "currencyCode": "RMB",
                        "originalAmount": "0",
                        "summary": "计提",
                        "subjectId": "433708449910640641",
                        "subjectName": "1001 库存现金",
                        "subjectCode": "1001",
                        "subject": {
                            "id": "433708449910640641",
                            "accountSetsId": "794981295003285450",
                            "type": "资产",
                            "code": "1001",
                            "queryCode": "10010000000",
                            "name": "库存现金",
                            "mnemonicCode": "kcxj",
                            "balanceDirection": "借",
                            "status": true,
                            "parentId": "0",
                            "level": 1,
                            "systemDefault": true,
                            "cash": true,
                            "unit": "",
                            "fullName": "库存现金",
                            "leaf": true,
                            "adjustments": false,
                            "qualifiedType": "NON_LIMITING",
                            "auxiliaryAccounting": [],
                            "nonAuxiliaryAccounting": [],
                            "currencyAccounting": [],
                            "children": [],
                            "typeAlias": "资产类"
                        },
                        "creditAmount": 1200.00,
                        "num": "0",
                        "price": "0",
                        "auxiliary": [],
                        "debitAmountFor": 0.00,
                        "creditAmountFor": 0.00,
                        "exchangeRate": "1",
                        "debitNum": "0",
                        "creditNum": "0",
                        "carryForward": false,
                        "cashFlow": true,
                        "rowNum": 2,
                        "amount": 1200.00,
                        "auxiliaryTitle": "",
                        "subjectPrintTitle": "1001 库存现金"
                    }
                ],
                "locked": false,
                "insert": false,
                "cash": false,
                "printTitle": "记账凭证"
            }
        ],
        "first": false,
        "last": true
    }
}
修改于 2025-12-27 04:35:39
上一页
删除存货
下一页
创建凭证
Built with