简要描述:
- 回款详情
请求URL:
| 字段名 | 是否必填 | 描述 |
|---|---|---|
| contract_id | true | 合同的id,替换掉url的:id |
| id | true | 合同回款计划:id |
请求方式:
- GET
请求头:
- 请参考接口必读
请求参数:
- 请参考接口必读
返回示例:
正确时返回:
{
"code": 0,
"data": {
"ref": null,
"relation_data": {},
"id": 1700010,
"title": "第1期回款",
"payment_type": "",
"payment_type_mapped": "",
"payment_type_i18n": "",
"overdue_status_i18n": "正常",
"delay_num": 0,
"receive_stage": 1,
"created_at": "2023-03-09 18:09",
"updated_at": "2023-03-09 18:09",
"amount": "10.0",
"note": "",
"receive_date": "2023-03-09",
"unreceived_amount": 990980.0,
"received_types": "",
"received_types_mapped": "",
"can_approve_received_payment": false,
"invoice_amount": "0.0",
"approve_status": "approved",
"approve_status_i18n": "已通过",
"contract_id": 1900040,
"contract_title": "傅斯年的合同",
"customer_id": 1205643,
"customer_name": "客户ldd零一",
"step": 0,
"step_can_approve": false,
"need_approve_step": 1,
"can_revert_applying": false,
"can_approve": true,
"contract": {
"id": 1900040,
"category": "",
"category_mapped": "",
"payment_type": "",
"payment_type_mapped": "",
"status": "1059273",
"status_mapped": "未开始",
"organization_id": 5003867,
"user_id": 5017926,
"user_name": "江慧琳211",
"title": "傅斯年的合同",
"customer_id": 1205643,
"customer_name": "客户ldd零一",
"opportunity_id": 0,
"opportunity_title": null,
"total_amount": "990990.0",
"start_at": "",
"end_at": "",
"customer_signer": "",
"our_signer": "",
"special_terms": "",
"received_payments_amount": "10.0",
"unreceived_amount": 990980.0,
"checking_payments_amount": "2.0",
"approve_status": "approved",
"approve_status_i18n": "已通过",
"approve_deny_type": 0,
"updated_at": "2023-03-09 18:12:51",
"created_at": "2023-03-09 18:01",
"creator": {
"id": 5017926,
"email": "",
"created_at": "2022-07-15 18:10",
"name": "江慧琳211",
"organization_id": 5003867,
"phone": "15997295821",
"role_id": 18054,
"workflow_state": "organization_staff",
"job": "",
"tel": "",
"avatar_url": "https://lxcrm-staging.weiwenjia.com/assets/male_uc.jpg",
"department_name": "天王盖地虎",
"third_userid": null,
"third_dept_id": null,
"uid": 35895787
},
"is_user_self": false,
"is_creator_self": false,
"sign_date": "2023-03-09",
"lock_status": false
},
"customer": {
"id": 1205643,
"name": "客户ldd零一",
"name_pinyin": "kehulddlingyi",
"user_id": 5016638,
"user_name": "shijinjie",
"contacts": [],
"company_name": "测试公司名称",
"address": {
"id": 1305218,
"country": {
"id": 4,
"name": "中国",
"pinyin": ""
},
"province": {
"id": 12,
"name": "安徽",
"pinyin": "anhui",
"country_id": 4
},
"city": {
"id": 105,
"name": "安庆市",
"pinyin": "anqing",
"province_id": 12
},
"district": {
"id": 4397,
"name": "宿松县",
"pinyin": null,
"city_id": 105
},
"tel": "13916637880",
"tel_hidden_result": "13916637880",
"phone": "17500000001",
"phone_hidden_result": "17500000001",
"email": "123424@qq.com",
"qq": "",
"fax": "",
"wechat": "",
"wangwang": "",
"zip": "",
"url": "",
"detail_address": "地址地址地址233455",
"lat": 0.0,
"lng": 0.0,
"distance": "未知",
"region_info": "中国 安徽 安庆市 宿松县",
"off_distance": -1,
"gaode_staticmap": null,
"full_address": "中国 安徽 安庆市 宿松县 地址地址地址233455"
},
"revisit_at": "2023-03-09 18:15",
"is_own": true,
"status": "1059201",
"status_mapped": "意向",
"category": "1059205",
"category_mapped": "A(已购买-成交客户)",
"qixinbao_id": "",
"created_at": "2022-03-30 14:08",
"updated_at": "2023-03-09 18:15",
"creator": {
"id": 5016640,
"email": "",
"created_at": "2022-03-29 22:18",
"name": "陆陆",
"organization_id": 5003867,
"phone": "13916637880",
"role_id": 18054,
"workflow_state": "organization_staff",
"job": "",
"tel": "",
"avatar_url": "https://lxcrm-staging.weiwenjia.com/assets/male_uc.jpg",
"department_name": "dfa312c786(临沂)",
"third_userid": null,
"third_dept_id": null,
"uid": 5068928
},
"is_user_self": false,
"is_creator_self": false,
"approve_status": "approved",
"approve_status_i18n": "已通过",
"third_userid": null,
"lock_status": false
},
"notify_users": [],
"overdue_status": "normal",
"process_can_reject": false,
"contract_approve_status": "approved",
"contract_approve_status_i18n": "已通过",
"process_can_resubmission": false,
"sn": "",
"lock_status": false,
"is_creator_self": false,
"received_payment_plan": {
"id": 1900031,
"title": "第1期回款计划",
"period_name": "第1期",
"receive_stage": 1,
"payment_type": "",
"payment_type_i18n": "",
"created_at": "2023-03-09 18:09",
"amount": "10.0",
"note": "",
"receive_date": "2023-03-09",
"received_types": "0",
"paid_up": true,
"received_amount": "10.0",
"received_types_mapped": "",
"invoice_amount": "0.0",
"status": "done",
"status_i18n": "完成",
"is_deletable": false,
"contract_id": 1900040,
"contract_title": "傅斯年的合同",
"customer_id": 1205643,
"customer_name": "客户ldd零一",
"delay_num": 0,
"unreceived_amount": "0.0",
"lock_status": false
},
"user": {
"id": 5017926,
"email": "",
"created_at": "2022-07-15 18:10",
"name": "江慧琳211",
"organization_id": 5003867,
"phone": "15997295821",
"role_id": 18054,
"workflow_state": "organization_staff",
"job": "",
"tel": "",
"avatar_url": "https://lxcrm-staging.weiwenjia.com/assets/male_uc.jpg",
"department_name": "天王盖地虎",
"third_userid": null,
"third_dept_id": null,
"uid": 35895787
},
"receive_user": {
"id": 5017926,
"email": "",
"created_at": "2022-07-15 18:10",
"name": "江慧琳211",
"organization_id": 5003867,
"phone": "15997295821",
"role_id": 18054,
"workflow_state": "organization_staff",
"job": "",
"tel": "",
"avatar_url": "https://lxcrm-staging.weiwenjia.com/assets/male_uc.jpg",
"department_name": "天王盖地虎",
"third_userid": null,
"third_dept_id": null,
"uid": 35895787
},
"usable_workflow": false
}
}
错误时返回:
{
"code": 100000,
"message": "device参数错误",
"error": "invalid_app_error"
}
返回参数说明:
暂无
备注:
- 更多返回错误代码请看错误码表描述
文档更新时间: 2026-07-28 15:33 作者:陈胜海