企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

第三方应用收银台 → [收银台] 标记开票状态

AI-generated

Summary

Mark an order’s invoice status in the WeCom third-party application cashier. The selected status takes effect through a provider API request; WeCom says marking has no effect if the order is already marked as invoiced.

Inputs

  • Provider Access Token (required) — The application provider’s provider_access_token.
  • 订单号 (orderId) (required) — The order whose invoice status to mark.
  • 操作人userid (operUserid) (required) — The operator’s userid; the operator needs the Cashier–Invoice Management permission.
  • 开票状态 (invoiceStatus) (required) — Choose 1 for a paper invoice issued and mailed to the customer, 2 for an electronic invoice issued and emailed to the customer, or 3 to cancel invoicing. After cancellation, the enterprise can apply again. The default is 1.
  • 开票备注 (invoiceNote) (required) — A customer-visible note, such as an invoice mailing tracking number; limited to 200 bytes.

Output shape

One item per input item, containing the API response data.

The operation makes a provider API request to update the order’s invoice status. The source module’s body is omitted in the supplied signature-level view, so the exact response fields and error handling are not shown.

Links

Discussion