Skip to content

申请企业商户企业支付出资凭证

申请企业商户企业支付出资凭证。该接口允许服务商为指定出资子商户申请特定日期范围内的企业支付出资凭证,便于企业财务记账和报销管理。出资凭证包含企业支付交易的详细信息,可用于财务核对和税务申报。

请求参数类型描述
jsonobject声明请求的JSON数据结构
sp_mchidstring服务商商户号
sub_mchidstring出资子商户号
start_datestring起始日期
end_datestring结束日期
entity_namestring商户主体名称
out_operation_idstring商户操作流水号
php
$instance->v3->webizpay->bill->proof->postAsync([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/webizpay/bill/proof')->postAsync([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/webizpay/bill/proof']->postAsync([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->webizpay->bill->proof->post([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/webizpay/bill/proof')->post([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/webizpay/bill/proof']->post([
  'json' => [
    'sp_mchid'         => '12341234',
    'sub_mchid'        => '43214321',
    'start_date'       => '2025-04-23',
    'end_date'         => '2025-04-23',
    'entity_name'      => '某某科技有限公司',
    'out_operation_id' => 'operation12345678',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sp_mchidstring服务商商户号
out_operation_idstring商户操作流水号
operation_idstring微信支付操作流水号
sub_mchidstring出资子商户号
start_datestring起始日期
end_datestring结束日期
entity_namestring商户主体名称
proof_idstring出资凭证申请单单号
download_urlstring凭证下载地址
create_timestring凭证申请创建时间
updated_timestring凭证状态更新时间

参阅 官方文档

Published on the GitHub by TheNorthMemory