企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

小程序对外收款 → [账单] 下载账单文件

AI-generated

Summary

Downloads the mini-program payment bill file using the temporary URL returned by a bill request, then stores the file as binary output for downstream workflow nodes.

Inputs

  • 账单下载地址 (required) — The download_url returned by the bill request. It is valid for about 30 seconds and must be an official HTTPS bill-download URL on api.mch.weixin.qq.com.
  • Authorization 头 — The bill request’s auth value, if provided. Enter either the complete Authorization: ... header or just its token value.
  • 输出二进制字段名 — Binary field name for the downloaded bill file; defaults to data.

Output shape

One n8n item containing the downloaded bill file in its binary data.

The download URL expires quickly. The node restricts access to the official WeChat Pay HTTPS bill-download path.

Examples

Example 1: Download a bill immediately after requesting it

Map the request response’s download_url into 账单下载地址 and its auth value, when present, into Authorization 头. Use the output binary field (default data) in a downstream file-processing node.

Links

Discussion