获取账套关联的会计科目列表

业务场景说明

通过财务系统版本编码与帐套编码,获取帐套下所有的共享与独享会计科目列表(不包含匹配规则)

请求方式

GET

接口地址

/openapi/dingtalk/accounting/related/list/{financeCode}/{bookBizCode}

请求参数

参数说明

参数名 含义
financeCode 财务版本编码编码对照表
bookBizCode 账套编码

参数示例

{
  "financeCode":"F2801",
  "bookBizCode":"bookBizCode"
}

响应参数

参数说明

响应数据格式
字段名称 字段说明 字段类型
feeTypeSubjects 费用类型科目集合 AccountingGroup
accountSubjects 现金银行类型科目集合 AccountingGroup
taxRateSubjects 税率科目集合 AccountingGroup
loanTypeSubjects 借款往来科目集合 AccountingGroup
prePaymentSubjects 预付往来科目集合 AccountingGroup
entPaymentSubjects 企业已付往来科目集合 AccountingGroup
payableSubjects 应付往来科目集合 AccountingGroup
crossAccountSubjects 跨账套往来科目集合 AccountingGroup
installmentSubjects 分期往来科目集合 AccountingGroup
AccountingGroup
字段名称 字段说明 字段类型
commonSubjects 公共科目集合 List<OpenApiSimpleAccountingSubject>
privateSubjects 私有科目集合 List<OpenApiSimpleAccountingSubject>
OpenApiSimpleAccountingSubject
字段名称 字段说明 字段类型
code 财务科目内码 String
businessCode 财务科目外码 String
name 科目名称 String
preDefined 是否系统预设 boolean
common 是否为公共科目 boolean

参数示例

{
    "code": "ACK",
    "message": "",
    "data": {
        "feeTypeSubjects": {
            "commonSubjects": [
                {
                    "code": "AS2104281EGU9Z51",
                    "businessCode": "000121",
                    "name": "常见费用",
                    "preDefined": false,
                    "common": true
                }
            ],
            "privateSubjects": []
        },
        "accountSubjects": {
            "commonSubjects": [
                {
                    "code": "AS2104281EGU9Z54",
                    "businessCode": "00000232",
                    "name": "常见现金银行科目",
                    "preDefined": false,
                    "common": true
                }
            ],
            "privateSubjects": []
        },
        "taxRateSubjects": {
            "commonSubjects": [
                {
                    "code": "AS2104281EGU9Z44",
                    "businessCode": "22210101",
                    "name": "进项税额",
                    "preDefined": true,
                    "common": true
                },
                {
                    "code": "AS2104281EGU9Z46",
                    "businessCode": "22210108",
                    "name": "进项税额转出",
                    "preDefined": true,
                    "common": true
                }
            ],
            "privateSubjects": []
        },
        "loanTypeSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        },
        "prePaymentSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        },
        "entPaymentSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        },
        "payableSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        },
        "crossAccountSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        },
        "installmentSubjects": {
            "commonSubjects": [],
            "privateSubjects": []
        }
    },
    "errorCode": null,
    "success": true
}
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""