合同明细类型
说明
请求参数
参数说明
字段名称 | 字段类型 | 是否必填 | 字段说明 |
---|---|---|---|
code | String(100) | 是 | 费用编码 |
expenseTypeBizCode | String(100) | 是 | 费用类型编码 |
expenseTypeName | String(100) | 是 | 费用类型名称 |
consumeAmount | AmountInput | 是 | 消费金额 |
comments | text | 否 | 备注 |
attachments | List<AttachmentInput> | 否 | 附件 |
customObject | CustomObject | 否 | 自定义字段 |
allocationList | List<AllocationInput> | 否 | 分摊信息 |
amortizationList | List<AmortizationInput> | 否 | 摊销信息 |
noTaxSuite | NoTaxSuiteInput | 否 | 不含税组件信息 |
invoiceType | ContractInvoiceTypeInput | 否 | 合同明细发票类型 |
labourTax | LabourTaxInput | 否 | 劳务税组件信息 |
payRecord | ContractDetailPayRecordInput | 否 | 明细支付记录 |
参数样例
[
{
"code": "CODE001",
"expenseTypeBizCode": "EXPENSE001",
"expenseTypeName": "打车",
"consumeAmount": {
"currency": "CNY",
"amount": 100
},
"comments": "备注信息",
"customObject": {
"CF1201": {
"type": "AmountInput",
"value": {
"currency": "USD",
"amount": 800
}
},
"allocationList": [
{
"code": "75",
"allocatedAmount": {
"currency": "CNY",
"amount": 100,
"amountStr": "100.00"
},
"allocatedRatio": 100,
"legalEntityBizCode": null,
"legalEntityName": null,
"coverDepartmentBizCode": "xx-22987",
"coverDepartmentName": "销售",
"coverDepartmentDingtalkId": "",
"coverUserName": null,
"coverEmpoyeeNo": null,
"approvedBaseAmount": {
"currency": "CNY",
"amount": 100,
"amountStr": "100"
},
"coverDimensionExt": [
""
],
"customObject": {
},
"accrualReconcile": null,
"consumeTaxDeductionAmount": null,
"consumeNoTaxAmount": null
}
],
"amortizationList": [
{
"amortizationAmount": {
"currency": "CNY",
"amount": 20,
"amountStr": "20.00"
},
"amortizationRatio": 20,
"amortizationDate": "2024-05"
},
{
"amortizationAmount": {
"currency": "CNY",
"amount": 80,
"amountStr": "80.00"
},
"amortizationRatio": 80,
"amortizationDate": "2024-06"
}
],
"noTaxSuite": {
"taxAmount": {
"amount": 750,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥750.00"
},
"withoutTaxAmount": {
"amount": 250,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥250.00"
},
"taxRate": 0.01
},
"invoiceType":{
"code": "VAT_SPECIAL_INVOICE",
"name":"增值税专用发票"
},
"labourTax": {
"amountType": "pre",
"amount": {
"amount": 1000,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥1,000.00"
},
"autoCalculate": true,
"preTaxAmount": {
"amount": 1000,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥1,000.00"
},
"withholdingTaxAmount": {
"amount": 40,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥40.00"
},
"afterTaxAmount": {
"amount": 960,
"currency": "CNY",
"customExchangeRate": 1,
"amountStr": "¥960.00"
}
}
}
}
]
修改记录
2024-05-10 新增合同明细类型文档
2024-07-22 新增合同明细不含税组件
2024-07-22 新增合同明细发票类型
2024-08-05 新增合同明细劳务税组件