核算项目余额
POST
https://v4.fenxi365.com/api/accountBook/auxiliaryBalance
最后修改时间:2024-04-28 08:30:17
责任人:未设置
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v4.fenxi365.com/api/accountBook/auxiliaryBalance' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountSetsId": 0,
"subjectId": 0,
"currencyId": 0,
"accountDate": "string",
"start": "string",
"end": "string",
"subjectStart": "string",
"subjectEnd": "string",
"levelStart": 0,
"levelEnd": 0,
"subjectCode": "string",
"showNumPrice": "false",
"categoryType": "CUSTOMER",
"categoryId": "string",
"detailId": 0,
"auxiliary": "false",
"detailIds": [
0
],
"subjectIds": [
0
]
}'
响应示例响应示例
200 - 核算项目余额 - 成功示例
{
"success": true,
"code": 200,
"msg": "",
"data": [
{
"subjectId": "433708451428978792",
"queryCode": "50510000000",
"subjectCode": "5051",
"auxiliary": false,
"auxiliaryCode": "",
"auxiliaryName": "",
"subjectName": "其他业务收入",
"leaf": true,
"balanceDirection": "贷",
"currencyAccounting": [],
"auxiliaryAccounting": [],
"treeId": "433708451428978792",
"parentTreeId": "0",
"auxiliaryDetailId": "0",
"beginBalance": 0.00,
"beginBalanceFor": 0.00,
"endBalance": 0.00,
"endBalanceFor": 0.00,
"debitFor": 0.00,
"debit": 0.00,
"creditFor": 0.00,
"credit": 0.00,
"cfDebitFor": 0.00,
"cfDebit": 0.00,
"cfCreditFor": 0.00,
"cfCredit": 0.00,
"yearTotalDebitFor": 0.00,
"yearTotalDebit": 0.00,
"yearTotalCreditFor": 0.00,
"yearTotalCredit": 0.00,
"yearTotalFor": 0.00,
"yearTotal": 0.00,
"beginQuantity": "",
"endQuantity": "",
"creditQuantity": "",
"debitQuantity": "",
"cfCreditQuantity": "",
"cfDebitQuantity": "",
"yearTotalCreditQuantity": "",
"yearTotalDebitQuantity": "",
"yearTotalQuantity": "",
"type": "current",
"beginDebitBalance": 0.00,
"beginDebitBalanceFor": 0.00,
"endDebitBalance": 0.00,
"endDebitBalanceFor": 0.00,
"beginCreditBalance": 0.00,
"beginCreditBalanceFor": 0.00,
"endCreditBalance": 0.00,
"endCreditBalanceFor": 0.00,
"yearTotalBeginDebit": 0.00,
"yearTotalBeginCredit": 0.00,
"yearTotalBeginDebitFor": 0.00,
"yearTotalBeginCreditFor": 0.00,
"endCreditQuantity": "",
"endDebitQuantity": "",
"amount": 0.00,
"debitAmount": 0.00,
"creditAmount": 0.00,
"ad": false,
"used": false,
"debitAmountFor": 0.00,
"creditAmountFor": 0.00,
"amountFor": 0.00
},
{
"subjectId": "433708450380402697",
"queryCode": "11220000000",
"subjectCode": "1122",
"auxiliary": false,
"auxiliaryCode": "",
"auxiliaryName": "",
"subjectName": "应收账款",
"leaf": true,
"balanceDirection": "借",
"currencyAccounting": [],
"auxiliaryAccounting": [],
"treeId": "433708450380402697",
"parentTreeId": "0",
"auxiliaryDetailId": "0",
"beginBalance": 0.00,
"beginBalanceFor": 0.00,
"endBalance": -3000.00,
"endBalanceFor": 0.00,
"debitFor": 0.00,
"debit": 33656.00,
"creditFor": 0.00,
"credit": 3000.00,
"cfDebitFor": 0.00,
"cfDebit": 0.00,
"cfCreditFor": 0.00,
"cfCredit": 0.00,
"yearTotalDebitFor": 0.00,
"yearTotalDebit": 0.00,
"yearTotalCreditFor": 3000.00,
"yearTotalCredit": 3000.00,
"yearTotalFor": 0.00,
"yearTotal": 0.00,
"beginQuantity": "",
"endQuantity": "",
"creditQuantity": "",
"debitQuantity": "",
"cfCreditQuantity": "",
"cfDebitQuantity": "",
"yearTotalCreditQuantity": "",
"yearTotalDebitQuantity": "",
"yearTotalQuantity": "",
"type": "current",
"beginDebitBalance": 0.00,
"beginDebitBalanceFor": 0.00,
"endDebitBalance": 0.00,
"endDebitBalanceFor": 0.00,
"beginCreditBalance": 0.00,
"beginCreditBalanceFor": 0.00,
"endCreditBalance": 0.00,
"endCreditBalanceFor": 0.00,
"yearTotalBeginDebit": 0.00,
"yearTotalBeginCredit": 0.00,
"yearTotalBeginDebitFor": 0.00,
"yearTotalBeginCreditFor": 0.00,
"endCreditQuantity": "",
"endDebitQuantity": "",
"amount": 30656.00,
"debitAmount": 30656.00,
"creditAmount": -30656.00,
"ad": false,
"used": true,
"debitAmountFor": 0.00,
"creditAmountFor": 0.00,
"amountFor": 0.00
},
{
"subjectId": "433708451428978792",
"queryCode": "01",
"subjectCode": "5051_01",
"auxiliary": false,
"auxiliaryCode": "",
"auxiliaryName": "",
"subjectName": "ABC公司",
"leaf": true,
"balanceDirection": "贷",
"currencyAccounting": [],
"auxiliaryAccounting": [],
"treeId": "478967710580015136",
"parentTreeId": "433708451428978792",
"auxiliaryDetailId": "484108859984642760",
"beginBalance": 1000.00,
"beginBalanceFor": 0.00,
"endBalance": 0.00,
"endBalanceFor": 0.00,
"debitFor": 0.00,
"debit": 0.00,
"creditFor": 0.00,
"credit": 0.00,
"cfDebitFor": 0.00,
"cfDebit": 0.00,
"cfCreditFor": 0.00,
"cfCredit": 0.00,
"yearTotalDebitFor": 0.00,
"yearTotalDebit": 0.00,
"yearTotalCreditFor": 0.00,
"yearTotalCredit": 0.00,
"yearTotalFor": 0.00,
"yearTotal": 0.00,
"beginQuantity": "",
"endQuantity": "",
"creditQuantity": "",
"debitQuantity": "",
"cfCreditQuantity": "",
"cfDebitQuantity": "",
"yearTotalCreditQuantity": "",
"yearTotalDebitQuantity": "",
"yearTotalQuantity": "",
"type": "current",
"beginDebitBalance": 0.00,
"beginDebitBalanceFor": 0.00,
"endDebitBalance": 0.00,
"endDebitBalanceFor": 0.00,
"beginCreditBalance": 0.00,
"beginCreditBalanceFor": 0.00,
"endCreditBalance": 0.00,
"endCreditBalanceFor": 0.00,
"yearTotalBeginDebit": 0.00,
"yearTotalBeginCredit": 0.00,
"yearTotalBeginDebitFor": 0.00,
"yearTotalBeginCreditFor": 0.00,
"endCreditQuantity": "",
"endDebitQuantity": "",
"amount": 0.00,
"debitAmount": 0.00,
"creditAmount": 0.00,
"ad": true,
"used": true,
"debitAmountFor": 0.00,
"creditAmountFor": 0.00,
"amountFor": 0.00
},
{
"subjectId": "433708450380402697",
"queryCode": "01",
"subjectCode": "1122_01",
"auxiliary": false,
"auxiliaryCode": "",
"auxiliaryName": "",
"subjectName": "ABC公司",
"leaf": true,
"balanceDirection": "借",
"currencyAccounting": [],
"auxiliaryAccounting": [],
"treeId": "478967710580015136",
"parentTreeId": "433708450380402697",
"auxiliaryDetailId": "484108859984642760",
"beginBalance": 0.00,
"beginBalanceFor": 0.00,
"endBalance": 0.00,
"endBalanceFor": 0.00,
"debitFor": 0.00,
"debit": 31333.00,
"creditFor": 0.00,
"credit": 0.00,
"cfDebitFor": 0.00,
"cfDebit": 0.00,
"cfCreditFor": 0.00,
"cfCredit": 0.00,
"yearTotalDebitFor": 0.00,
"yearTotalDebit": 0.00,
"yearTotalCreditFor": 0.00,
"yearTotalCredit": 0.00,
"yearTotalFor": 0.00,
"yearTotal": 0.00,
"beginQuantity": "",
"endQuantity": "",
"creditQuantity": "",
"debitQuantity": "",
"cfCreditQuantity": "",
"cfDebitQuantity": "",
"yearTotalCreditQuantity": "",
"yearTotalDebitQuantity": "",
"yearTotalQuantity": "",
"type": "current",
"beginDebitBalance": 0.00,
"beginDebitBalanceFor": 0.00,
"endDebitBalance": 0.00,
"endDebitBalanceFor": 0.00,
"beginCreditBalance": 0.00,
"beginCreditBalanceFor": 0.00,
"endCreditBalance": 0.00,
"endCreditBalanceFor": 0.00,
"yearTotalBeginDebit": 0.00,
"yearTotalBeginCredit": 0.00,
"yearTotalBeginDebitFor": 0.00,
"yearTotalBeginCreditFor": 0.00,
"endCreditQuantity": "",
"endDebitQuantity": "",
"amount": 31333.00,
"debitAmount": 31333.00,
"creditAmount": -31333.00,
"ad": true,
"used": true,
"debitAmountFor": 0.00,
"creditAmountFor": 0.00,
"amountFor": 0.00
},
{
"subjectId": "433708450380402697",
"queryCode": "2",
"subjectCode": "1122_2",
"auxiliary": false,
"auxiliaryCode": "",
"auxiliaryName": "",
"subjectName": "大牛公司",
"leaf": true,
"balanceDirection": "借",
"currencyAccounting": [],
"auxiliaryAccounting": [],
"treeId": "478343772418147195",
"parentTreeId": "433708450380402697",
"auxiliaryDetailId": "492357709048381728",
"beginBalance": 0.00,
"beginBalanceFor": 0.00,
"endBalance": 0.00,
"endBalanceFor": 0.00,
"debitFor": 0.00,
"debit": 2323.00,
"creditFor": 0.00,
"credit": 0.00,
"cfDebitFor": 0.00,
"cfDebit": 0.00,
"cfCreditFor": 0.00,
"cfCredit": 0.00,
"yearTotalDebitFor": 0.00,
"yearTotalDebit": 0.00,
"yearTotalCreditFor": 0.00,
"yearTotalCredit": 0.00,
"yearTotalFor": 0.00,
"yearTotal": 0.00,
"beginQuantity": "",
"endQuantity": "",
"creditQuantity": "",
"debitQuantity": "",
"cfCreditQuantity": "",
"cfDebitQuantity": "",
"yearTotalCreditQuantity": "",
"yearTotalDebitQuantity": "",
"yearTotalQuantity": "",
"type": "current",
"beginDebitBalance": 0.00,
"beginDebitBalanceFor": 0.00,
"endDebitBalance": 0.00,
"endDebitBalanceFor": 0.00,
"beginCreditBalance": 0.00,
"beginCreditBalanceFor": 0.00,
"endCreditBalance": 0.00,
"endCreditBalanceFor": 0.00,
"yearTotalBeginDebit": 0.00,
"yearTotalBeginCredit": 0.00,
"yearTotalBeginDebitFor": 0.00,
"yearTotalBeginCreditFor": 0.00,
"endCreditQuantity": "",
"endDebitQuantity": "",
"amount": 2323.00,
"debitAmount": 2323.00,
"creditAmount": -2323.00,
"ad": true,
"used": true,
"debitAmountFor": 0.00,
"creditAmountFor": 0.00,
"amountFor": 0.00
}
]
}
请求参数
Body 参数application/json