api-business-commissioner/order-apply-cross-mod-and-bookkeep

https://crm.muniubox.com/api-business-commissioner/order-apply-cross-mod-and-bookkeep

跨区域变更+代账成单申请 作者 zhangzhi


'/**
     * 跨区域变更+代账成单申请
     * @param string $token 访问请求标识
     * @param string $business_chance_rec 业务机会ID
     * @param string $contract_name 合同名称
     * @param string $sign_date 签约日期
     * @param string $contract_total 合同金额
     * @param string $payment_method 付款方式
     * @param string $payment_explain 付款说明
     * @param string $order_remark 订单备注
     * @param array $cost_list 费用明细表
     * [
     *      [business_name => 业务名称 , business_amount => 金额 , business_details => 备注说明] , ...
     * ]
     * @param array $flow_list 审批流程列表
     * [
     *      [user_id=>用户ID],...
     * ]
     * @param string $attachment 合同附件 URL1|文件名1,URL2|文件名2 或 URL1,URL2,URL3
     * @param array $discount 优惠方案(可选)
     *  [
     *      discount_name => 优惠方案名称,
     *      discount_type => 优惠类型(discount_type_1:金额优惠;discount_type_2:代账时长),
     *      discount_details => 优惠详情,
     *      discount_reason => 申请原因
     *  ]
     * @param array $receivables 收款计划
     *  [
     *      plan_name => 计划名称,
     *      plan_reason => 申请计划原因,
 *          contract_total_amount => 合同总价,
     *      receivables_plan_list => [
     *          [ date => 收款日期, amount => 收款金额, explain => 收款说明],
     *          ...
     *      ]
     *  ]
     * @param object $business_info 详细业务情况
     * [
     *      company_name=>公司名称
     *      company_type=>公司注册类型(数据字典 mnhz_bcode_register_type)
     *      is_industrial_change=>工商变更(0:否,1:是)
     *      is_carved_chapter => 刻章(0:否,1:是),
     *      is_property_stamp => 物业盖章(0:否,1:是),
     *      is_nuclear_name => 特殊核名(0:否,1:是),
     *      is_urgent => 加急(0:否,1:是),
     *      industrial_exception => 0-无异常 1-年报未作异常 2-地址异常,
     *      exception_handling =>    0-无异常不处理 1-收费处理异常 2-客户处理异常
     *      change_address => 变更注册地址 0-否,1-是,
     *      new_address_type => 地址类型 0-客户自有地址,1-使用备址,2-未使用备址,
     *      new_address => 新地址,
     *      change_capital => 变更资金 0-否,1-是,
     *      old_capital => 原注册资金,
     *      new_capital => 新注册资金,
     *      capital_type => 0-非减资 1-减资已登报 2-减资未登报,
     *      change_stock_right => 变更股东股权 0-否,1-是,
     *      change_representative => 变更法定代表人 0-否,1-是,
     *      old_representative_name => 旧法人,
     *      new_representative_name => 新法人,
     *      new_representative_telphone => 新法人电话,
     *      change_finance => 变更财务负责人 0-否,1-是,
     *      old_finance_name => 旧财务负责人,
     *      new_finance_name => 新财务负责人,
     *      new_finance_telphone => 新财务负责人电话,
     *      change_manage => 变更经理 0-否,1-是,
     *      old_manage_name => 旧经理,
     *      new_manage_name => 新经理,
     *      new_manage_telphone => 新经理电话,
     *      change_director => 变更董事 0-否,1-是,
     *      old_director_form => 0-旧执行董事名称 1-旧董事长名称,
     *      old_director_name => 旧姓名,
     *      old_director_list => 旧董事会,
     *      new_director_form => 0-新执行董事名称 1-新董事长名称,
     *      new_director_name => 新姓名,
     *      new_director_list => 新董事会,
     *      change_supervisor => 变更监事 0-否,1-是,
     *      old_supervisor_form => 0-旧执行监事事名称 1-旧监事事长名称,
     *      old_supervisor_name => 旧姓名,
     *      old_supervisor_list => 旧监事会,
     *      new_supervisor_form => 0-新执行监事名称 1-新监事长名称,
     *      new_supervisor_name => 新姓名,
     *      new_supervisor_list => 新监事会,
     *      change_name => 变更企业名称 0-否,1-是,
     *      new_company_name => 新企业全称,
     *      new_company_opname => 新企业备选全称,
     *      change_scope => 变更经营范围 0-否,1-是,
     *      scope_modify_type => 0-变更为,1-增加,2-减少,
     *      scope_modify_text => 经营范围,
     *      income_tax_pwd => 个税密码(****注意****是加在变更信息,而不是代账信息),
     *      remark => 变更备注,
     *      shareholdings => 股权分配比例
     *      [
     *          [
     *              stock_type=> old || new,
     *              stock_name => 股东姓名,
     *              stock_ratio => 股权比例(0-100)可保留两位小数
     *              stock_telphone => 股东电话,
     *          ],
     *          ...
     *      ],
     *      bookkeep => 代账信息数组(可选)
     *      [
     *          company_name => 公司名称
     *          company_type => 公司注册类型(数据字典 mnhz_bcode_register_type)
     *          company_located => 公司地址
     *          agent_accounting_type => 代账类型
     *          agent_small_type => 是否小微企业(1: 是 0:否)
     *          agent_accounting_duration => 代账时长(月)
     *          agent_accounting_crt_time => 代账开始时间
     *          agent_accounting_end_time => 代账结束时间
     *          tax_situation_1 => 税务状况 0=原代账 1=新代账,
     *          tax_situation_2 => 税务状况 0=不清楚 1=国地税已注册 2=国地税未注册,
     *          tax_situation_3 => 税务状况 0=不清楚 1=国税正常 2=国税异常,
     *          tax_situation_4 => 税务状况 0=不清楚 1=地税正常 2=地税异常,
     *          fina_name => 财务姓名
     *          fina_telphone => 财务电话
     *          national_tax_bureau => 国税局
     *          national_tax_office => 国税所
     *          national_officer => 国税专管员
     *          national_officer_telphone => 国税专管员电话
     *          national_tax_code => 国税报税密码
     *          local_tax_bureau => 地税局
     *          local_tax_office => 地税所
     *          local_officer => 地税专管员
     *          local_officer_telphone => 地税专管员电话
     *          local_tax_code => 地税报税密码
     *          income_tax_pwd => 个人所得税密码
     *          remark => 备注
     *          legal_name => 法人姓名
     *          legal_phone => 法人电话
     *      ]
     *
     * ]
     * @param array $invoice 发票信息
     *  [
     *   invoice_title => 发票抬头
     *   invoice_tax_number => 发票税号
     *   invoice_content => 发票内容 1技术服务费/2咨询服务费
     *   invoice_type => 1专票/2普票
     *  ]
     * @param array $real_business 实际办理业务信息
     * [
     * real_payer_name  => 实际转款人
     * real_paid_amount  => 实际转款金额
     * real_subject_name =>  实际办理业务的公司名
     * ]
     * @param string $signing 是否电子签约 0否1是
     * @param string $contract_rec 合同ID
     * @return array|string
     *@throws \\Exception
     * @author zhangzhi
     */'

请求参数列表:

-
-
-
-
-
-
返回数据格式: [
    
'status' => '状态码(200:成功,其他:失败)'
    'data' 
=> '数据内容'
    'code' 
=> '提示信息代码'
    'name' 
=> '提示信息标题'
    'message' 
=> '提示信息内容'
]

返回数据: