# Input header to user WeChat
Interface should be called on the server side, not in the front end (Weixin Mini Program, web pages, APP, etc.) directly called, specific reference interface call guide
Invoice biz get usertitle url
This interface is used to obtain a link to add to store the invoice header information. The return link must be sent to the user to confirm
# 1. How to call
# HTTPS calls
POST https://api.weixin.qq.com/card/invoice/biz/getusertitleurl?access_token=ACCESS_TOKEN
# Cloud Calls
- This interface does not support cloud calls
# Third party invocation
This interface supports Third Party Platform generation business call.
The permission set to which this interface belongs is: 26
When a service provider is authorized by one of the permissions set, it can call on behalf of the merchant by using authorizer_access_token , which can be viewed in the third-party call documentation.
# 2. Request parameters
# Query parametersQuery String parameters
Parameter Name | type | Required to fill in | Introductions |
---|---|---|---|
access_token | string | yes | Interface invocation credentials, using access_token , authorizer_access_token |
# Request BodyRequest Payload
Parameter Name | type | Required to fill in | Introductions |
---|---|---|---|
title | string | no | The user_fill is required for 0. |
phone | string | no | Contact details, must be numerical or "-" |
tax_no | string | no | The tax number must be 15 - 20 digits or English letters |
addr | string | no | address |
bank_type | string | no | Type of bank |
bank_no | string | no | Bank Number |
user_fill | number | no | 0: Enterprise settings for a headset, 1: Users fill out the headset themselves |
out_title_id | string | no | Ticketing code |
# 3. Return Parameters
# Response Payload
Parameter Name | type | Introductions |
---|---|---|
url | string | User confirmation link |
errcode | number | Error code |
errmsg | string | Error Description |
# 4. Note
There are no special considerations for this interface
# 5. Code examples
Example Requests
{
"tax_no": "1286715052",
"addr": "abc",
"title": "用户抬头",
"bank_type":"银行",
"phone":"123456"
}
Return an example
{
"url":"https://xxx",
"errcode": 0,
"errcode": "ok"
}
# 6. Error code
The following is a list of error codes for this interface, other error codes can refer to General error codes
Error code | Error Description | Solutions |
---|---|---|
40001 | invalid credential | Types of Unlawful Credentials |
# 7. Scope of application
Official Account | Service Account | Mobile App |
---|---|---|
✔ | ✔ | ✔ |
- ✔: The account can call this interface
- Other account types that are not expressly stated may not be called on this interface without special instructions;