申请明细类型

说明

请求参数

参数说明

字段名称 字段类型 是否必填 字段说明
code String(100) 费用编码
expenseTypeBizCode String(100) 费用类型编码
expenseTypeName String(100) 费用类型名称
consumeAmount AmountInput 消费金额
comments text 备注
consumeTime DateTimeInput 消费时间
consumeLocation CityInput 消费城市(字段类型具体看表单配置)
attachments List<AttachmentInput> 附件
travelPartnerInfo travelPartnerInfo 参与人
customObject CustomObject 自定义字段
applyRules ApplyRules 费用适用的标准规则
allocationList List<AllocationInput> 分摊信息,每个费用至少有一条分摊
noTaxSuite NoTaxSuiteInput 不含税组件信息

参数样例

[{
  "code": "CODE001",
  "expenseTypeBizCode": "EXPENSE001",
  "expenseTypeName": "打车",
  "consumeAmount": {
    "currency": "CNY",
    "amount": 30
  },
  "comments": "备注信息",
  "consumeTime": {
    "startTime": 1546272000000,  
    "endTime": 1548950400000  
  },
  "travelPartnerInfo":{
    "travelRouteCode":"TRC1906171XPM26M8",
    "expenseCodeList": ["CODE01"],
    "applicationExpenseCodeList": ["CODE01"],
    "travelCity": {
      "departure":"330100",
      "departureFullCode":"domestic-ZH32-ZH32_1",
      "departureText":"杭州市",
      "destination":"110000",
      "destinationFullCode":"domestic-ZH1-ZH1_0",
      "destinationText":"北京市"
    },
    "travelTime": {
      "startTime":1546272000000,
      "endTime":1548950400000
    },
    "tripWay": "ROUND_TRIP",
    "travelDays": 2.0,
    "travelPartnerInfo": {
      "internalTravelPartner": [{
        "name": "张三",
        "employeeId": "001",
        "departmentBizCode": "CODE01",
        "departmentName": "",
        "classPosition": "",
        "gender": "",
        "enName": {
          "firstName": "JIM",
          "middleName": "D",
          "lastName": "SMITH"
        },
        "peopleNum": 10,
        "idInfo": {
          "idType": "ID_CARD",
          "idNumber": "421XXXXXXX"
        },
        "customObject": {  }
      }],
      "externalTravelPartner": [{
        "name": "张三",
        "gender": "",
        "enName": {
          "firstName": "JIM",
          "middleName": "D",
          "lastName": "SMITH"
        },
        "peopleNum": 10,
        "idInfo": {
          "idType": "ID_CARD",
          "idNumber": "421XXXXXXX"
        },
        "customObject": {  }
      }]
    }
  },
  "consumeLocation": {
    "departure": "domestic-ZH32-ZH32_1",  
    "departureText": "杭州市",  
    "destination": "domestic-ZH1-ZH1_0",  
    "destinationText": "北京市"
  },
  "customObject": {
    "CF1201": {
      "type": "AmountInput",
      "value": {
        "currency": "USD", 
        "amount": 800 
      }
    },
    "cityId": {
      "type": "CityInput",  
      "value": {
        "code": "domestic-ZH32-ZH32_1", 
        "text": "杭州市" 
      }
    }
  },
 "noTaxSuite": {
                    "taxAmount": {
                        "amount": 750,
                        "currency": "CNY",
                        "customExchangeRate": 1,
                        "amountStr": "¥750.00"
                    },
                    "withoutTaxAmount": {
                        "amount": 250,
                        "currency": "CNY",
                        "customExchangeRate": 1,
                        "amountStr": "¥250.00"
                    },
                    "taxRate": 3
                }
}]

修改记录

2023-02-08  新增申请明细类型文档
2023-11-01  新增费控类型名称 expenseTypeName 
2024-07-12  新增不含税组件
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 ""